Skip to content

Commit f11e25b

Browse files
LLVM-108296 renamed test_hash_enabled_for_type => test_hash_enabled and test_hash_disabled_for_type => test_hash_disabled
1 parent 668c343 commit f11e25b

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

tests/std/tests/P0088R3_variant/test.cpp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -760,7 +760,7 @@ void test_hash_monostate() {
760760
static_assert(std::is_copy_constructible<H>::value, "");
761761
}
762762
{
763-
test_hash_enabled_for_type<std::monostate>();
763+
test_hash_enabled<std::monostate>();
764764
}
765765
}
766766

@@ -795,18 +795,18 @@ namespace hash {
795795
void test_hash_variant_enabled() {
796796
{
797797
#ifndef __EDG__ // TRANSITION, DevCom-10107834
798-
test_hash_enabled_for_type<std::variant<int> >();
799-
test_hash_enabled_for_type<std::variant<int*, long, double, const int> >();
798+
test_hash_enabled<std::variant<int> >();
799+
test_hash_enabled<std::variant<int*, long, double, const int> >();
800800
#endif // ^^^ no workaround ^^^
801801
}
802802
{
803-
test_hash_disabled_for_type<std::variant<int, A>>();
804-
test_hash_disabled_for_type<std::variant<const A, void*>>();
803+
test_hash_disabled<std::variant<int, A>>();
804+
test_hash_disabled<std::variant<const A, void*>>();
805805
}
806806
{
807807
#ifndef __EDG__ // TRANSITION, DevCom-10107834
808-
test_hash_enabled_for_type<std::variant<int, B>>();
809-
test_hash_enabled_for_type<std::variant<const B, int>>();
808+
test_hash_enabled<std::variant<int, B>>();
809+
test_hash_enabled<std::variant<const B, int>>();
810810
#endif // ^^^ no workaround ^^^
811811
}
812812
}

tests/std/tests/P0220R1_optional/test.cpp

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -862,18 +862,18 @@ int run_test()
862862
}
863863
{
864864
#ifndef __EDG__ // TRANSITION, DevCom-10107834
865-
test_hash_enabled_for_type<std::optional<int> >();
866-
test_hash_enabled_for_type<std::optional<int*> >();
867-
test_hash_enabled_for_type<std::optional<const int> >();
868-
test_hash_enabled_for_type<std::optional<int* const> >();
865+
test_hash_enabled<std::optional<int> >();
866+
test_hash_enabled<std::optional<int*> >();
867+
test_hash_enabled<std::optional<const int> >();
868+
test_hash_enabled<std::optional<int* const> >();
869869
#endif // ^^^ no workaround ^^^
870870

871-
test_hash_disabled_for_type<std::optional<A>>();
872-
test_hash_disabled_for_type<std::optional<const A>>();
871+
test_hash_disabled<std::optional<A>>();
872+
test_hash_disabled<std::optional<const A>>();
873873

874874
#ifndef __EDG__ // TRANSITION, DevCom-10107834
875-
test_hash_enabled_for_type<std::optional<B>>();
876-
test_hash_enabled_for_type<std::optional<const B>>();
875+
test_hash_enabled<std::optional<B>>();
876+
test_hash_enabled<std::optional<const B>>();
877877
#endif // ^^^ no workaround ^^^
878878
}
879879

0 commit comments

Comments
 (0)