summaryrefslogtreecommitdiff
path: root/clang-r344140b/include/clang/Frontend/FrontendPluginRegistry.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang-r344140b/include/clang/Frontend/FrontendPluginRegistry.h')
-rw-r--r--clang-r344140b/include/clang/Frontend/FrontendPluginRegistry.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/clang-r344140b/include/clang/Frontend/FrontendPluginRegistry.h b/clang-r344140b/include/clang/Frontend/FrontendPluginRegistry.h
new file mode 100644
index 00000000..9a85e89d
--- /dev/null
+++ b/clang-r344140b/include/clang/Frontend/FrontendPluginRegistry.h
@@ -0,0 +1,27 @@
+//===- FrontendPluginRegistry.h ---------------------------------*- C++ -*-===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+//
+// Pluggable Frontend Action Interface
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_CLANG_FRONTEND_FRONTENDPLUGINREGISTRY_H
+#define LLVM_CLANG_FRONTEND_FRONTENDPLUGINREGISTRY_H
+
+#include "clang/Frontend/FrontendAction.h"
+#include "llvm/Support/Registry.h"
+
+namespace clang {
+
+/// The frontend plugin registry.
+using FrontendPluginRegistry = llvm::Registry<PluginASTAction>;
+
+} // namespace clang
+
+#endif // LLVM_CLANG_FRONTEND_FRONTENDPLUGINREGISTRY_H