class ASTFrontendAction
Declaration
class ASTFrontendAction : public FrontendAction { /* full declaration omitted */ };
Description
Abstract base class to use for AST consumer-based frontend actions.
Declared at: clang/include/clang/Frontend/FrontendAction.h:243
Inherits from: FrontendAction
Member Variables
Method Overview
- public ASTFrontendAction()
- protected void ExecuteAction()
- public bool usesPreprocessorOnly() const
Inherited from FrontendAction:
- protected BeginInvocation
- public BeginSourceFile
- protected BeginSourceFileAction
- protected CreateASTConsumer
- public EndSourceFile
- protected EndSourceFileAction
- public Execute
- protected ExecuteAction
- public PrepareToExecute
- protected PrepareToExecuteAction
- public getCompilerInstance
- public getCurrentASTUnit
- public getCurrentFile
- public getCurrentFileKind
- public getCurrentFileOrBufferName
- public getCurrentInput
- public getCurrentModule
- public getTranslationUnitKind
- public hasASTFileSupport
- public hasCodeCompletionSupport
- public hasIRSupport
- public hasPCHSupport
- public isCurrentFileAST
- public isModelParsingAction
- public setCompilerInstance
- public setCurrentInput
- protected shouldEraseOutputFiles
- public takeCurrentASTUnit
- public usesPreprocessorOnly
Methods
¶ASTFrontendAction()
ASTFrontendAction()
Declared at: clang/include/clang/Frontend/FrontendAction.h:253
¶void ExecuteAction()
void ExecuteAction()
Description
Implement the ExecuteAction interface by running Sema on the already-initialized AST consumer. This will also take care of instantiating a code completion consumer if the user requested it and the action supports it.
Declared at: clang/include/clang/Frontend/FrontendAction.h:250
¶bool usesPreprocessorOnly() const
bool usesPreprocessorOnly() const
Description
Does this action only use the preprocessor? If so no AST context will be created and this action will be invalid with AST file inputs.
Declared at: clang/include/clang/Frontend/FrontendAction.h:254