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/
This commit is contained in:
parent
2fb5d72d58
commit
e480fc73f5
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=309835
@ -95,7 +95,7 @@ class ValueEnumerator {
|
|||||||
/// Number of strings in the prefix of the metadata range.
|
/// Number of strings in the prefix of the metadata range.
|
||||||
unsigned NumStrings = 0;
|
unsigned NumStrings = 0;
|
||||||
|
|
||||||
MDRange() = default;
|
MDRange() {}
|
||||||
explicit MDRange(unsigned First) : First(First) {}
|
explicit MDRange(unsigned First) : First(First) {}
|
||||||
};
|
};
|
||||||
SmallDenseMap<unsigned, MDRange, 1> FunctionMDInfo;
|
SmallDenseMap<unsigned, MDRange, 1> FunctionMDInfo;
|
||||||
|
Loading…
Reference in New Issue
Block a user