From: Chandler Carruth Date: Fri, 26 Feb 2010 08:51:12 +0000 (+0000) Subject: Make the destructor public. ddunbar, lemme know if you'd prefer a different X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f84df9f076038ad16e1ee412162c328cd091bc59;p=clang Make the destructor public. ddunbar, lemme know if you'd prefer a different fix, just trying to get the build bots happy again. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97223 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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();