]> xenbits.xensource.com Git - people/royger/freebsd.git/commitdiff
Tentatively apply https://reviews.llvm.org/D18730 to work around gcc PR
authordim <dim@FreeBSD.org>
Sat, 10 Dec 2016 22:03:44 +0000 (22:03 +0000)
committerdim <dim@FreeBSD.org>
Sat, 10 Dec 2016 22:03:44 +0000 (22:03 +0000)
70528 (bogus error: constructor required before non-static data member).
This should fix buildworld with the external gcc package.

Reported by: https://jenkins.freebsd.org/job/FreeBSD_HEAD_amd64_gcc/

contrib/llvm/lib/Bitcode/Writer/ValueEnumerator.h

index bff2de70b3ec6d6e6777651a066767a7e258922e..a8d6cf965a4b47a5e683114aac33c8e6e740f4d2 100644 (file)
@@ -95,7 +95,7 @@ private:
     /// Number of strings in the prefix of the metadata range.
     unsigned NumStrings = 0;
 
-    MDRange() = default;
+    MDRange() {}
     explicit MDRange(unsigned First) : First(First) {}
   };
   SmallDenseMap<unsigned, MDRange, 1> FunctionMDInfo;