clang API Documentation
#include <CompilerInvocation.h>


Public Member Functions | |
| CompilerInvocationBase () | |
| ~CompilerInvocationBase () | |
| CompilerInvocationBase (const CompilerInvocationBase &X) | |
| LangOptions * | getLangOpts () |
| const LangOptions * | getLangOpts () const |
| TargetOptions & | getTargetOpts () |
| const TargetOptions & | getTargetOpts () const |
| DiagnosticOptions & | getDiagnosticOpts () const |
| HeaderSearchOptions & | getHeaderSearchOpts () |
| const HeaderSearchOptions & | getHeaderSearchOpts () const |
| PreprocessorOptions & | getPreprocessorOpts () |
| const PreprocessorOptions & | getPreprocessorOpts () const |
Public Attributes | |
| 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. | |
| IntrusiveRefCntPtr < HeaderSearchOptions > | HeaderSearchOpts |
| Options controlling the #include directive. | |
| IntrusiveRefCntPtr < PreprocessorOptions > | PreprocessorOpts |
| Options controlling the preprocessor (aside from #include handling). | |
Definition at line 52 of file CompilerInvocation.h.
Definition at line 47 of file CompilerInvocation.cpp.
Definition at line 61 of file CompilerInvocation.cpp.
Definition at line 53 of file CompilerInvocation.cpp.
| DiagnosticOptions& clang::CompilerInvocationBase::getDiagnosticOpts | ( | ) | const [inline] |
Definition at line 84 of file CompilerInvocation.h.
References DiagnosticOpts.
Referenced by applyTransforms(), clang::arcmt::checkForManualIssues(), clang::CompilerInvocation::CreateFromArgs(), createInvocationForMigration(), clang::ASTUnit::LoadFromCompilerInvocationAction(), clang::arcmt::MigrationProcess::MigrationProcess(), and clang::ASTUnit::Reparse().
Definition at line 86 of file CompilerInvocation.h.
References HeaderSearchOpts.
Referenced by clang::CompilerInvocation::CreateFromArgs(), clang::createVFSFromCompilerInvocation(), and clang::ASTUnit::LoadFromCompilerInvocationAction().
| const HeaderSearchOptions& clang::CompilerInvocationBase::getHeaderSearchOpts | ( | ) | const [inline] |
Definition at line 87 of file CompilerInvocation.h.
References HeaderSearchOpts.
| LangOptions* clang::CompilerInvocationBase::getLangOpts | ( | ) | [inline] |
Definition at line 76 of file CompilerInvocation.h.
References LangOpts.
Referenced by clang::arcmt::MigrationProcess::applyTransform(), applyTransforms(), clang::arcmt::checkForManualIssues(), and clang::CompilerInvocation::CreateFromArgs().
| const LangOptions* clang::CompilerInvocationBase::getLangOpts | ( | ) | const [inline] |
Definition at line 77 of file CompilerInvocation.h.
References LangOpts.
Definition at line 91 of file CompilerInvocation.h.
References PreprocessorOpts.
Referenced by compileModuleImpl(), clang::CompilerInvocation::CreateFromArgs(), clang::ASTUnit::LoadFromCompilerInvocationAction(), and clang::ASTUnit::Reparse().
| const PreprocessorOptions& clang::CompilerInvocationBase::getPreprocessorOpts | ( | ) | const [inline] |
Definition at line 92 of file CompilerInvocation.h.
References PreprocessorOpts.
| TargetOptions& clang::CompilerInvocationBase::getTargetOpts | ( | ) | [inline] |
Definition at line 79 of file CompilerInvocation.h.
References TargetOpts.
Referenced by clang::CompilerInvocation::CreateFromArgs(), and HasARCRuntime().
| const TargetOptions& clang::CompilerInvocationBase::getTargetOpts | ( | ) | const [inline] |
Definition at line 80 of file CompilerInvocation.h.
References TargetOpts.
| IntrusiveRefCntPtr<DiagnosticOptions> clang::CompilerInvocationBase::DiagnosticOpts |
Options controlling the diagnostic engine.
Definition at line 63 of file CompilerInvocation.h.
Referenced by getDiagnosticOpts().
| IntrusiveRefCntPtr<HeaderSearchOptions> clang::CompilerInvocationBase::HeaderSearchOpts |
Options controlling the #include directive.
Definition at line 66 of file CompilerInvocation.h.
Referenced by getHeaderSearchOpts().
| std::shared_ptr<LangOptions> clang::CompilerInvocationBase::LangOpts |
Options controlling the language variant.
Definition at line 57 of file CompilerInvocation.h.
Referenced by getLangOpts().
| IntrusiveRefCntPtr<PreprocessorOptions> clang::CompilerInvocationBase::PreprocessorOpts |
Options controlling the preprocessor (aside from #include handling).
Definition at line 69 of file CompilerInvocation.h.
Referenced by getPreprocessorOpts().
| std::shared_ptr<TargetOptions> clang::CompilerInvocationBase::TargetOpts |
Options controlling the target.
Definition at line 60 of file CompilerInvocation.h.
Referenced by getTargetOpts().