clang: clang::CompilerInvocationBase Class Reference (original ) (raw )The base class of CompilerInvocation . More...
#include "[clang/Frontend/CompilerInvocation.h](CompilerInvocation%5F8h%5Fsource.html)"
Classes
struct
EmptyConstructor
Dummy tag type whose instance can be passed into the constructor to prevent creation of the reference-counted option objects. More...
The base class of CompilerInvocation .
It keeps individual option objects behind reference-counted pointers, which is useful for clients that want to keep select option objects alive (even after CompilerInvocation gets destroyed) without making a copy.
Definition at line 74 of file CompilerInvocation.h .
◆ ArgumentConsumer◆ StringAllocator
CompilerInvocationBase::CompilerInvocationBase ( )
protected
◆ CompilerInvocationBase() [2/4]
clang::CompilerInvocationBase::CompilerInvocationBase ( EmptyConstructor )
inlineprotected
◆ CompilerInvocationBase() [3/4]◆ CompilerInvocationBase() [4/4]◆ ~CompilerInvocationBase()
clang::CompilerInvocationBase::~CompilerInvocationBase ( )
protecteddefault
◆ deep_copy_assign()Definition at line 155 of file CompilerInvocation.cpp .
References AnalyzerOpts , APINotesOpts , CodeGenOpts , DependencyOutputOpts , DiagnosticOpts , FrontendOpts , FSOpts , HSOpts , LangOpts , MigratorOpts , PPOpts , PreprocessorOutputOpts , TargetOpts , and X .
Referenced by clang::CompilerInvocation::CompilerInvocation() , clang::CowCompilerInvocation::CowCompilerInvocation() , and clang::CompilerInvocation::operator=() .
◆ generateCC1CommandLine() [1/2]
void CompilerInvocationBase::generateCC1CommandLine
(
ArgumentConsumer
Consumer
)
const
Generate cc1-compatible command line arguments from this instance.
Parameters
Consumer
- Callback that gets invoked for every single generated command line argument.
Definition at line 5183 of file CompilerInvocation.cpp .
References GenerateAnalyzerArgs() , GenerateAPINotesArgs() , GenerateDependencyOutputArgs() , GenerateFileSystemArgs() , GenerateFrontendArgs() , GenerateHeaderSearchArgs() , GenerateMigratorArgs() , GeneratePointerAuthArgs() , GeneratePreprocessorArgs() , GeneratePreprocessorOutputArgs() , GenerateTargetArgs() , getAnalyzerOpts() , getAPINotesOpts() , getCodeGenOpts() , getDependencyOutputOpts() , getDiagnosticOpts() , getFileSystemOpts() , getFrontendOpts() , getHeaderSearchOpts() , getLangOpts() , getMigratorOpts() , getPreprocessorOpts() , getPreprocessorOutputOpts() , getTargetOpts() , and clang::T .
◆ generateCC1CommandLine() [2/2]◆ getAnalyzerOpts()
const AnalyzerOptions & clang::CompilerInvocationBase::getAnalyzerOpts ( ) const
inline
◆ getAPINotesOpts()
const APINotesOptions & clang::CompilerInvocationBase::getAPINotesOpts ( ) const
inline
◆ getCC1CommandLine()
std::vector< std::string > CompilerInvocationBase::getCC1CommandLine
(
)
const
◆ getCodeGenOpts()
const CodeGenOptions & clang::CompilerInvocationBase::getCodeGenOpts ( ) const
inline
◆ getDependencyOutputOpts()◆ getDiagnosticOpts()
const DiagnosticOptions & clang::CompilerInvocationBase::getDiagnosticOpts ( ) const
inline
◆ getFileSystemOpts()
const FileSystemOptions & clang::CompilerInvocationBase::getFileSystemOpts ( ) const
inline
◆ getFrontendOpts()
const FrontendOptions & clang::CompilerInvocationBase::getFrontendOpts ( ) const
inline
const HeaderSearchOptions & clang::CompilerInvocationBase::getHeaderSearchOpts ( ) const
inline
◆ getLangOpts()
const LangOptions & clang::CompilerInvocationBase::getLangOpts ( ) const
inline
◆ getMigratorOpts()
const MigratorOptions & clang::CompilerInvocationBase::getMigratorOpts ( ) const
inline
◆ getPreprocessorOpts()
const PreprocessorOptions & clang::CompilerInvocationBase::getPreprocessorOpts ( ) const
inline
◆ getPreprocessorOutputOpts()◆ getTargetOpts()
const TargetOptions & clang::CompilerInvocationBase::getTargetOpts ( ) const
inline
◆ operator=() [1/2]◆ operator=() [2/2]◆ shallow_copy_assign()Definition at line 175 of file CompilerInvocation.cpp .
References AnalyzerOpts , APINotesOpts , CodeGenOpts , DependencyOutputOpts , DiagnosticOpts , FrontendOpts , FSOpts , HSOpts , LangOpts , MigratorOpts , PPOpts , PreprocessorOutputOpts , TargetOpts , and X .
Referenced by clang::CowCompilerInvocation::CowCompilerInvocation() , and clang::CowCompilerInvocation::operator=() .
◆ AnalyzerOpts◆ APINotesOpts
std::shared_ptr<APINotesOptions > clang::CompilerInvocationBase::APINotesOpts
protected
◆ CodeGenOpts
std::shared_ptr<CodeGenOptions > clang::CompilerInvocationBase::CodeGenOpts
protected
◆ DependencyOutputOpts◆ DiagnosticOpts◆ FrontendOpts
std::shared_ptr<FrontendOptions > clang::CompilerInvocationBase::FrontendOpts
protected
◆ FSOpts◆ HSOpts◆ LangOpts
std::shared_ptr<LangOptions > clang::CompilerInvocationBase::LangOpts
protected
◆ MigratorOpts
std::shared_ptr<MigratorOptions > clang::CompilerInvocationBase::MigratorOpts
protected
◆ PPOpts◆ PreprocessorOutputOpts◆ TargetOpts
std::shared_ptr<TargetOptions > clang::CompilerInvocationBase::TargetOpts
protected
The documentation for this class was generated from the following files: