OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f38049c
)
Fix return type of bool function
author
Matt Arsenault
<Matthew.Arsenault@amd.com>
Wed, 10 Feb 2016 19:04:12 +0000
(19:04 +0000)
committer
Matt 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
patch
|
blob
|
history
diff --git
a/include/llvm/ADT/Triple.h
b/include/llvm/ADT/Triple.h
index
33a53a5
..
ac5b2f6
100644
(file)
--- a/
include/llvm/ADT/Triple.h
+++ b/
include/llvm/ADT/Triple.h
@@
-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.