clang API Documentation
TargetOptions - Options for controlling the target. More...
#include <TargetOptions.h>

Public Attributes | |
| std::string | Triple |
| std::string | CPU |
| If given, the name of the target CPU to generate code for. | |
| std::string | ABI |
| If given, the name of the target ABI to use. | |
| std::string | CXXABI |
| std::string | LinkerVersion |
| If given, the version string of the linker in use. | |
| std::vector< std::string > | Features |
TargetOptions - Options for controlling the target.
Definition at line 19 of file TargetOptions.h.
| std::string clang::TargetOptions::ABI |
If given, the name of the target ABI to use.
Definition at line 29 of file TargetOptions.h.
Referenced by clang::TargetInfo::CreateTargetInfo(), ParseTargetArgs(), and TargetOptsToArgs().
| std::string clang::TargetOptions::CPU |
If given, the name of the target CPU to generate code for.
Definition at line 26 of file TargetOptions.h.
Referenced by clang::TargetInfo::CreateTargetInfo(), ParseTargetArgs(), and TargetOptsToArgs().
| std::string clang::TargetOptions::CXXABI |
If given, the name of the target C++ ABI to use. If not given, defaults to "itanium".
Definition at line 33 of file TargetOptions.h.
Referenced by clang::TargetInfo::CreateTargetInfo(), ParseTargetArgs(), and TargetOptsToArgs().
| std::vector<std::string> clang::TargetOptions::Features |
The list of target specific features to enable or disable -- this should be a list of strings starting with by '+' or '-'.
Definition at line 40 of file TargetOptions.h.
Referenced by clang::TargetInfo::CreateTargetInfo(), clang::ASTUnit::LoadFromCompilerInvocationAction(), ParseTargetArgs(), and TargetOptsToArgs().
| std::string clang::TargetOptions::LinkerVersion |
If given, the version string of the linker in use.
Definition at line 36 of file TargetOptions.h.
Referenced by ParseTargetArgs(), and TargetOptsToArgs().
| std::string clang::TargetOptions::Triple |
If given, the name of the target triple to compile for. If not given the target will be selected to match the host.
Definition at line 23 of file TargetOptions.h.
Referenced by clang::TargetInfo::CreateTargetInfo(), HasARCRuntime(), clang::ModuleMapParser::ModuleMapParser(), ParseTargetArgs(), and TargetOptsToArgs().