[cfe-commits] r105893 - /cfe/trunk/include/clang/Basic/TargetOptions.h
Charles Davis
cdavis at mines.edu
Sat Jun 12 09:58:00 PDT 2010
Author: cdavis
Date: Sat Jun 12 11:58:00 2010
New Revision: 105893
URL: http://llvm.org/viewvc/llvm-project?rev=105893&view=rev
Log:
Really make the Itanium C++ ABI the default.
Modified:
cfe/trunk/include/clang/Basic/TargetOptions.h
Modified: cfe/trunk/include/clang/Basic/TargetOptions.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/TargetOptions.h?rev=105893&r1=105892&r2=105893&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/TargetOptions.h (original)
+++ cfe/trunk/include/clang/Basic/TargetOptions.h Sat Jun 12 11:58:00 2010
@@ -19,6 +19,10 @@
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;
More information about the cfe-commits
mailing list