diff --git a/libcxx/test/std/concepts/concepts.callable/concept.invocable/invocable.compile.pass.cpp b/libcxx/test/std/concepts/concepts.callable/concept.invocable/invocable.compile.pass.cpp --- a/libcxx/test/std/concepts/concepts.callable/concept.invocable/invocable.compile.pass.cpp +++ b/libcxx/test/std/concepts/concepts.callable/concept.invocable/invocable.compile.pass.cpp @@ -237,11 +237,10 @@ } // namespace function_objects namespace pointer_to_member_functions { -// clang-format off template constexpr bool check_member_is_invocable() { - constexpr bool result = std::invocable; + constexpr bool result = std::invocable; using uncv_t = std::remove_cvref_t; static_assert(std::invocable == result); static_assert(std::invocable, Args...> == result); @@ -254,7 +253,6 @@ static_assert(!std::invocable); return result; } -// clang-format on static_assert(check_member_is_invocable()); static_assert(std::invocable); diff --git a/libcxx/test/std/concepts/concepts.callable/concept.regularinvocable/regular_invocable.compile.pass.cpp b/libcxx/test/std/concepts/concepts.callable/concept.regularinvocable/regular_invocable.compile.pass.cpp --- a/libcxx/test/std/concepts/concepts.callable/concept.regularinvocable/regular_invocable.compile.pass.cpp +++ b/libcxx/test/std/concepts/concepts.callable/concept.regularinvocable/regular_invocable.compile.pass.cpp @@ -263,11 +263,10 @@ } // namespace function_objects namespace pointer_to_member_functions { -// clang-format off template constexpr bool check_member_is_invocable() { - constexpr bool result = std::regular_invocable; + constexpr bool result = std::regular_invocable; using uncv_t = std::remove_cvref_t; static_assert(std::regular_invocable == result); static_assert(std::regular_invocable, Args...> == result); @@ -280,7 +279,6 @@ static_assert(!std::regular_invocable); return result; } -// clang-format on static_assert(check_member_is_invocable()); static_assert(std::regular_invocable); diff --git a/libcxx/test/std/ranges/range.access/data.pass.cpp b/libcxx/test/std/ranges/range.access/data.pass.cpp --- a/libcxx/test/std/ranges/range.access/data.pass.cpp +++ b/libcxx/test/std/ranges/range.access/data.pass.cpp @@ -25,8 +25,8 @@ struct Incomplete; static_assert(!std::is_invocable_v); -static_assert(!std::is_invocable_v); -static_assert(!std::is_invocable_v); +static_assert(!std::is_invocable_v); +static_assert(!std::is_invocable_v); static_assert(!std::is_invocable_v); static_assert(!std::is_invocable_v); static_assert( std::is_invocable_v);