From: Alexandre Oliva Date: Fri, 7 Jun 2024 10:00:11 +0000 (-0300) Subject: [libstdc++] drop workaround for clang<=7 X-Git-Tag: basepoints/gcc-16~8455 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b6a9deb1e2ae01ee906e78e06e3a1b073d20e023;p=thirdparty%2Fgcc.git [libstdc++] drop workaround for clang<=7 In response to a request in the review of the patch that introduced _GLIBCXX_CLANG, this patch removes from std/variant an obsolete workaround for clang 7-. for libstdc++-v3/ChangeLog * include/std/variant: Drop obsolete workaround. --- diff --git a/libstdc++-v3/include/std/variant b/libstdc++-v3/include/std/variant index 51aaa620851..13ea1dd3849 100644 --- a/libstdc++-v3/include/std/variant +++ b/libstdc++-v3/include/std/variant @@ -1758,11 +1758,6 @@ namespace __detail::__variant }, __rhs); } -#if defined(_GLIBCXX_CLANG) && __clang_major__ <= 7 - public: - using _Base::_M_u; // See https://bugs.llvm.org/show_bug.cgi?id=31852 -#endif - private: template friend constexpr decltype(auto)