projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ecee47e
)
Don't return true on a function with a void return type.
author
Chad Rosier
<mcrosier@apple.com>
Wed, 9 May 2012 17:38:47 +0000
(17:38 +0000)
committer
Chad Rosier
<mcrosier@apple.com>
Wed, 9 May 2012 17:38:47 +0000
(17:38 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156484
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Support/Triple.cpp
patch
|
blob
|
history
diff --git
a/lib/Support/Triple.cpp
b/lib/Support/Triple.cpp
index 2a22f754806211a6f2d832eb87fe529a28a81df7..efa2df32657b7267f2bf8d96e6b24e146075a70a 100644
(file)
--- a/
lib/Support/Triple.cpp
+++ b/
lib/Support/Triple.cpp
@@
-609,7
+609,7
@@
void Triple::getiOSVersion(unsigned &Major, unsigned &Minor,
Major = 0;
Minor = 0;
Micro = 0;
-
return true
;
+
break
;
case IOS:
getOSVersion(Major, Minor, Micro);
// Default to 0.0.