summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSanjoy Das <sanjoy@playingwithpointers.com>2015-07-02 18:15:18 +0000
committerSanjoy Das <sanjoy@playingwithpointers.com>2015-07-02 18:15:18 +0000
commitb1ca4eb6ae07133c54dd1953d2ace666d358bf33 (patch)
treefb6606f705ce37860d6bcff7e6e5a8edec38fb9b
parentae9f2b9b2432be764142d50142c2067ad1cd0f17 (diff)
downloadbcm5719-llvm-b1ca4eb6ae07133c54dd1953d2ace666d358bf33.tar.gz
bcm5719-llvm-b1ca4eb6ae07133c54dd1953d2ace666d358bf33.zip
[Statepoints] Make operator bool() explicit.
(Addressing post-commit review.) llvm-svn: 241288
-rw-r--r--llvm/include/llvm/IR/Statepoint.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/IR/Statepoint.h b/llvm/include/llvm/IR/Statepoint.h
index aeb0ede72c2..4ab1f8497ad 100644
--- a/llvm/include/llvm/IR/Statepoint.h
+++ b/llvm/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;
}
OpenPOWER on IntegriCloud