OSDN Git Service

Fix return type of bool function
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 10 Feb 2016 19:04:12 +0000 (19:04 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 10 Feb 2016 19:04:12 +0000 (19:04 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@260409 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/ADT/Triple.h

index 33a53a5..ac5b2f6 100644 (file)
@@ -392,8 +392,8 @@ public:
   /// isMacOSXVersionLT - Comparison function for checking OS X version
   /// compatibility, which handles supporting skewed version numbering schemes
   /// used by the "darwin" triples.
-  unsigned isMacOSXVersionLT(unsigned Major, unsigned Minor = 0,
-                             unsigned Micro = 0) const {
+  bool isMacOSXVersionLT(unsigned Major, unsigned Minor = 0,
+                         unsigned Micro = 0) const {
     assert(isMacOSX() && "Not an OS X triple!");
 
     // If this is OS X, expect a sane version number.