XFAIL the test cases for r186044 on Hexagon
[oota-llvm.git] / lib / Support / Windows / Windows.h
index 5c1da0d617aa776132943a8042571c346eb8569e..4cdac788a0ed4ff872b7145a503a1582ad203ee3 100644 (file)
@@ -25,6 +25,7 @@
 #define WIN32_LEAN_AND_MEAN
 
 #include "llvm/Config/config.h" // Get build system configuration settings
+#include "llvm/Support/Compiler.h"
 #include <windows.h>
 #include <wincrypt.h>
 #include <shlobj.h>
@@ -75,7 +76,7 @@ public:
   }
 
   // True if Handle is valid.
-  operator bool() const {
+  LLVM_EXPLICIT operator bool() const {
     return HandleTraits::IsValid(Handle) ? true : false;
   }