aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-02-25 20:37:44 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-02-25 20:37:44 +0000
commit9ad1c0205ec478d64b3ed6d3dde5efaa9c9932c5 (patch)
tree82085e7a6cb8123edbe41ad7b4d6b7563295d56a
parent102acd5369bbb17c0d6ab868af376671acff7a93 (diff)
Move ~CodeGenAction out-of-line.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97166 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/clang/Frontend/CodeGenAction.h1
-rw-r--r--lib/Frontend/CodeGenAction.cpp2
2 files changed, 3 insertions, 0 deletions
diff --git a/include/clang/Frontend/CodeGenAction.h b/include/clang/Frontend/CodeGenAction.h
index 07e02e5c6e..642e02a2f7 100644
--- a/include/clang/Frontend/CodeGenAction.h
+++ b/include/clang/Frontend/CodeGenAction.h
@@ -23,6 +23,7 @@ private:
protected:
CodeGenAction(unsigned _Act);
+ ~CodeGenAction();
virtual ASTConsumer *CreateASTConsumer(CompilerInstance &CI,
llvm::StringRef InFile);
diff --git a/lib/Frontend/CodeGenAction.cpp b/lib/Frontend/CodeGenAction.cpp
index ff24854339..eb2990405d 100644
--- a/lib/Frontend/CodeGenAction.cpp
+++ b/lib/Frontend/CodeGenAction.cpp
@@ -435,6 +435,8 @@ void BackendConsumer::EmitAssembly() {
CodeGenAction::CodeGenAction(unsigned _Act) : Act(_Act) {}
+CodeGenAction::~CodeGenAction() {}
+
void CodeGenAction::EndSourceFileAction() {
// If the consumer creation failed, do nothing.
if (!getCompilerInstance().hasASTConsumer())