class GenerateModuleFromModuleMapAction
Declaration
class GenerateModuleFromModuleMapAction : public GenerateModuleAction { /* full declaration omitted */ };
Description
Abstract base class to use for AST consumer-based frontend actions.
Declared at: clang/include/clang/Frontend/FrontendActions.h:142
Inherits from: GenerateModuleAction
Member Variables
Method Overview
- private bool BeginSourceFileAction(clang::CompilerInstance & CI)
- private std::unique_ptr<raw_pwrite_stream> CreateOutputFile(clang::CompilerInstance & CI, llvm::StringRef InFile)
Inherited from GenerateModuleAction:
- protected CreateASTConsumer
- protected getTranslationUnitKind
- protected hasASTFileSupport
- protected shouldEraseOutputFiles
Inherited from ASTFrontendAction:
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
¶bool BeginSourceFileAction(
clang::CompilerInstance& CI)
bool BeginSourceFileAction(
clang::CompilerInstance& CI)
Description
Callback at the start of processing a single input.
Declared at: clang/include/clang/Frontend/FrontendActions.h:144
Parameters
Returns
True on success; on failure ExecutionAction() and EndSourceFileAction() will not be called.
¶std::unique_ptr<raw_pwrite_stream>
CreateOutputFile(clang::CompilerInstance& CI,
llvm::StringRef InFile)
std::unique_ptr<raw_pwrite_stream>
CreateOutputFile(clang::CompilerInstance& CI,
llvm::StringRef InFile)
Declared at: clang/include/clang/Frontend/FrontendActions.h:147
Parameters
- clang::CompilerInstance& CI
- llvm::StringRef InFile