From 108c04544480de8049681916e55955c404c236e5 Mon Sep 17 00:00:00 2001 From: Marcelo Alencar Date: Tue, 30 Mar 2021 01:04:25 -0300 Subject: [PATCH] Hotfix: Resolve compilation issue (GCC 8) This fixes compilation according to #301 and #310. --- external/bsd/llvm/dist/llvm/include/llvm/IR/ValueMap.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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..f9a1a6240e 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 static_cast(MDMap); } MDMapT &MD() { if (!MDMap) MDMap.reset(new MDMapT);