Limit workaround for Clang bug to __clang_major__ <= 7
authorJonathan Wakely <jwakely@redhat.com>
Thu, 13 Sep 2018 13:47:14 +0000 (14:47 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Thu, 13 Sep 2018 13:47:14 +0000 (14:47 +0100)
commit08233f0d6eae9d780d787e8c61cbc051bfe6af43
treeaf442eb37f7378baf287f6ffc73cfbb4e52bf93d
parentd8d9514c872857d35c69331bf672b8eb94939e21
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
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/variant