[cfe-commits] r166431 - /cfe/trunk/lib/Basic/Targets.cpp
Daniel Dunbar
daniel at zuster.org
Mon Oct 22 11:56:43 PDT 2012
Author: ddunbar
Date: Mon Oct 22 13:56:43 2012
New Revision: 166431
URL: http://llvm.org/viewvc/llvm-project?rev=166431&view=rev
Log:
Fix pre-commit refacto failure.
Modified:
cfe/trunk/lib/Basic/Targets.cpp
Modified: cfe/trunk/lib/Basic/Targets.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/Targets.cpp?rev=166431&r1=166430&r2=166431&view=diff
==============================================================================
--- cfe/trunk/lib/Basic/Targets.cpp (original)
+++ cfe/trunk/lib/Basic/Targets.cpp Mon Oct 22 13:56:43 2012
@@ -3214,7 +3214,7 @@
if (ABI == "aapcs" || ABI == "aapcs-linux") {
// M-class CPUs on Darwin follow AAPCS, but not EABI.
- if (!(getTriple().isOSDarwin() == llvm::Triple::IOS && CPUProfile == "M"))
+ if (!(getTriple().isOSDarwin() && CPUProfile == "M"))
Builder.defineMacro("__ARM_EABI__");
Builder.defineMacro("__ARM_PCS", "1");
More information about the cfe-commits
mailing list