Replace all weight-based interfaces in MBB with probability-based interfaces, and...
[oota-llvm.git] / include / llvm / Support / StringPool.h
index b51974c946e0a342b0068e590aca7ca33f6c01d7..2ec0c3b76c11f13557ee5f810baa46a3bf7d512d 100644 (file)
@@ -30,9 +30,7 @@
 #define LLVM_SUPPORT_STRINGPOOL_H
 
 #include "llvm/ADT/StringMap.h"
-#include "llvm/Support/Compiler.h"
 #include <cassert>
-#include <new>
 
 namespace llvm {
 
@@ -129,7 +127,7 @@ namespace llvm {
     }
 
     inline const char *operator*() const { return begin(); }
-    inline LLVM_EXPLICIT operator bool() const { return S != nullptr; }
+    inline explicit operator bool() const { return S != nullptr; }
 
     inline bool operator==(const PooledStringPtr &That) const { return S == That.S; }
     inline bool operator!=(const PooledStringPtr &That) const { return S != That.S; }