10 #ifndef LLVM_CLANG_REWRITE_FRONTEND_FRONTENDACTIONS_H 11 #define LLVM_CLANG_REWRITE_FRONTEND_FRONTENDACTIONS_H 14 #include "llvm/Support/raw_ostream.h" 27 StringRef InFile)
override;
36 StringRef InFile)
override;
63 StringRef InFile)
override;
77 std::shared_ptr<raw_ostream> OutputStream;
std::unique_ptr< FixItOptions > FixItOpts
std::unique_ptr< ASTConsumer > CreateASTConsumer(CompilerInstance &CI, StringRef InFile) override
Create the AST consumer object for this action, if supported.
void ExecuteAction() override
Implement the ExecuteAction interface by running Sema on the already-initialized AST consumer...
FixItRecompile(std::unique_ptr< FrontendAction > WrappedAction)
bool hasASTFileSupport() const override
Does this action support use with AST files?
std::unique_ptr< FixItRewriter > Rewriter
virtual bool BeginInvocation(CompilerInstance &CI)
Callback before starting processing a single input, giving the opportunity to modify the CompilerInvo...
virtual void EndSourceFileAction()
Callback at the end of processing a single input.
CompilerInstance - Helper class for managing a single instance of the Clang compiler.
Emits changes to temporary files and uses them for the original frontend action.
Abstract base class to use for AST consumer-based frontend actions.
Abstract base class to use for preprocessor-based frontend actions.
Dataflow Directional Tag Classes.
A frontend action which simply wraps some other runtime-specified frontend action.
virtual bool BeginSourceFileAction(CompilerInstance &CI)
Callback at the start of processing a single input.
Defines the clang::FrontendAction interface and various convenience abstract classes (clang::ASTFront...