projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7124da
)
Fix pre-commit refacto failure.
author
Daniel Dunbar
<daniel@zuster.org>
Mon, 22 Oct 2012 18:56:43 +0000
(18:56 +0000)
committer
Daniel Dunbar
<daniel@zuster.org>
Mon, 22 Oct 2012 18:56:43 +0000
(18:56 +0000)
llvm-svn: 166431
clang/lib/Basic/Targets.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/Basic/Targets.cpp
b/clang/lib/Basic/Targets.cpp
index
3481b59
..
ba96185
100644
(file)
--- a/
clang/lib/Basic/Targets.cpp
+++ b/
clang/lib/Basic/Targets.cpp
@@
-3214,7
+3214,7
@@
public:
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");