clang  7.0.0svn
Public Member Functions | Public Attributes | List of all members
clang::CompilerInvocationBase Class Reference

#include "clang/Frontend/CompilerInvocation.h"

Inheritance diagram for clang::CompilerInvocationBase:
Inheritance graph
[legend]
Collaboration diagram for clang::CompilerInvocationBase:
Collaboration graph
[legend]

Public Member Functions

 CompilerInvocationBase ()
 
 CompilerInvocationBase (const CompilerInvocationBase &X)
 
CompilerInvocationBaseoperator= (const CompilerInvocationBase &)=delete
 
 ~CompilerInvocationBase ()
 
LangOptionsgetLangOpts ()
 
const LangOptionsgetLangOpts () const
 
TargetOptionsgetTargetOpts ()
 
const TargetOptionsgetTargetOpts () const
 
DiagnosticOptionsgetDiagnosticOpts () const
 
HeaderSearchOptionsgetHeaderSearchOpts ()
 
const HeaderSearchOptionsgetHeaderSearchOpts () const
 
std::shared_ptr< HeaderSearchOptionsgetHeaderSearchOptsPtr () const
 
std::shared_ptr< PreprocessorOptionsgetPreprocessorOptsPtr ()
 
PreprocessorOptionsgetPreprocessorOpts ()
 
const PreprocessorOptionsgetPreprocessorOpts () const
 

Public Attributes

std::shared_ptr< LangOptionsLangOpts
 Options controlling the language variant. More...
 
std::shared_ptr< TargetOptionsTargetOpts
 Options controlling the target. More...
 
IntrusiveRefCntPtr< DiagnosticOptionsDiagnosticOpts
 Options controlling the diagnostic engine. More...
 
std::shared_ptr< HeaderSearchOptionsHeaderSearchOpts
 Options controlling the #include directive. More...
 
std::shared_ptr< PreprocessorOptionsPreprocessorOpts
 Options controlling the preprocessor (aside from #include handling). More...
 

Detailed Description

Definition at line 59 of file CompilerInvocation.h.

Constructor & Destructor Documentation

◆ CompilerInvocationBase() [1/2]

CompilerInvocationBase::CompilerInvocationBase ( )

Definition at line 101 of file CompilerInvocation.cpp.

◆ CompilerInvocationBase() [2/2]

CompilerInvocationBase::CompilerInvocationBase ( const CompilerInvocationBase X)

Definition at line 107 of file CompilerInvocation.cpp.

References ~CompilerInvocationBase().

◆ ~CompilerInvocationBase()

CompilerInvocationBase::~CompilerInvocationBase ( )
default

Referenced by CompilerInvocationBase().

Member Function Documentation

◆ getDiagnosticOpts()

DiagnosticOptions& clang::CompilerInvocationBase::getDiagnosticOpts ( ) const
inline

◆ getHeaderSearchOpts() [1/2]

HeaderSearchOptions& clang::CompilerInvocationBase::getHeaderSearchOpts ( )
inline

◆ getHeaderSearchOpts() [2/2]

const HeaderSearchOptions& clang::CompilerInvocationBase::getHeaderSearchOpts ( ) const
inline

Definition at line 91 of file CompilerInvocation.h.

◆ getHeaderSearchOptsPtr()

std::shared_ptr<HeaderSearchOptions> clang::CompilerInvocationBase::getHeaderSearchOptsPtr ( ) const
inline

Definition at line 95 of file CompilerInvocation.h.

◆ getLangOpts() [1/2]

LangOptions* clang::CompilerInvocationBase::getLangOpts ( )
inline

◆ getLangOpts() [2/2]

const LangOptions* clang::CompilerInvocationBase::getLangOpts ( ) const
inline

Definition at line 82 of file CompilerInvocation.h.

◆ getPreprocessorOpts() [1/2]

PreprocessorOptions& clang::CompilerInvocationBase::getPreprocessorOpts ( )
inline

◆ getPreprocessorOpts() [2/2]

const PreprocessorOptions& clang::CompilerInvocationBase::getPreprocessorOpts ( ) const
inline

Definition at line 105 of file CompilerInvocation.h.

◆ getPreprocessorOptsPtr()

std::shared_ptr<PreprocessorOptions> clang::CompilerInvocationBase::getPreprocessorOptsPtr ( )
inline

Definition at line 99 of file CompilerInvocation.h.

◆ getTargetOpts() [1/2]

TargetOptions& clang::CompilerInvocationBase::getTargetOpts ( )
inline

◆ getTargetOpts() [2/2]

const TargetOptions& clang::CompilerInvocationBase::getTargetOpts ( ) const
inline

Definition at line 85 of file CompilerInvocation.h.

◆ operator=()

CompilerInvocationBase& clang::CompilerInvocationBase::operator= ( const CompilerInvocationBase )
delete

Member Data Documentation

◆ DiagnosticOpts

IntrusiveRefCntPtr<DiagnosticOptions> clang::CompilerInvocationBase::DiagnosticOpts

Options controlling the diagnostic engine.

Definition at line 68 of file CompilerInvocation.h.

◆ HeaderSearchOpts

std::shared_ptr<HeaderSearchOptions> clang::CompilerInvocationBase::HeaderSearchOpts

Options controlling the #include directive.

Definition at line 71 of file CompilerInvocation.h.

◆ LangOpts

std::shared_ptr<LangOptions> clang::CompilerInvocationBase::LangOpts

Options controlling the language variant.

Definition at line 62 of file CompilerInvocation.h.

Referenced by clang::CompilerInvocation::CreateFromArgs(), clang::CompilerInvocation::getModuleHash(), and makeStandaloneDiagnostic().

◆ PreprocessorOpts

std::shared_ptr<PreprocessorOptions> clang::CompilerInvocationBase::PreprocessorOpts

Options controlling the preprocessor (aside from #include handling).

Definition at line 74 of file CompilerInvocation.h.

◆ TargetOpts

std::shared_ptr<TargetOptions> clang::CompilerInvocationBase::TargetOpts

Options controlling the target.

Definition at line 65 of file CompilerInvocation.h.

Referenced by clang::CompilerInvocation::getModuleHash().


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