Home
last modified time | relevance | path

Searched refs:CT_LValue (Results 1 – 4 of 4) sorted by relevance

/external/libcxx/test/std/utilities/variant/variant.visit/
Dvisit.pass.cpp40 CT_LValue = 4, enumerator
52 set_call<Args &&...>(CT_NonConst | CT_LValue); in operator ()()
57 set_call<Args &&...>(CT_Const | CT_LValue); in operator ()()
100 assert(Fn::check_call<>(CT_NonConst | CT_LValue)); in test_call_operator_forwarding()
102 assert(Fn::check_call<>(CT_Const | CT_LValue)); in test_call_operator_forwarding()
112 assert(Fn::check_call<int &>(CT_NonConst | CT_LValue)); in test_call_operator_forwarding()
114 assert(Fn::check_call<int &>(CT_Const | CT_LValue)); in test_call_operator_forwarding()
124 assert(Fn::check_call<long &>(CT_NonConst | CT_LValue)); in test_call_operator_forwarding()
126 assert(Fn::check_call<long &>(CT_Const | CT_LValue)); in test_call_operator_forwarding()
138 assert((Fn::check_call<long &, std::string &>(CT_NonConst | CT_LValue))); in test_call_operator_forwarding()
[all …]
/external/libcxx/test/std/utilities/function.objects/func.not_fn/
Dnot_fn.pass.cpp130 CT_LValue = 4, enumerator
142 set_call<Args&&...>(CT_NonConst | CT_LValue); in operator ()()
148 set_call<Args&&...>(CT_Const | CT_LValue); in operator ()()
475 assert(Fn::check_call<>(CT_NonConst | CT_LValue)); in call_operator_forwarding_test()
479 assert(Fn::check_call<>(CT_Const | CT_LValue)); in call_operator_forwarding_test()
487 assert(Fn::check_call<int&>(CT_NonConst | CT_LValue)); in call_operator_forwarding_test()
489 assert(Fn::check_call<const int&>(CT_NonConst | CT_LValue)); in call_operator_forwarding_test()
491 assert(Fn::check_call<int&&>(CT_NonConst | CT_LValue)); in call_operator_forwarding_test()
493 assert(Fn::check_call<const int&&>(CT_NonConst | CT_LValue)); in call_operator_forwarding_test()
495 assert(Fn::check_call<int&&>(CT_NonConst | CT_LValue)); in call_operator_forwarding_test()
[all …]
/external/llvm-project/libcxx/test/std/utilities/function.objects/func.not_fn/
Dnot_fn.pass.cpp129 CT_LValue = 4, enumerator
141 set_call<Args&&...>(CT_NonConst | CT_LValue); in operator ()()
147 set_call<Args&&...>(CT_Const | CT_LValue); in operator ()()
474 assert(Fn::check_call<>(CT_NonConst | CT_LValue)); in call_operator_forwarding_test()
478 assert(Fn::check_call<>(CT_Const | CT_LValue)); in call_operator_forwarding_test()
486 assert(Fn::check_call<int&>(CT_NonConst | CT_LValue)); in call_operator_forwarding_test()
488 assert(Fn::check_call<const int&>(CT_NonConst | CT_LValue)); in call_operator_forwarding_test()
490 assert(Fn::check_call<int&&>(CT_NonConst | CT_LValue)); in call_operator_forwarding_test()
492 assert(Fn::check_call<const int&&>(CT_NonConst | CT_LValue)); in call_operator_forwarding_test()
494 assert(Fn::check_call<int&&>(CT_NonConst | CT_LValue)); in call_operator_forwarding_test()
[all …]
/external/llvm-project/libcxx/test/std/utilities/variant/variant.visit/
Dvisit.pass.cpp37 CT_LValue = 4, enumerator
50 set_call<Args &&...>(CT_NonConst | CT_LValue); in operator ()()
56 set_call<Args &&...>(CT_Const | CT_LValue); in operator ()()
100 assert(Fn::check_call<>(CT_NonConst | CT_LValue)); in test_call_operator_forwarding()
102 assert(Fn::check_call<>(CT_Const | CT_LValue)); in test_call_operator_forwarding()
112 assert(Fn::check_call<int &>(CT_NonConst | CT_LValue)); in test_call_operator_forwarding()
114 assert(Fn::check_call<int &>(CT_Const | CT_LValue)); in test_call_operator_forwarding()
124 assert(Fn::check_call<long &>(CT_NonConst | CT_LValue)); in test_call_operator_forwarding()
126 assert(Fn::check_call<long &>(CT_Const | CT_LValue)); in test_call_operator_forwarding()
138 assert((Fn::check_call<long &, std::string &>(CT_NonConst | CT_LValue))); in test_call_operator_forwarding()
[all …]