From: Daniel Dunbar Date: Thu, 25 Feb 2010 20:37:44 +0000 (+0000) Subject: Move ~CodeGenAction out-of-line. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9ad1c0205ec478d64b3ed6d3dde5efaa9c9932c5;p=clang Move ~CodeGenAction out-of-line. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97166 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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())