From 1e09eba39d812686e8abf627e8baf94ada99ec9f Mon Sep 17 00:00:00 2001 From: Sanjoy Das Date: Thu, 2 Jul 2015 18:15:18 +0000 Subject: [PATCH] [Statepoints] Make operator bool() explicit. (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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/llvm/IR/Statepoint.h b/include/llvm/IR/Statepoint.h index aeb0ede72c2..4ab1f8497ad 100644 --- 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; } -- 2.34.1