summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2012-05-09 17:38:47 +0000
committerChad Rosier <mcrosier@apple.com>2012-05-09 17:38:47 +0000
commit2778cbc88067333f36a6fa21196a18a731bed3fe (patch)
treec0ab83823c71315f1696ca616f9582cea5767ad3 /llvm/lib/Support
parentd84eaac673f0b7f45995233d58f58cb73d368ce0 (diff)
downloadbcm5719-llvm-2778cbc88067333f36a6fa21196a18a731bed3fe.tar.gz
bcm5719-llvm-2778cbc88067333f36a6fa21196a18a731bed3fe.zip
Don't return true on a function with a void return type.
llvm-svn: 156484
Diffstat (limited to 'llvm/lib/Support')
-rw-r--r--llvm/lib/Support/Triple.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/Triple.cpp b/llvm/lib/Support/Triple.cpp
index 2a22f754806..efa2df32657 100644
--- a/llvm/lib/Support/Triple.cpp
+++ b/llvm/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.
OpenPOWER on IntegriCloud