class PrintPreprocessedAction
Declaration
class PrintPreprocessedAction : public PreprocessorFrontendAction { /* full declaration omitted */ };
Description
Abstract base class to use for preprocessor-based frontend actions.
Declared at: clang/include/clang/Frontend/FrontendActions.h:306
Inherits from: PreprocessorFrontendAction
Member Variables
Method Overview
- protected void ExecuteAction()
- protected bool hasPCHSupport() const
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/Frontend/FrontendActions.h:308
¶bool hasPCHSupport() const
bool hasPCHSupport() const
Description
Does this action support use with PCH?
Declared at: clang/include/clang/Frontend/FrontendActions.h:310