From: Sanjoy Das Date: Thu, 2 Jul 2015 18:15:18 +0000 (+0000) Subject: [Statepoints] Make operator bool() explicit. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=1e09eba39d812686e8abf627e8baf94ada99ec9f;p=oota-llvm.git [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 --- 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; }