Removing LLVM_EXPLICIT, as MSVC 2012 was the last reason for requiring the macro...
[oota-llvm.git] / include / llvm / IR / DebugInfo.h
index 2c43f23b60c7486c84becb7f06a7002c88c4ad8b..73b4b1693b0218af9abe10f4e74e2b96ca89d08a 100644 (file)
@@ -186,7 +186,7 @@ public:
   // FIXME: This operator bool isn't actually protecting anything at the
   // moment due to the conversion operator above making DIDescriptor nodes
   // implicitly convertable to bool.
-  LLVM_EXPLICIT operator bool() const { return DbgNode != nullptr; }
+  explicit operator bool() const { return DbgNode != nullptr; }
 
   bool operator==(DIDescriptor Other) const { return DbgNode == Other.DbgNode; }
   bool operator!=(DIDescriptor Other) const { return !operator==(Other); }