1 //===--- TargetOptions.h ----------------------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef LLVM_CLANG_FRONTEND_TARGETOPTIONS_H
11 #define LLVM_CLANG_FRONTEND_TARGETOPTIONS_H
18 /// TargetOptions - Options for controlling the target.
26 /// If given, the name of the target triple to compile for. If not given the
27 /// target will be selected to match the host.
30 /// If given, the name of the target CPU to generate code for.
33 /// If given, the name of the target ABI to use.
36 /// If given, the name of the target C++ ABI to use. If not given, defaults
40 /// The list of target specific features to enable or disable -- this should
41 /// be a list of strings starting with by '+' or '-'.
42 std::vector<std::string> Features;
45 } // end namespace clang