clang API Documentation

Public Attributes
clang::TargetOptions Class Reference

TargetOptions - Options for controlling the target. More...

#include <TargetOptions.h>

Collaboration diagram for clang::TargetOptions:
Collaboration graph
[legend]

List of all members.

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

Detailed Description

TargetOptions - Options for controlling the target.

Definition at line 19 of file TargetOptions.h.


Member Data Documentation

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().

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().

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().

If given, the version string of the linker in use.

Definition at line 36 of file TargetOptions.h.

Referenced by ParseTargetArgs(), and TargetOptsToArgs().

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().


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