clang API Documentation

Namespaces | Classes | Typedefs | Functions
clang::driver Namespace Reference

Namespaces

namespace  options
namespace  phases
namespace  toolchains
namespace  tools
namespace  types

Classes

class  Action
class  InputAction
class  BindArchAction
class  JobAction
class  PreprocessJobAction
class  PrecompileJobAction
class  AnalyzeJobAction
class  MigrateJobAction
class  CompileJobAction
class  AssembleJobAction
class  LinkJobAction
class  LipoJobAction
class  DsymutilJobAction
class  VerifyJobAction
class  VerifyDebugInfoJobAction
class  VerifyPCHJobAction
class  Compilation
class  Driver
struct  CrashReportInfo
class  Job
class  Command
class  FallbackCommand
class  JobList
 JobList - A sequence of jobs to perform. More...
class  Multilib
class  MultilibSet
class  SanitizerArgs
class  Tool
 Tool - Information on a specific compilation tool. More...
class  ToolChain
 ToolChain - Access to tools for a single platform. More...
class  InputInfo
 InputInfo - Wrapper for information about an input source. More...

Typedefs

typedef SmallVector< InputInfo, 4 > InputInfoList
typedef llvm::DenseMap< const
JobAction *, const char * > 
ArgStringMap
 ArgStringMap - Type used to map a JobAction to its result file.
typedef SmallVector< Action *, 3 > ActionList
 ActionList - Type used for lists of actions.

Functions

bool isOptimizationLevelFast (const llvm::opt::ArgList &Args)
raw_ostream & operator<< (raw_ostream &OS, const Multilib &M)
raw_ostream & operator<< (raw_ostream &OS, const MultilibSet &MS)
llvm::opt::OptTable * createDriverOptTable ()

Typedef Documentation

typedef SmallVector<Action*, 3> clang::driver::ActionList

ActionList - Type used for lists of actions.

Definition at line 27 of file Util.h.

typedef llvm::DenseMap<const JobAction*, const char*> clang::driver::ArgStringMap

ArgStringMap - Type used to map a JobAction to its result file.

Definition at line 21 of file Util.h.

typedef SmallVector<InputInfo, 4> clang::driver::InputInfoList

Definition at line 29 of file Tool.h.


Function Documentation

bool clang::driver::isOptimizationLevelFast ( const llvm::opt::ArgList &  Args)
Returns:
True if the last defined optimization level is -Ofast. And False otherwise.

Definition at line 2145 of file Driver.cpp.

Referenced by clang::driver::ToolChain::AddFastMathRuntimeIfAvailable(), and clang::driver::tools::Clang::ConstructJob().

raw_ostream & clang::driver::operator<< ( raw_ostream &  OS,
const Multilib M 
)

Definition at line 138 of file Multilib.cpp.

References clang::driver::Multilib::print().

raw_ostream & clang::driver::operator<< ( raw_ostream &  OS,
const MultilibSet MS 
)

Definition at line 331 of file Multilib.cpp.

References clang::driver::MultilibSet::print().