diff options
author | Nico Weber <nicolasweber@gmx.de> | 2011-01-25 20:34:14 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2011-01-25 20:34:14 +0000 |
commit | 5aa74affa5d61d04c4b034b3722ca41aec0cba6e (patch) | |
tree | a7d535bc8a361a750f92e4373b84bfe47a72df26 /include/clang/CodeGen/CodeGenAction.h | |
parent | c60e13aeff96515d27638129154b1308c15ded3d (diff) |
Add -add-plugin flag, which runs plugins in addition to codegen.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124227 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/CodeGen/CodeGenAction.h')
-rw-r--r-- | include/clang/CodeGen/CodeGenAction.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/clang/CodeGen/CodeGenAction.h b/include/clang/CodeGen/CodeGenAction.h index cecfcda461..b55effc6be 100644 --- a/include/clang/CodeGen/CodeGenAction.h +++ b/include/clang/CodeGen/CodeGenAction.h @@ -18,6 +18,7 @@ namespace llvm { } namespace clang { +class BackendConsumer; class CodeGenAction : public ASTFrontendAction { private: @@ -42,6 +43,8 @@ public: /// takeModule - Take the generated LLVM module, for use after the action has /// been run. The result may be null on failure. llvm::Module *takeModule(); + + BackendConsumer *BEConsumer; }; class EmitAssemblyAction : public CodeGenAction { |