forked from OSchip/llvm-project
parent
2a8e3777b4
commit
e8ecf9a0db
|
@ -23,6 +23,7 @@ private:
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
CodeGenAction(unsigned _Act);
|
CodeGenAction(unsigned _Act);
|
||||||
|
~CodeGenAction();
|
||||||
|
|
||||||
virtual ASTConsumer *CreateASTConsumer(CompilerInstance &CI,
|
virtual ASTConsumer *CreateASTConsumer(CompilerInstance &CI,
|
||||||
llvm::StringRef InFile);
|
llvm::StringRef InFile);
|
||||||
|
|
|
@ -435,6 +435,8 @@ void BackendConsumer::EmitAssembly() {
|
||||||
|
|
||||||
CodeGenAction::CodeGenAction(unsigned _Act) : Act(_Act) {}
|
CodeGenAction::CodeGenAction(unsigned _Act) : Act(_Act) {}
|
||||||
|
|
||||||
|
CodeGenAction::~CodeGenAction() {}
|
||||||
|
|
||||||
void CodeGenAction::EndSourceFileAction() {
|
void CodeGenAction::EndSourceFileAction() {
|
||||||
// If the consumer creation failed, do nothing.
|
// If the consumer creation failed, do nothing.
|
||||||
if (!getCompilerInstance().hasASTConsumer())
|
if (!getCompilerInstance().hasASTConsumer())
|
||||||
|
|
Loading…
Reference in New Issue