From b661eed4d9ee7a8213e7c79afb8675ab92c1c878 Mon Sep 17 00:00:00 2001 From: Charles Davis Date: Sat, 12 Jun 2010 16:58:00 +0000 Subject: [PATCH] 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 --- include/clang/Basic/TargetOptions.h | 4 ++++ 1 file changed, 4 insertions(+) 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; -- 2.40.0