[cfe-commits] r97166 - in /cfe/trunk: include/clang/Frontend/CodeGenAction.h lib/Frontend/CodeGenAction.cpp
Daniel Dunbar
daniel at zuster.org
Thu Feb 25 12:37:44 PST 2010
Author: ddunbar
Date: Thu Feb 25 14:37:44 2010
New Revision: 97166
URL: http://llvm.org/viewvc/llvm-project?rev=97166&view=rev
Log:
Move ~CodeGenAction out-of-line.
Modified:
cfe/trunk/include/clang/Frontend/CodeGenAction.h
cfe/trunk/lib/Frontend/CodeGenAction.cpp
Modified: cfe/trunk/include/clang/Frontend/CodeGenAction.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Frontend/CodeGenAction.h?rev=97166&r1=97165&r2=97166&view=diff
==============================================================================
--- cfe/trunk/include/clang/Frontend/CodeGenAction.h (original)
+++ cfe/trunk/include/clang/Frontend/CodeGenAction.h Thu Feb 25 14:37:44 2010
@@ -23,6 +23,7 @@
protected:
CodeGenAction(unsigned _Act);
+ ~CodeGenAction();
virtual ASTConsumer *CreateASTConsumer(CompilerInstance &CI,
llvm::StringRef InFile);
Modified: cfe/trunk/lib/Frontend/CodeGenAction.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/CodeGenAction.cpp?rev=97166&r1=97165&r2=97166&view=diff
==============================================================================
--- cfe/trunk/lib/Frontend/CodeGenAction.cpp (original)
+++ cfe/trunk/lib/Frontend/CodeGenAction.cpp Thu Feb 25 14:37:44 2010
@@ -435,6 +435,8 @@
CodeGenAction::CodeGenAction(unsigned _Act) : Act(_Act) {}
+CodeGenAction::~CodeGenAction() {}
+
void CodeGenAction::EndSourceFileAction() {
// If the consumer creation failed, do nothing.
if (!getCompilerInstance().hasASTConsumer())
More information about the cfe-commits
mailing list