]> granicus.if.org Git - clang/commitdiff
Move ~CodeGenAction out-of-line.
authorDaniel Dunbar <daniel@zuster.org>
Thu, 25 Feb 2010 20:37:44 +0000 (20:37 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Thu, 25 Feb 2010 20:37:44 +0000 (20:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97166 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Frontend/CodeGenAction.h
lib/Frontend/CodeGenAction.cpp

index 07e02e5c6e7831c2ad09ce641e0551b6b3e50457..642e02a2f7066ab4ba65c7abbc81fe520dde7fbe 100644 (file)
@@ -23,6 +23,7 @@ private:
 
 protected:
   CodeGenAction(unsigned _Act);
+  ~CodeGenAction();
 
   virtual ASTConsumer *CreateASTConsumer(CompilerInstance &CI,
                                          llvm::StringRef InFile);
index ff24854339beb481221490acc67f9568f583bec0..eb2990405d53988a81a489c5021421025e52e830 100644 (file)
@@ -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())