summaryrefslogtreecommitdiffstats
path: root/include/clang/Basic/TargetOptions.h
diff options
context:
space:
mode:
authorCharles Davis <cdavis@mines.edu>2010-06-11 01:06:47 +0000
committerCharles Davis <cdavis@mines.edu>2010-06-11 01:06:47 +0000
commit98b7c5c496dfccb39287b8f7d8f1444594936d10 (patch)
tree5b57495e053746c8c6b904d93dc90ad8bee71a7a /include/clang/Basic/TargetOptions.h
parent6c321e35008f2c99eeb1409b43859a04c48e5ce5 (diff)
Add an option to specify the target C++ ABI to the frontend. Use it to
select either the default Itanium ABI or the new, experimental Microsoft ABI. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105804 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/TargetOptions.h')
-rw-r--r--include/clang/Basic/TargetOptions.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/clang/Basic/TargetOptions.h b/include/clang/Basic/TargetOptions.h
index eeaab1558f..cec8f53158 100644
--- a/include/clang/Basic/TargetOptions.h
+++ b/include/clang/Basic/TargetOptions.h
@@ -29,6 +29,10 @@ public:
/// If given, the name of the target ABI to use.
std::string ABI;
+ /// If given, the name of the target C++ ABI to use. If not given, defaults
+ /// to "itanium".
+ std::string CXXABI;
+
/// The list of target specific features to enable or disable -- this should
/// be a list of strings starting with by '+' or '-'.
std::vector<std::string> Features;