[llvm-commits] [llvm] r156484 - /llvm/trunk/lib/Support/Triple.cpp
Chad Rosier
mcrosier at apple.com
Wed May 9 10:38:47 PDT 2012
Author: mcrosier
Date: Wed May 9 12:38:47 2012
New Revision: 156484
URL: http://llvm.org/viewvc/llvm-project?rev=156484&view=rev
Log:
Don't return true on a function with a void return type.
Modified:
llvm/trunk/lib/Support/Triple.cpp
Modified: llvm/trunk/lib/Support/Triple.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/Triple.cpp?rev=156484&r1=156483&r2=156484&view=diff
==============================================================================
--- llvm/trunk/lib/Support/Triple.cpp (original)
+++ llvm/trunk/lib/Support/Triple.cpp Wed May 9 12:38:47 2012
@@ -609,7 +609,7 @@
Major = 0;
Minor = 0;
Micro = 0;
- return true;
+ break;
case IOS:
getOSVersion(Major, Minor, Micro);
// Default to 0.0.
More information about the llvm-commits
mailing list