forked from OSchip/llvm-project
parent
2a8e3777b4
commit
e8ecf9a0db
|
@ -23,6 +23,7 @@ private:
|
|||
|
||||
protected:
|
||||
CodeGenAction(unsigned _Act);
|
||||
~CodeGenAction();
|
||||
|
||||
virtual ASTConsumer *CreateASTConsumer(CompilerInstance &CI,
|
||||
llvm::StringRef InFile);
|
||||
|
|
|
@ -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())
|
||||
|
|
Loading…
Reference in New Issue