aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/clang/Frontend/CodeGenAction.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/clang/Frontend/CodeGenAction.h b/include/clang/Frontend/CodeGenAction.h
index 642e02a2f7..a1e3c42075 100644
--- a/include/clang/Frontend/CodeGenAction.h
+++ b/include/clang/Frontend/CodeGenAction.h
@@ -23,7 +23,6 @@ private:
protected:
CodeGenAction(unsigned _Act);
- ~CodeGenAction();
virtual ASTConsumer *CreateASTConsumer(CompilerInstance &CI,
llvm::StringRef InFile);
@@ -31,6 +30,8 @@ protected:
virtual void EndSourceFileAction();
public:
+ ~CodeGenAction();
+
/// takeModule - Take the generated LLVM module, for use after the action has
/// been run. The result may be null on failure.
llvm::Module *takeModule();