Skip to content

Commit

Permalink
[libc++][test] Remove unused macro in is_constructible.pass.cpp. NFC.
Browse files Browse the repository at this point in the history
Test file defines `LIBCPP11_STATIC_ASSERT` but it never uses it now. It
always uses `static_assert` unconditionally. So, remove the unused
macro.
  • Loading branch information
JoeLoser committed Oct 5, 2021
1 parent fe2b2cb commit 0ad9013
Showing 1 changed file with 0 additions and 6 deletions.
Expand Up @@ -14,12 +14,6 @@
#include <type_traits>
#include "test_macros.h"

#if TEST_STD_VER >= 11 && defined(_LIBCPP_VERSION)
#define LIBCPP11_STATIC_ASSERT(...) static_assert(__VA_ARGS__)
#else
#define LIBCPP11_STATIC_ASSERT(...) ((void)0)
#endif

struct A
{
explicit A(int);
Expand Down

0 comments on commit 0ad9013

Please sign in to comment.