From e480fc73f577024be516f9ac474a40b9f8b8690f Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Sat, 10 Dec 2016 22:03:44 +0000 Subject: [PATCH] Tentatively apply https://reviews.llvm.org/D18730 to work around gcc PR 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/llvm/lib/Bitcode/Writer/ValueEnumerator.h b/contrib/llvm/lib/Bitcode/Writer/ValueEnumerator.h index bff2de70b3ec..a8d6cf965a4b 100644 --- a/contrib/llvm/lib/Bitcode/Writer/ValueEnumerator.h +++ b/contrib/llvm/lib/Bitcode/Writer/ValueEnumerator.h @@ -95,7 +95,7 @@ class ValueEnumerator { /// Number of strings in the prefix of the metadata range. unsigned NumStrings = 0; - MDRange() = default; + MDRange() {} explicit MDRange(unsigned First) : First(First) {} }; SmallDenseMap FunctionMDInfo;