Removing LLVM_EXPLICIT, as MSVC 2012 was the last reason for requiring the macro...
[oota-llvm.git] / include / llvm / ADT / Optional.h
index 4e48bebf59a935cf0a3b90adf294a865f21f4d7c..855ab890392ee26e103e36f7aee3b469c15c7176 100644 (file)
@@ -121,7 +121,7 @@ public:
   const T& getValue() const LLVM_LVALUE_FUNCTION { assert(hasVal); return *getPointer(); }
   T& getValue() LLVM_LVALUE_FUNCTION { assert(hasVal); return *getPointer(); }
 
-  LLVM_EXPLICIT operator bool() const { return hasVal; }
+  explicit operator bool() const { return hasVal; }
   bool hasValue() const { return hasVal; }
   const T* operator->() const { return getPointer(); }
   T* operator->() { return getPointer(); }