Skip to content

Commit

Permalink
Hotfix: Resolve compilation issue (GCC 8)
Browse files Browse the repository at this point in the history
  • Loading branch information
marceloalencar committed Mar 30, 2021
1 parent 4db99f4 commit 108c045
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion external/bsd/llvm/dist/llvm/include/llvm/IR/ValueMap.h
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ class ValueMap {

~ValueMap() {}

bool hasMD() const { return MDMap; }
bool hasMD() const { return static_cast<bool>(MDMap); }
MDMapT &MD() {
if (!MDMap)
MDMap.reset(new MDMapT);
Expand Down

0 comments on commit 108c045

Please sign in to comment.