summaryrefslogtreecommitdiff
path: root/include/clang/Basic/TargetOptions.h
diff options
context:
space:
mode:
authorCharles Davis <cdavis@mines.edu>2010-06-12 16:58:00 +0000
committerCharles Davis <cdavis@mines.edu>2010-06-12 16:58:00 +0000
commitb661eed4d9ee7a8213e7c79afb8675ab92c1c878 (patch)
treef8674566cd6f547f92076267784caadd969310ab /include/clang/Basic/TargetOptions.h
parent6133aeb97da5cab2d75c5f2c2f2561ea1b8fd0ff (diff)
downloadclang-b661eed4d9ee7a8213e7c79afb8675ab92c1c878.tar.gz
Really make the Itanium C++ ABI the default.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105893 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 cec8f53158..19b0cbbf58 100644
--- a/include/clang/Basic/TargetOptions.h
+++ b/include/clang/Basic/TargetOptions.h
@@ -19,6 +19,10 @@ namespace clang {
class TargetOptions {
public:
+ TargetOptions() {
+ CXXABI = "itanium";
+ }
+
/// If given, the name of the target triple to compile for. If not given the
/// target will be selected to match the host.
std::string Triple;