[llvm] r260409 - Fix return type of bool function
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 10 11:04:12 PST 2016
Author: arsenm
Date: Wed Feb 10 13:04:12 2016
New Revision: 260409
URL: http://llvm.org/viewvc/llvm-project?rev=260409&view=rev
Log:
Fix return type of bool function
Modified:
llvm/trunk/include/llvm/ADT/Triple.h
Modified: llvm/trunk/include/llvm/ADT/Triple.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ADT/Triple.h?rev=260409&r1=260408&r2=260409&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ADT/Triple.h (original)
+++ llvm/trunk/include/llvm/ADT/Triple.h Wed Feb 10 13:04:12 2016
@@ -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.
More information about the llvm-commits
mailing list