Skip to content

Commit 0d0f026

Browse files
committed
[libc++] Disables -Wweak-vtables diagnostics.
This is a preparation to use Clang HEAD in the CI.
1 parent 0847c90 commit 0d0f026

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

libcxx/include/__expected/bad_expected_access.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ _LIBCPP_BEGIN_NAMESPACE_STD
2727
template <class _Err>
2828
class bad_expected_access;
2929

30+
_LIBCPP_DIAGNOSTIC_PUSH
31+
_LIBCPP_CLANG_DIAGNOSTIC_IGNORED("-Wweak-vtables")
3032
template <>
3133
class bad_expected_access<void> : public exception {
3234
protected:
@@ -58,6 +60,7 @@ class bad_expected_access : public bad_expected_access<void> {
5860
private:
5961
_Err __unex_;
6062
};
63+
_LIBCPP_DIAGNOSTIC_POP
6164

6265
_LIBCPP_END_NAMESPACE_STD
6366

0 commit comments

Comments
 (0)