10 #ifndef LLVM_CLANG_REWRITE_FRONTEND_FRONTENDACTIONS_H
11 #define LLVM_CLANG_REWRITE_FRONTEND_FRONTENDACTIONS_H
26 StringRef InFile)
override;
35 StringRef InFile)
override;
38 StringRef Filename)
override;
63 StringRef InFile)
override;
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.
Abstract base class for actions which can be performed by the frontend.
std::unique_ptr< ASTConsumer > CreateASTConsumer(CompilerInstance &CI, StringRef InFile) override
Create the AST consumer object for this action, if supported.
void ExecuteAction() override
Callback to run the program action, using the initialized compiler instance.
bool hasASTFileSupport() const override
Does this action support use with AST files?
std::unique_ptr< FixItRewriter > Rewriter
void ExecuteAction() override
Callback to run the program action, using the initialized compiler instance.
FixItRecompile(FrontendAction *WrappedAction)
void EndSourceFileAction() override
Callback at the end of processing a single input.
bool BeginInvocation(CompilerInstance &CI) override
Callback before starting processing a single input, giving the opportunity to modify the CompilerInvo...
Emits changes to temporary files and uses them for the original frontend action.
Abstract base class to use for AST consumer-based frontend actions.
void ExecuteAction() override
Callback to run the program action, using the initialized compiler instance.
Abstract base class to use for preprocessor-based frontend actions.
bool BeginSourceFileAction(CompilerInstance &CI, StringRef Filename) override
Callback at the start of processing a single input.
std::unique_ptr< ASTConsumer > CreateASTConsumer(CompilerInstance &CI, StringRef InFile) override
Create the AST consumer object for this action, if supported.
A frontend action which simply wraps some other runtime-specified frontend action.
Defines the clang::FrontendAction interface and various convenience abstract classes (clang::ASTFront...