[FrontendTool] [NFC] Reduce scope of FrontendObserver

These APIs weren't used.
This commit is contained in:
Harlan Haskins
2018-11-29 18:37:25 -08:00
parent c3c6fdc77f
commit 7b43e1d04d
3 changed files with 1 additions and 41 deletions

View File

@@ -42,25 +42,6 @@ public:
/// The frontend has configured the compiler instance.
virtual void configuredCompiler(CompilerInstance &instance);
/// The frontend has performed semantic analysis.
virtual void performedSemanticAnalysis(CompilerInstance &instance);
/// The frontend has performed basic SIL generation.
/// SIL diagnostic passes have not yet been applied.
virtual void performedSILGeneration(SILModule &module);
/// The frontend has executed the SIL diagnostic passes.
virtual void performedSILDiagnostics(SILModule &module);
/// The frontend has executed the SIL optimization pipeline.
virtual void performedSILOptimization(SILModule &module);
/// The frontend is about to run the program as an immediate script.
virtual void aboutToRunImmediately(CompilerInstance &instance);
// TODO: maybe enhance this interface to hear about IRGen and LLVM
// progress.
};
/// Perform all the operations of the frontend, exactly as if invoked