class RewriteMacrosAction
Declaration
class RewriteMacrosAction : public PreprocessorFrontendAction { /* full declaration omitted */ };
Description
Abstract base class to use for preprocessor-based frontend actions.
Declared at: clang/include/clang/Rewrite/Frontend/FrontendActions.h:65
Inherits from: PreprocessorFrontendAction
Member Variables
Method Overview
- protected void ExecuteAction()
Inherited from PreprocessorFrontendAction:
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
ΒΆvoid ExecuteAction()
void ExecuteAction()
Description
Callback to run the program action, using the initialized compiler instance. This is guaranteed to only be called between BeginSourceFileAction() and EndSourceFileAction().
Declared at: clang/include/clang/Rewrite/Frontend/FrontendActions.h:67