Limit workaround for Clang bug to __clang_major__ <= 7
The bug https://bugs.llvm.org/show_bug.cgi?id=33222 is now fixed on Clang trunk, so the workaround won't be needed for Clang 8.0 and later. * include/std/variant (variant) [__clang__]: Limit workaround to Clang 7 and older. From-SVN: r264271
This commit is contained in:
parent
d8d9514c87
commit
08233f0d6e
|
@ -1,3 +1,8 @@
|
||||||
|
2018-09-13 Jonathan Wakely <jwakely@redhat.com>
|
||||||
|
|
||||||
|
* include/std/variant (variant) [__clang__]: Limit workaround to
|
||||||
|
Clang 7 and older.
|
||||||
|
|
||||||
2018-09-11 Jonathan Wakely <jwakely@redhat.com>
|
2018-09-11 Jonathan Wakely <jwakely@redhat.com>
|
||||||
|
|
||||||
PR libstdc++/87278
|
PR libstdc++/87278
|
||||||
|
|
|
@ -1296,7 +1296,7 @@ namespace __variant
|
||||||
|
|
||||||
#undef _VARIANT_RELATION_FUNCTION_TEMPLATE
|
#undef _VARIANT_RELATION_FUNCTION_TEMPLATE
|
||||||
|
|
||||||
#ifdef __clang__
|
#if defined(__clang__) && __clang_major__ <= 7
|
||||||
public:
|
public:
|
||||||
using _Base::_M_u; // See https://bugs.llvm.org/show_bug.cgi?id=31852
|
using _Base::_M_u; // See https://bugs.llvm.org/show_bug.cgi?id=31852
|
||||||
private:
|
private:
|
||||||
|
|
Loading…
Reference in New Issue