clang: clang::CowCompilerInvocation Class Reference (original) (raw)

Same as [CompilerInvocation](classclang%5F1%5F1CompilerInvocation.html "Helper class for holding the data necessary to invoke the compiler."), but with copy-on-write optimization. More...

#include "[clang/Frontend/CompilerInvocation.h](CompilerInvocation%5F8h%5Fsource.html)"

Public Member Functions
CowCompilerInvocation ()=default
CowCompilerInvocation (const CowCompilerInvocation &X)
CowCompilerInvocation (CowCompilerInvocation &&)=default
CowCompilerInvocation & operator= (const CowCompilerInvocation &X)
~CowCompilerInvocation ()=default
CowCompilerInvocation (const CompilerInvocation &X)
CowCompilerInvocation (CompilerInvocation &&X)
LangOptions & getMutLangOpts ()
Mutable getters.
TargetOptions & getMutTargetOpts ()
DiagnosticOptions & getMutDiagnosticOpts ()
HeaderSearchOptions & getMutHeaderSearchOpts ()
PreprocessorOptions & getMutPreprocessorOpts ()
AnalyzerOptions & getMutAnalyzerOpts ()
MigratorOptions & getMutMigratorOpts ()
APINotesOptions & getMutAPINotesOpts ()
CodeGenOptions & getMutCodeGenOpts ()
FileSystemOptions & getMutFileSystemOpts ()
FrontendOptions & getMutFrontendOpts ()
DependencyOutputOptions & getMutDependencyOutputOpts ()
PreprocessorOutputOptions & getMutPreprocessorOutputOpts ()
- Public Member Functions inherited from clang::CompilerInvocationBase
const LangOptions & getLangOpts () const
Const getters.
const TargetOptions & getTargetOpts () const
const DiagnosticOptions & getDiagnosticOpts () const
const HeaderSearchOptions & getHeaderSearchOpts () const
const PreprocessorOptions & getPreprocessorOpts () const
const AnalyzerOptions & getAnalyzerOpts () const
const MigratorOptions & getMigratorOpts () const
const APINotesOptions & getAPINotesOpts () const
const CodeGenOptions & getCodeGenOpts () const
const FileSystemOptions & getFileSystemOpts () const
const FrontendOptions & getFrontendOpts () const
const DependencyOutputOptions & getDependencyOutputOpts () const
const PreprocessorOutputOptions & getPreprocessorOutputOpts () const
void generateCC1CommandLine (llvm::SmallVectorImpl< const char * > &Args, StringAllocator SA) const
Generate cc1-compatible command line arguments from this instance.
void generateCC1CommandLine (ArgumentConsumer Consumer) const
Generate cc1-compatible command line arguments from this instance.
std::vector< std::string > getCC1CommandLine () const
Generate cc1-compatible command line arguments from this instance, wrapping the result as a std::vectorstd::string.
Additional Inherited Members
- Public Types inherited from clang::CompilerInvocationBase
using StringAllocator = llvm::function_ref< const char *(const Twine &)>
Command line generation.
using ArgumentConsumer = llvm::function_ref< void(const Twine &)>
- Protected Member Functions inherited from clang::CompilerInvocationBase
CompilerInvocationBase ()
CompilerInvocationBase (EmptyConstructor)
CompilerInvocationBase (const CompilerInvocationBase &X)=delete
CompilerInvocationBase (CompilerInvocationBase &&X)=default
CompilerInvocationBase & operator= (const CompilerInvocationBase &X)=delete
CompilerInvocationBase & deep_copy_assign (const CompilerInvocationBase &X)
CompilerInvocationBase & shallow_copy_assign (const CompilerInvocationBase &X)
CompilerInvocationBase & operator= (CompilerInvocationBase &&X)=default
~CompilerInvocationBase ()=default
- Protected Attributes inherited from clang::CompilerInvocationBase
std::shared_ptr< LangOptions > LangOpts
Options controlling the language variant.
std::shared_ptr< TargetOptions > TargetOpts
Options controlling the target.
IntrusiveRefCntPtr< DiagnosticOptions > DiagnosticOpts
Options controlling the diagnostic engine.
std::shared_ptr< HeaderSearchOptions > HSOpts
Options controlling the #include directive.
std::shared_ptr< PreprocessorOptions > PPOpts
Options controlling the preprocessor (aside from #include handling).
AnalyzerOptionsRef AnalyzerOpts
Options controlling the static analyzer.
std::shared_ptr< MigratorOptions > MigratorOpts
std::shared_ptr< APINotesOptions > APINotesOpts
Options controlling API notes.
std::shared_ptr< CodeGenOptions > CodeGenOpts
Options controlling IRgen and the backend.
std::shared_ptr< FileSystemOptions > FSOpts
Options controlling file system operations.
std::shared_ptr< FrontendOptions > FrontendOpts
Options controlling the frontend itself.
std::shared_ptr< DependencyOutputOptions > DependencyOutputOpts
Options controlling dependency output.
std::shared_ptr< PreprocessorOutputOptions > PreprocessorOutputOpts
Options controlling preprocessed output.

Same as [CompilerInvocation](classclang%5F1%5F1CompilerInvocation.html "Helper class for holding the data necessary to invoke the compiler."), but with copy-on-write optimization.

Definition at line 360 of file CompilerInvocation.h.

clang::CowCompilerInvocation::CowCompilerInvocation ( ) default

CowCompilerInvocation() [2/5]

CowCompilerInvocation() [3/5]

~CowCompilerInvocation()

clang::CowCompilerInvocation::~CowCompilerInvocation ( ) default

CowCompilerInvocation() [4/5]

clang::CowCompilerInvocation::CowCompilerInvocation ( const CompilerInvocation & X) inline

CowCompilerInvocation() [5/5]

getMutAnalyzerOpts()

getMutAPINotesOpts()

getMutCodeGenOpts()

getMutDependencyOutputOpts()

getMutDiagnosticOpts()

getMutFileSystemOpts()

getMutFrontendOpts()

getMutHeaderSearchOpts()

getMutLangOpts()

LangOptions & CowCompilerInvocation::getMutLangOpts ( )

getMutMigratorOpts()

getMutPreprocessorOpts()

getMutPreprocessorOutputOpts()

getMutTargetOpts()

operator=()


The documentation for this class was generated from the following files: