1 | //===- FrontendPluginRegistry.h ---------------------------------*- C++ -*-===// |
---|---|
2 | // |
3 | // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
4 | // See https://llvm.org/LICENSE.txt for license information. |
5 | // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
6 | // |
7 | //===----------------------------------------------------------------------===// |
8 | // |
9 | // Pluggable Frontend Action Interface |
10 | // |
11 | //===----------------------------------------------------------------------===// |
12 | |
13 | #ifndef LLVM_CLANG_FRONTEND_FRONTENDPLUGINREGISTRY_H |
14 | #define LLVM_CLANG_FRONTEND_FRONTENDPLUGINREGISTRY_H |
15 | |
16 | #include "clang/Frontend/FrontendAction.h" |
17 | #include "llvm/Support/Registry.h" |
18 | |
19 | namespace clang { |
20 | |
21 | /// The frontend plugin registry. |
22 | using FrontendPluginRegistry = llvm::Registry<PluginASTAction>; |
23 | |
24 | } // namespace clang |
25 | |
26 | #endif // LLVM_CLANG_FRONTEND_FRONTENDPLUGINREGISTRY_H |
27 |