projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98857b6
)
[Statepoints] Make operator bool() explicit.
author
Sanjoy Das
<sanjoy@playingwithpointers.com>
Thu, 2 Jul 2015 18:15:18 +0000
(18:15 +0000)
committer
Sanjoy Das
<sanjoy@playingwithpointers.com>
Thu, 2 Jul 2015 18:15:18 +0000
(18:15 +0000)
(Addressing post-commit review.)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241288
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/IR/Statepoint.h
patch
|
blob
|
history
diff --git
a/include/llvm/IR/Statepoint.h
b/include/llvm/IR/Statepoint.h
index aeb0ede72c2733526bed6be53326bff3edea6526..4ab1f8497adb619cc357edeaf92da423a5378f89 100644
(file)
--- a/
include/llvm/IR/Statepoint.h
+++ b/
include/llvm/IR/Statepoint.h
@@
-86,7
+86,7
@@
public:
CallArgsBeginPos = 5,
};
- operator bool() const {
+
explicit
operator bool() const {
// We do not assign non-statepoint CallSites to StatepointCS.
return (bool)StatepointCS;
}