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:
a63c149
)
Use the triple's isiOS() method instead of checking the value directly. NFC.
author
Bob Wilson
<bob.wilson@apple.com>
Sun, 19 Oct 2014 02:19:27 +0000
(
02:19
+0000)
committer
Bob Wilson
<bob.wilson@apple.com>
Sun, 19 Oct 2014 02:19:27 +0000
(
02:19
+0000)
llvm-svn: 220158
clang/lib/Basic/Targets.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/Basic/Targets.cpp
b/clang/lib/Basic/Targets.cpp
index
b83acee
..
2798601
100644
(file)
--- a/
clang/lib/Basic/Targets.cpp
+++ b/
clang/lib/Basic/Targets.cpp
@@
-3589,7
+3589,7
@@
public:
MaxVectorAlign = 256;
// The 64-bit iOS simulator uses the builtin bool type for Objective-C.
llvm::Triple T = llvm::Triple(Triple);
- if (T.
getOS() == llvm::Triple::IOS
)
+ if (T.
isiOS()
)
UseSignedCharForObjCBool = false;
DescriptionString = "e-m:o-i64:64-f80:128-n8:16:32:64-S128";
}