clang API Documentation

Public Attributes
clang::TargetOptions Class Reference

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 FPMath
 If given, the unit to use for floating point math.
std::string ABI
 If given, the name of the target ABI to use.
std::string LinkerVersion
 If given, the version string of the linker in use.
std::vector< std::string > FeaturesAsWritten
 The list of target specific features to enable or disable, as written on the command line.
std::vector< std::string > Features

Detailed Description

Options for controlling the target.

Definition at line 24 of file TargetOptions.h.


Member Data Documentation

If given, the name of the target ABI to use.

Definition at line 37 of file TargetOptions.h.

Referenced by ParseTargetArgs().

If given, the name of the target CPU to generate code for.

Definition at line 31 of file TargetOptions.h.

Referenced by ParseTargetArgs().

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 47 of file TargetOptions.h.

std::vector<std::string> clang::TargetOptions::FeaturesAsWritten

The list of target specific features to enable or disable, as written on the command line.

Definition at line 43 of file TargetOptions.h.

Referenced by checkTargetOptions(), and ParseTargetArgs().

If given, the unit to use for floating point math.

Definition at line 34 of file TargetOptions.h.

Referenced by ParseTargetArgs().

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

Definition at line 40 of file TargetOptions.h.

Referenced by ParseTargetArgs().

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 28 of file TargetOptions.h.

Referenced by clang::CodeGenAction::ExecuteAction(), HasARCRuntime(), ParseCodeGenArgs(), and ParseTargetArgs().


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