clang API Documentation
#include <Tools.h>


Public Member Functions | |
| CC1 (const char *Name, const char *ShortName, const ToolChain &TC) | |
| virtual bool | hasGoodDiagnostics () const |
| Does this tool have "good" standardized diagnostics, or should the driver add an additional "command failed" diagnostic on failures. | |
| virtual bool | hasIntegratedCPP () const |
Static Public Member Functions | |
| static const char * | getBaseInputName (const ArgList &Args, const InputInfoList &Input) |
| static const char * | getBaseInputStem (const ArgList &Args, const InputInfoList &Input) |
| static const char * | getDependencyFileName (const ArgList &Args, const InputInfoList &Inputs) |
Protected Member Functions | |
| const char * | getCC1Name (types::ID Type) const |
| void | AddCC1Args (const ArgList &Args, ArgStringList &CmdArgs) const |
| void | RemoveCC1UnsupportedArgs (ArgStringList &CmdArgs) const |
| void | AddCC1OptionsArgs (const ArgList &Args, ArgStringList &CmdArgs, const InputInfoList &Inputs, const ArgStringList &OutputArgs) const |
| void | AddCPPOptionsArgs (const ArgList &Args, ArgStringList &CmdArgs, const InputInfoList &Inputs, const ArgStringList &OutputArgs) const |
| void | AddCPPUniqueOptionsArgs (const ArgList &Args, ArgStringList &CmdArgs, const InputInfoList &Inputs) const |
| void | AddCPPArgs (const ArgList &Args, ArgStringList &CmdArgs) const |
| clang::driver::tools::darwin::CC1::CC1 | ( | const char * | Name, |
| const char * | ShortName, | ||
| const ToolChain & | TC | ||
| ) | [inline] |
| void darwin::CC1::AddCC1Args | ( | const ArgList & | Args, |
| ArgStringList & | CmdArgs | ||
| ) | const [protected] |
Definition at line 3402 of file Tools.cpp.
References CheckCodeGenerationOptions(), and clang::driver::ArgList::hasArg().
| void darwin::CC1::AddCC1OptionsArgs | ( | const ArgList & | Args, |
| ArgStringList & | CmdArgs, | ||
| const InputInfoList & | Inputs, | ||
| const ArgStringList & | OutputArgs | ||
| ) | const [protected] |
Definition at line 3426 of file Tools.cpp.
References clang::driver::ArgList::AddAllArgs(), clang::driver::ArgList::AddAllArgsTranslated(), clang::driver::ArgList::AddLastArg(), clang::driver::ArgList::ClaimAllArgs(), clang::driver::Driver::Diag(), clang::driver::ArgList::filtered_begin(), clang::driver::ArgList::filtered_end(), clang::driver::Arg::getAsString(), clang::driver::ArgList::getLastArg(), clang::driver::Arg::getValue(), clang::driver::ArgList::hasArg(), and clang::driver::types::isCXX().
| void darwin::CC1::AddCPPArgs | ( | const ArgList & | Args, |
| ArgStringList & | CmdArgs | ||
| ) | const [protected] |
Definition at line 3665 of file Tools.cpp.
References clang::driver::ArgList::hasArg().
| void darwin::CC1::AddCPPOptionsArgs | ( | const ArgList & | Args, |
| ArgStringList & | CmdArgs, | ||
| const InputInfoList & | Inputs, | ||
| const ArgStringList & | OutputArgs | ||
| ) | const [protected] |
| void darwin::CC1::AddCPPUniqueOptionsArgs | ( | const ArgList & | Args, |
| ArgStringList & | CmdArgs, | ||
| const InputInfoList & | Inputs | ||
| ) | const [protected] |
Definition at line 3581 of file Tools.cpp.
References clang::driver::ArgList::AddAllArgs(), clang::driver::ArgList::AddAllArgValues(), clang::driver::ArgList::AddLastArg(), CheckPreprocessingOptions(), clang::driver::InputInfo::getFilename(), clang::driver::ArgList::getLastArg(), clang::driver::Arg::getValue(), and clang::driver::ArgList::hasArg().
| const char * darwin::CC1::getBaseInputName | ( | const ArgList & | Args, |
| const InputInfoList & | Input | ||
| ) | [static] |
Definition at line 3224 of file Tools.cpp.
References clang::driver::ArgList::MakeArgString().
| const char * darwin::CC1::getBaseInputStem | ( | const ArgList & | Args, |
| const InputInfoList & | Input | ||
| ) | [static] |
Definition at line 3230 of file Tools.cpp.
References clang::driver::ArgList::MakeArgString().
| const char * darwin::CC1::getCC1Name | ( | types::ID | Type | ) | const [protected] |
| const char * darwin::CC1::getDependencyFileName | ( | const ArgList & | Args, |
| const InputInfoList & | Inputs | ||
| ) | [static] |
Definition at line 3241 of file Tools.cpp.
References clang::driver::ArgList::getLastArg(), clang::driver::Arg::getValue(), and clang::driver::ArgList::MakeArgString().
| virtual bool clang::driver::tools::darwin::CC1::hasGoodDiagnostics | ( | ) | const [inline, virtual] |
Does this tool have "good" standardized diagnostics, or should the driver add an additional "command failed" diagnostic on failures.
Reimplemented from clang::driver::Tool.
| virtual bool clang::driver::tools::darwin::CC1::hasIntegratedCPP | ( | ) | const [inline, virtual] |
Implements clang::driver::Tool.
| void darwin::CC1::RemoveCC1UnsupportedArgs | ( | ArgStringList & | CmdArgs | ) | const [protected] |