Fix return type of bool function

llvm-svn: 260409
This commit is contained in:
Matt Arsenault 2016-02-10 19:04:12 +00:00
parent 0919a84071
commit 38c177ac1d
1 changed files with 2 additions and 2 deletions

View File

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