clang 22.0.0git
|
Same as CompilerInvocation
, but with copy-on-write optimization.
More...
#include "clang/Frontend/CompilerInvocation.h"
Additional Inherited Members | |
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. | |
std::shared_ptr< 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). | |
std::shared_ptr< AnalyzerOptions > | 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
, but with copy-on-write optimization.
Definition at line 346 of file CompilerInvocation.h.
|
default |
Referenced by CowCompilerInvocation(), CowCompilerInvocation(), and operator=().
|
inline |
Definition at line 349 of file CompilerInvocation.h.
References clang::CompilerInvocationBase::CompilerInvocationBase(), CowCompilerInvocation(), clang::CompilerInvocationBase::shallow_copy_assign(), and X.
|
default |
References CowCompilerInvocation().
|
default |
|
inline |
Definition at line 360 of file CompilerInvocation.h.
References clang::CompilerInvocationBase::CompilerInvocationBase(), clang::CompilerInvocationBase::deep_copy_assign(), and X.
|
inline |
Definition at line 365 of file CompilerInvocation.h.
References clang::CompilerInvocationBase::CompilerInvocationBase(), and X.
AnalyzerOptions & CowCompilerInvocation::getMutAnalyzerOpts | ( | ) |
Definition at line 218 of file CompilerInvocation.cpp.
References clang::CompilerInvocationBase::AnalyzerOpts, and ensureOwned().
APINotesOptions & CowCompilerInvocation::getMutAPINotesOpts | ( | ) |
Definition at line 226 of file CompilerInvocation.cpp.
References clang::CompilerInvocationBase::APINotesOpts, and ensureOwned().
CodeGenOptions & CowCompilerInvocation::getMutCodeGenOpts | ( | ) |
Definition at line 230 of file CompilerInvocation.cpp.
References clang::CompilerInvocationBase::CodeGenOpts, and ensureOwned().
Referenced by optimizeCWD().
DependencyOutputOptions & CowCompilerInvocation::getMutDependencyOutputOpts | ( | ) |
Definition at line 242 of file CompilerInvocation.cpp.
References clang::CompilerInvocationBase::DependencyOutputOpts, and ensureOwned().
DiagnosticOptions & CowCompilerInvocation::getMutDiagnosticOpts | ( | ) |
Definition at line 206 of file CompilerInvocation.cpp.
References clang::CompilerInvocationBase::DiagnosticOpts, and ensureOwned().
FileSystemOptions & CowCompilerInvocation::getMutFileSystemOpts | ( | ) |
Definition at line 234 of file CompilerInvocation.cpp.
References ensureOwned(), and clang::CompilerInvocationBase::FSOpts.
Referenced by optimizeCWD().
FrontendOptions & CowCompilerInvocation::getMutFrontendOpts | ( | ) |
Definition at line 238 of file CompilerInvocation.cpp.
References ensureOwned(), and clang::CompilerInvocationBase::FrontendOpts.
HeaderSearchOptions & CowCompilerInvocation::getMutHeaderSearchOpts | ( | ) |
Definition at line 210 of file CompilerInvocation.cpp.
References ensureOwned(), and clang::CompilerInvocationBase::HSOpts.
LangOptions & CowCompilerInvocation::getMutLangOpts | ( | ) |
Mutable getters.
Definition at line 198 of file CompilerInvocation.cpp.
References ensureOwned(), and clang::CompilerInvocationBase::LangOpts.
MigratorOptions & CowCompilerInvocation::getMutMigratorOpts | ( | ) |
Definition at line 222 of file CompilerInvocation.cpp.
References ensureOwned(), and clang::CompilerInvocationBase::MigratorOpts.
PreprocessorOptions & CowCompilerInvocation::getMutPreprocessorOpts | ( | ) |
Definition at line 214 of file CompilerInvocation.cpp.
References ensureOwned(), and clang::CompilerInvocationBase::PPOpts.
PreprocessorOutputOptions & CowCompilerInvocation::getMutPreprocessorOutputOpts | ( | ) |
Definition at line 247 of file CompilerInvocation.cpp.
References ensureOwned(), and clang::CompilerInvocationBase::PreprocessorOutputOpts.
TargetOptions & CowCompilerInvocation::getMutTargetOpts | ( | ) |
Definition at line 202 of file CompilerInvocation.cpp.
References ensureOwned(), and clang::CompilerInvocationBase::TargetOpts.
|
inline |
Definition at line 354 of file CompilerInvocation.h.
References CowCompilerInvocation(), clang::CompilerInvocationBase::shallow_copy_assign(), and X.