diff options
Diffstat (limited to 'gnu/packages/patches/llvm-3.x.1-fix-build-with-gcc.patch')
-rw-r--r-- | gnu/packages/patches/llvm-3.x.1-fix-build-with-gcc.patch | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/gnu/packages/patches/llvm-3.x.1-fix-build-with-gcc.patch b/gnu/packages/patches/llvm-3.x.1-fix-build-with-gcc.patch deleted file mode 100644 index 75236c4069..0000000000 --- a/gnu/packages/patches/llvm-3.x.1-fix-build-with-gcc.patch +++ /dev/null @@ -1,15 +0,0 @@ -Patch from https://github.com/digego/extempore/issues/318 - -diff --git a/include/llvm/IR/ValueMap.h.orig b/include/llvm/IR/ValueMap.h -index ad518ac..d928f6a 100644 ---- a/include/llvm/IR/ValueMap.h -+++ b/include/llvm/IR/ValueMap.h -@@ -99,7 +99,7 @@ - explicit ValueMap(const ExtraData &Data, unsigned NumInitBuckets = 64) - : Map(NumInitBuckets), Data(Data) {} - -- bool hasMD() const { return MDMap; } -+ bool hasMD() const { return static_cast<bool>(MDMap); } - MDMapT &MD() { - if (!MDMap) - MDMap.reset(new MDMapT); |