diff --git a/external/bsd/llvm/dist/llvm/include/llvm/IR/ValueMap.h b/external/bsd/llvm/dist/llvm/include/llvm/IR/ValueMap.h index f2ea405f14..a1ab2a500f 100644 --- a/external/bsd/llvm/dist/llvm/include/llvm/IR/ValueMap.h +++ b/external/bsd/llvm/dist/llvm/include/llvm/IR/ValueMap.h @@ -101,7 +101,7 @@ class ValueMap { ~ValueMap() {} - bool hasMD() const { return MDMap; } + bool hasMD() const { return bool(MDMap); } MDMapT &MD() { if (!MDMap) MDMap.reset(new MDMapT);