[gcc(refs/users/aoliva/heads/testme)] [libstdc++] drop workaround for clang<=7
Alexandre Oliva
aoliva@gcc.gnu.org
Fri Jun 7 03:28:47 GMT 2024
https://gcc.gnu.org/g:c3e23e85d8a348cfaecf1a8885ad02318ade0ad6
commit c3e23e85d8a348cfaecf1a8885ad02318ade0ad6
Author: Alexandre Oliva <oliva@adacore.com>
Date: Fri Jun 7 00:27:15 2024 -0300
[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:
---
libstdc++-v3/include/std/variant | 5 -----
1 file changed, 5 deletions(-)
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<size_t _Np, typename _Vp>
friend constexpr decltype(auto)
More information about the Libstdc++-cvs
mailing list