clang 20.0.0git
|
Abstract base class for actions which can be performed by the frontend. More...
#include "clang/Frontend/FrontendAction.h"
Public Member Functions | |
FrontendAction () | |
virtual | ~FrontendAction () |
Compiler Instance Access | |
CompilerInstance & | getCompilerInstance () const |
void | setCompilerInstance (CompilerInstance *Value) |
Current File Information | |
bool | isCurrentFileAST () const |
const FrontendInputFile & | getCurrentInput () const |
StringRef | getCurrentFile () const |
StringRef | getCurrentFileOrBufferName () const |
InputKind | getCurrentFileKind () const |
ASTUnit & | getCurrentASTUnit () const |
Module * | getCurrentModule () const |
std::unique_ptr< ASTUnit > | takeCurrentASTUnit () |
void | setCurrentInput (const FrontendInputFile &CurrentInput, std::unique_ptr< ASTUnit > AST=nullptr) |
Supported Modes | |
virtual bool | isModelParsingAction () const |
Is this action invoked on a model file? | |
virtual bool | usesPreprocessorOnly () const =0 |
Does this action only use the preprocessor? | |
virtual TranslationUnitKind | getTranslationUnitKind () |
For AST-based actions, the kind of translation unit we're handling. | |
virtual bool | hasPCHSupport () const |
Does this action support use with PCH? | |
virtual bool | hasASTFileSupport () const |
Does this action support use with AST files? | |
virtual bool | hasIRSupport () const |
Does this action support use with IR files? | |
virtual bool | hasCodeCompletionSupport () const |
Does this action support use with code completion? | |
Public Action Interface | |
bool | PrepareToExecute (CompilerInstance &CI) |
Prepare the action to execute on the given compiler instance. | |
bool | BeginSourceFile (CompilerInstance &CI, const FrontendInputFile &Input) |
Prepare the action for processing the input file Input . | |
llvm::Error | Execute () |
Set the source manager's main input file, and run the action. | |
virtual void | EndSourceFile () |
Perform any per-file post processing, deallocate per-file objects, and run statistics and output file cleanup code. | |
Protected Member Functions | |
Implementation Action Interface | |
virtual bool | PrepareToExecuteAction (CompilerInstance &CI) |
Prepare to execute the action on the given CompilerInstance. | |
virtual std::unique_ptr< ASTConsumer > | CreateASTConsumer (CompilerInstance &CI, StringRef InFile)=0 |
Create the AST consumer object for this action, if supported. | |
virtual bool | BeginInvocation (CompilerInstance &CI) |
Callback before starting processing a single input, giving the opportunity to modify the CompilerInvocation or do some other action before BeginSourceFileAction is called. | |
virtual bool | BeginSourceFileAction (CompilerInstance &CI) |
Callback at the start of processing a single input. | |
virtual void | ExecuteAction ()=0 |
Callback to run the program action, using the initialized compiler instance. | |
virtual void | EndSourceFileAction () |
Callback at the end of processing a single input. | |
virtual bool | shouldEraseOutputFiles () |
Callback at the end of processing a single input, to determine if the output files should be erased or not. | |
Friends | |
class | ASTMergeAction |
class | WrapperFrontendAction |
Abstract base class for actions which can be performed by the frontend.
Definition at line 37 of file FrontendAction.h.
FrontendAction::FrontendAction | ( | ) |
Definition at line 147 of file FrontendAction.cpp.
|
virtual |
Definition at line 149 of file FrontendAction.cpp.
|
inlineprotectedvirtual |
Callback before starting processing a single input, giving the opportunity to modify the CompilerInvocation or do some other action before BeginSourceFileAction is called.
Reimplemented in clang::arcmt::CheckAction, clang::arcmt::ModifyAction, clang::arcmt::MigrateSourceAction, clang::arcmt::MigrateAction, clang::arcmt::ObjCMigrateAction, clang::WrapperFrontendAction, clang::DumpModuleInfoAction, and clang::FixItRecompile.
Definition at line 80 of file FrontendAction.h.
Referenced by BeginSourceFile().
bool FrontendAction::BeginSourceFile | ( | CompilerInstance & | CI, |
const FrontendInputFile & | Input | ||
) |
Prepare the action for processing the input file Input
.
This is run after the options and frontend have been initialized, but prior to executing any per-file processing.
CI | - The compiler instance this action is being run from. The action may store and use this object up until the matching EndSourceFile action. |
Input | - The input filename and kind. Some input kinds are handled specially, for example AST inputs, since the AST file itself contains several objects which would normally be owned by the CompilerInstance. When processing AST input files, these objects should generally not be initialized in the CompilerInstance – they will automatically be shared with the AST file in between BeginSourceFile() and EndSourceFile(). |
Definition at line 585 of file FrontendAction.cpp.
References clang::PreprocessorOptions::AllowPCHWithCompilerErrors, BeginInvocation(), clang::DiagnosticConsumer::BeginSourceFile(), BeginSourceFileAction(), clang::SrcMgr::C_System, clang::SrcMgr::C_User, clang::PreprocessorOptions::ChainedIncludes, clang::CompilerInstance::clearOutputFiles(), clang::LangOptionsBase::CMK_ModuleMap, clang::LangOptionsBase::CMK_None, clang::CompilerInstance::createASTContext(), clang::CompilerInstance::createASTReader(), clang::createChainedIncludesSource(), clang::SourceManager::createFileID(), clang::CompilerInstance::createFileManager(), clang::CompilerInstance::createPCHExternalASTSource(), clang::CompilerInstance::createPreprocessor(), clang::CompilerInstance::createSourceManager(), clang::LangOptions::CurrentModule, clang::PreprocessorOptions::DeserializedPCHDeclsToErrorOn, clang::PreprocessorOptions::DisablePCHOrModuleValidation, clang::PreprocessorOptions::DumpDeserializedPCHDecls, clang::DiagnosticConsumer::EndSourceFile(), clang::File, clang::FileName, Filename, clang::ModuleMap::finishModuleDeclarationScope(), clang::Found, clang::CompilerInstance::getASTContext(), clang::CompilerInstance::getASTReader(), clang::Preprocessor::getBuiltinInfo(), getCurrentFileOrBufferName(), clang::Preprocessor::getCurrentModuleImplementation(), clang::CompilerInstance::getDiagnosticClient(), clang::CompilerInstance::getDiagnosticOpts(), clang::CompilerInstance::getDiagnostics(), clang::ASTContext::getExternalSource(), clang::FrontendInputFile::getFile(), clang::CompilerInstance::getFileManager(), clang::CompilerInstance::getFileSystemOpts(), clang::InputKind::getFormat(), clang::CompilerInstance::getFrontendOpts(), clang::Preprocessor::getHeaderSearchInfo(), clang::CompilerInstance::getHeaderSearchOpts(), clang::CompilerInstance::getHeaderSearchOptsPtr(), clang::InputKind::getHeaderUnitKind(), clang::Preprocessor::getIdentifierTable(), getInputBufferForModule(), clang::FrontendInputFile::getKind(), clang::CompilerInstance::getLangOpts(), clang::Preprocessor::getLangOpts(), clang::CompilerInstance::getLangOptsPtr(), clang::InputKind::getLanguage(), clang::CompilerInstance::getModuleCache(), clang::ASTReader::getModuleManager(), clang::HeaderSearch::getModuleMap(), clang::FileEntryRef::getName(), clang::FileManager::getOptionalDirectoryRef(), clang::FileManager::getOptionalFileRef(), clang::CompilerInstance::getPCHContainerReader(), clang::CompilerInstance::getPreprocessor(), clang::CompilerInstance::getPreprocessorOpts(), clang::serialization::ModuleManager::getPrimaryModule(), clang::CompilerInstance::getSourceManager(), clang::CompilerInstance::getSpecificModuleCachePath(), clang::CompilerInstance::getTargetOpts(), getTranslationUnitKind(), clang::FileManager::getVirtualFileSystem(), clang::CompilerInstance::hasASTConsumer(), clang::CompilerInstance::hasASTContext(), hasASTFileSupport(), clang::CompilerInstance::hasFileManager(), hasIRSupport(), hasPCHSupport(), clang::CompilerInstance::hasPreprocessor(), clang::CompilerInstance::hasSourceManager(), clang::InputKind::HeaderUnit_Abs, clang::InputKind::HeaderUnit_System, clang::PreprocessorOptions::ImplicitPCHInclude, clang::Builtin::Context::initializeBuiltins(), clang::SourceManager::initializeForReplay(), clang::CompilerInstance::InitializeSourceManager(), clang::ASTReader::isAcceptableASTFile(), clang::FrontendInputFile::isEmpty(), clang::InputKind::isHeaderUnit(), isModelParsingAction(), clang::InputKind::isPreprocessed(), clang::FrontendInputFile::isPreprocessed(), clang::FrontendInputFile::isSystem(), clang::LLVM_IR, clang::ASTUnit::LoadEverything, clang::ASTUnit::LoadFromASTFile(), clang::CompilerInstance::loadModuleFile(), clang::HeaderSearch::loadModuleMapFile(), loadModuleMapForModuleBuild(), clang::ASTUnit::LoadPreprocessorOnly, clang::HeaderSearch::LookupFile(), clang::FrontendOptions::ModuleFiles, clang::InputKind::ModuleMap, clang::FrontendOptions::ModuleMapFiles, clang::LangOptions::ModuleName, clang::FrontendOptions::ModulesEmbedAllFiles, clang::FrontendOptions::ModulesEmbedFiles, clang::FrontendOptions::OverrideRecordLayoutsFile, clang::InputKind::Precompiled, prepareToBuildModule(), clang::Module::PresumedModuleMapFile, ReadOriginalFileName(), clang::DiagnosticsEngine::Report(), clang::DiagnosticOptions::SARIF, clang::SourceManager::setAllFilesAreTransient(), clang::CompilerInstance::setASTConsumer(), clang::CompilerInstance::setASTContext(), clang::ASTContext::setASTMutationListener(), clang::CompilerInstance::setASTReader(), setCompilerInstance(), setCurrentInput(), clang::ASTContext::setExternalSource(), clang::SourceManager::setFileIsTransient(), clang::CompilerInstance::setFileManager(), clang::CompilerInstance::setPreprocessor(), clang::Preprocessor::setSkipMainFilePreamble(), clang::CompilerInstance::setSourceManager(), clang::serialization::ModuleFile::StandardCXXModule, usesPreprocessorOnly(), clang::ASTReader::visitTopLevelModuleMaps(), and clang::InputKind::withHeaderUnit().
Referenced by clang::CompilerInstance::ExecuteAction(), and clang::ASTUnit::LoadFromCompilerInvocationAction().
|
inlineprotectedvirtual |
Callback at the start of processing a single input.
Reimplemented in clang::CodeGenAction, clang::WrapperFrontendAction, clang::GeneratePCHAction, clang::GenerateModuleInterfaceAction, clang::ASTMergeAction, clang::FixItAction, and clang::RewriteIncludesAction.
Definition at line 86 of file FrontendAction.h.
Referenced by BeginSourceFile(), and clang::GenerateModuleInterfaceAction::BeginSourceFileAction().
|
protectedpure virtual |
Create the AST consumer object for this action, if supported.
This routine is called as part of BeginSourceFile(), which will fail if the AST consumer cannot be created. This will not be called if the action has indicated that it only uses the preprocessor.
CI | - The current compiler instance, provided as a convenience, see getCompilerInstance(). |
InFile | - The current input file, provided as a convenience, see getCurrentFile(). |
Implemented in clang::PrintPreambleAction, clang::PrintDependencyDirectivesSourceMinimizerAction, clang::arcmt::MigrateSourceAction, clang::arcmt::ObjCMigrateAction, clang::CodeGenAction, clang::ExtractAPIAction, clang::WrappingExtractAPIAction, clang::PreprocessorFrontendAction, clang::WrapperFrontendAction, clang::ASTPrintAction, clang::ASTDumpAction, clang::ASTDeclListAction, clang::ASTViewAction, clang::GeneratePCHAction, clang::GenerateModuleAction, clang::GenerateInterfaceStubsAction, clang::GenerateModuleInterfaceAction, clang::SyntaxOnlyAction, clang::DumpModuleInfoAction, clang::VerifyPCHAction, clang::TemplightDumpAction, clang::ASTMergeAction, clang::installapi::InstallAPIAction, clang::HTMLPrintAction, clang::FixItAction, clang::RewriteObjCAction, clang::ento::AnalysisAction, clang::ento::ParseModelFileAction, clang::IncrementalAction, and clang::PluginASTAction.
|
virtual |
Perform any per-file post processing, deallocate per-file objects, and run statistics and output file cleanup code.
Reimplemented in clang::WrapperFrontendAction, and clang::IncrementalAction.
Definition at line 1099 of file FrontendAction.cpp.
References clang::CompilerInstance::clearOutputFiles(), clang::LangOptionsBase::CMK_None, clang::FrontendOptions::DisableFree, clang::DiagnosticConsumer::EndSourceFile(), clang::Preprocessor::EndSourceFile(), EndSourceFileAction(), getCompilerInstance(), getCurrentFileOrBufferName(), clang::CompilerInstance::getDiagnosticClient(), clang::CompilerInstance::getFrontendOpts(), clang::Preprocessor::getHeaderSearchInfo(), clang::Preprocessor::getIdentifierTable(), clang::CompilerInstance::getLangOpts(), clang::CompilerInstance::getPreprocessor(), clang::CompilerInstance::getSourceManager(), clang::CompilerInstance::hasPreprocessor(), isCurrentFileAST(), clang::HeaderSearch::PrintStats(), clang::Preprocessor::PrintStats(), clang::IdentifierTable::PrintStats(), clang::SourceManager::PrintStats(), clang::CompilerInstance::resetAndLeakASTContext(), clang::CompilerInstance::resetAndLeakFileManager(), clang::CompilerInstance::resetAndLeakPreprocessor(), clang::CompilerInstance::resetAndLeakSema(), clang::CompilerInstance::resetAndLeakSourceManager(), clang::CompilerInstance::setASTConsumer(), clang::CompilerInstance::setASTContext(), setCompilerInstance(), setCurrentInput(), clang::CompilerInstance::setFileManager(), clang::CompilerInstance::setPreprocessor(), clang::CompilerInstance::setSema(), clang::CompilerInstance::setSourceManager(), shouldEraseOutputFiles(), clang::FrontendOptions::ShowStats, and clang::CompilerInstance::takeASTConsumer().
Referenced by clang::CompilerInstance::ExecuteAction(), and clang::ASTUnit::LoadFromCompilerInvocationAction().
|
inlineprotectedvirtual |
Callback at the end of processing a single input.
This is guaranteed to only be called following a successful call to BeginSourceFileAction (and BeginSourceFile).
Reimplemented in clang::CodeGenAction, clang::WrapperFrontendAction, clang::ASTMergeAction, and clang::FixItAction.
Definition at line 101 of file FrontendAction.h.
Referenced by EndSourceFile().
llvm::Error FrontendAction::Execute | ( | ) |
Set the source manager's main input file, and run the action.
Definition at line 1070 of file FrontendAction.cpp.
References ExecuteAction(), getCompilerInstance(), clang::CompilerInstance::getFileManager(), clang::CompilerInstance::getFrontendTimer(), clang::Preprocessor::getHeaderSearchInfo(), clang::HeaderSearch::getModuleCachePath(), clang::CompilerInstance::getPCHContainerReader(), clang::CompilerInstance::getPreprocessor(), clang::CompilerInstance::hasFileManager(), clang::CompilerInstance::hasFrontendTimer(), clang::CompilerInstance::hasPreprocessor(), clang::CompilerInstance::shouldBuildGlobalModuleIndex(), and clang::GlobalModuleIndex::writeIndex().
Referenced by clang::CompilerInstance::ExecuteAction(), and clang::ASTUnit::LoadFromCompilerInvocationAction().
|
protectedpure virtual |
Callback to run the program action, using the initialized compiler instance.
This is guaranteed to only be called between BeginSourceFileAction() and EndSourceFileAction().
Implemented in clang::CodeGenAction, clang::ASTFrontendAction, clang::WrapperFrontendAction, clang::DumpModuleInfoAction, clang::VerifyPCHAction, clang::TemplightDumpAction, clang::ASTMergeAction, clang::PrintPreambleAction, clang::PrintDependencyDirectivesSourceMinimizerAction, clang::DumpRawTokensAction, clang::DumpTokensAction, clang::PreprocessOnlyAction, clang::PrintPreprocessedAction, clang::RewriteMacrosAction, clang::RewriteTestAction, clang::RewriteIncludesAction, clang::IncrementalSyntaxOnlyAction, and clang::IncrementalAction.
Referenced by Execute(), and clang::IncrementalSyntaxOnlyAction::ExecuteAction().
|
inline |
Definition at line 120 of file FrontendAction.h.
Referenced by clang::FixItAction::BeginSourceFileAction(), EndSourceFile(), clang::CodeGenAction::EndSourceFileAction(), Execute(), clang::CodeGenAction::ExecuteAction(), clang::ASTFrontendAction::ExecuteAction(), clang::DumpModuleInfoAction::ExecuteAction(), clang::VerifyPCHAction::ExecuteAction(), clang::TemplightDumpAction::ExecuteAction(), clang::ASTMergeAction::ExecuteAction(), clang::PrintPreambleAction::ExecuteAction(), clang::PrintDependencyDirectivesSourceMinimizerAction::ExecuteAction(), clang::DumpRawTokensAction::ExecuteAction(), clang::DumpTokensAction::ExecuteAction(), clang::PreprocessOnlyAction::ExecuteAction(), clang::PrintPreprocessedAction::ExecuteAction(), clang::RewriteMacrosAction::ExecuteAction(), clang::RewriteTestAction::ExecuteAction(), clang::RewriteIncludesAction::ExecuteAction(), clang::IncrementalSyntaxOnlyAction::ExecuteAction(), clang::IncrementalAction::ExecuteAction(), getCurrentModule(), shouldEraseOutputFiles(), clang::GeneratePCHAction::shouldEraseOutputFiles(), and clang::GenerateModuleAction::shouldEraseOutputFiles().
|
inline |
Definition at line 157 of file FrontendAction.h.
Referenced by clang::DumpModuleInfoAction::ExecuteAction().
|
inline |
Definition at line 140 of file FrontendAction.h.
References clang::FrontendInputFile::getFile(), and clang::FrontendInputFile::isEmpty().
Referenced by clang::DumpModuleInfoAction::ExecuteAction(), clang::VerifyPCHAction::ExecuteAction(), and clang::PrintPreambleAction::ExecuteAction().
|
inline |
Definition at line 152 of file FrontendAction.h.
References clang::FrontendInputFile::getKind(), and clang::FrontendInputFile::isEmpty().
Referenced by clang::CodeGenAction::ExecuteAction(), and clang::PrintPreambleAction::ExecuteAction().
|
inline |
Definition at line 145 of file FrontendAction.h.
References clang::FrontendInputFile::getBuffer(), clang::FrontendInputFile::getFile(), clang::FrontendInputFile::isEmpty(), and clang::FrontendInputFile::isFile().
Referenced by BeginSourceFile(), clang::RewriteIncludesAction::BeginSourceFileAction(), EndSourceFile(), clang::CodeGenAction::ExecuteAction(), clang::PrintPreprocessedAction::ExecuteAction(), clang::RewriteMacrosAction::ExecuteAction(), and clang::RewriteTestAction::ExecuteAction().
|
inline |
Definition at line 136 of file FrontendAction.h.
Referenced by clang::arcmt::CheckAction::BeginInvocation(), clang::arcmt::ModifyAction::BeginInvocation(), clang::arcmt::MigrateAction::BeginInvocation(), clang::WrapperFrontendAction::BeginSourceFileAction(), clang::ASTMergeAction::BeginSourceFileAction(), clang::RewriteIncludesAction::BeginSourceFileAction(), and clang::PrintPreprocessedAction::ExecuteAction().
Module * FrontendAction::getCurrentModule | ( | ) | const |
Definition at line 157 of file FrontendAction.cpp.
References clang::LangOptions::CurrentModule, getCompilerInstance(), clang::Preprocessor::getHeaderSearchInfo(), clang::CompilerInstance::getLangOpts(), clang::CompilerInstance::getPreprocessor(), and clang::HeaderSearch::lookupModule().
Referenced by clang::RewriteIncludesAction::BeginSourceFileAction(), and clang::PrintPreprocessedAction::ExecuteAction().
|
inlinevirtual |
For AST-based actions, the kind of translation unit we're handling.
Reimplemented in clang::WrapperFrontendAction, clang::GeneratePCHAction, clang::GenerateModuleAction, clang::GenerateInterfaceStubsAction, clang::GenerateModuleInterfaceAction, clang::ASTMergeAction, and clang::IncrementalAction.
Definition at line 189 of file FrontendAction.h.
References clang::TU_Complete.
Referenced by BeginSourceFile(), clang::ASTFrontendAction::ExecuteAction(), and clang::ASTUnit::LoadFromCompilerInvocationAction().
|
inlinevirtual |
Does this action support use with AST files?
Reimplemented in clang::WrapperFrontendAction, clang::GeneratePCHAction, clang::GenerateModuleAction, clang::GenerateInterfaceStubsAction, clang::DumpModuleInfoAction, clang::ASTMergeAction, and clang::FixItAction.
Definition at line 200 of file FrontendAction.h.
Referenced by BeginSourceFile().
|
inlinevirtual |
Does this action support use with code completion?
Reimplemented in clang::WrapperFrontendAction, clang::SyntaxOnlyAction, clang::DumpModuleInfoAction, clang::VerifyPCHAction, and clang::ASTMergeAction.
Definition at line 206 of file FrontendAction.h.
Referenced by clang::ASTFrontendAction::ExecuteAction().
|
inlinevirtual |
Does this action support use with IR files?
Reimplemented in clang::CodeGenAction, clang::WrapperFrontendAction, and clang::DumpModuleInfoAction.
Definition at line 203 of file FrontendAction.h.
Referenced by BeginSourceFile().
|
inlinevirtual |
Does this action support use with PCH?
Reimplemented in clang::WrapperFrontendAction, clang::DumpModuleInfoAction, clang::ASTMergeAction, and clang::PrintPreprocessedAction.
Definition at line 197 of file FrontendAction.h.
Referenced by BeginSourceFile().
|
inline |
Definition at line 131 of file FrontendAction.h.
References clang::FrontendInputFile::isEmpty().
Referenced by EndSourceFile(), and clang::DumpModuleInfoAction::ExecuteAction().
|
inlinevirtual |
Is this action invoked on a model file?
Model files are incomplete translation units that relies on type information from another translation unit. Check ParseModelFileAction for details.
Reimplemented in clang::ento::ParseModelFileAction.
Definition at line 180 of file FrontendAction.h.
Referenced by BeginSourceFile(), and clang::CompilerInstance::ExecuteAction().
|
inline |
Prepare the action to execute on the given compiler instance.
Definition at line 213 of file FrontendAction.h.
References PrepareToExecuteAction().
Referenced by clang::CompilerInstance::ExecuteAction().
|
inlineprotectedvirtual |
Prepare to execute the action on the given CompilerInstance.
This is called before executing the action on any inputs, and can modify the configuration as needed (including adjusting the input list).
Reimplemented in clang::WrapperFrontendAction.
Definition at line 56 of file FrontendAction.h.
Referenced by PrepareToExecute().
|
inline |
Definition at line 125 of file FrontendAction.h.
Referenced by BeginSourceFile(), and EndSourceFile().
void FrontendAction::setCurrentInput | ( | const FrontendInputFile & | CurrentInput, |
std::unique_ptr< ASTUnit > | AST = nullptr |
||
) |
Definition at line 151 of file FrontendAction.cpp.
Referenced by BeginSourceFile(), clang::WrapperFrontendAction::BeginSourceFileAction(), and EndSourceFile().
|
protectedvirtual |
Callback at the end of processing a single input, to determine if the output files should be erased or not.
By default it returns true if a compiler error occurred. This is guaranteed to only be called following a successful call to BeginSourceFileAction (and BeginSourceFile).
Reimplemented in clang::WrapperFrontendAction, clang::GeneratePCHAction, and clang::GenerateModuleAction.
Definition at line 1160 of file FrontendAction.cpp.
References getCompilerInstance(), clang::CompilerInstance::getDiagnostics(), and clang::DiagnosticsEngine::hasErrorOccurred().
Referenced by EndSourceFile(), clang::GeneratePCHAction::shouldEraseOutputFiles(), and clang::GenerateModuleAction::shouldEraseOutputFiles().
|
inline |
Definition at line 164 of file FrontendAction.h.
Referenced by clang::ASTMergeAction::BeginSourceFileAction().
|
pure virtual |
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.
Implemented in clang::ASTFrontendAction, clang::PreprocessorFrontendAction, clang::WrapperFrontendAction, clang::InitOnlyAction, clang::ReadPCHAndPreprocessAction, clang::DumpCompilerOptionsAction, clang::ASTMergeAction, clang::PrintPreambleAction, and clang::PrintDependencyDirectivesSourceMinimizerAction.
Referenced by BeginSourceFile().
|
friend |
Definition at line 41 of file FrontendAction.h.
|
friend |
Definition at line 42 of file FrontendAction.h.