Home
last modified time | relevance | path

Searched refs:CT_Const (Results 1 – 3 of 3) sorted by relevance

/external/libcxx/test/std/utilities/function.objects/func.not_fn/
Dnot_fn.pass.cpp129 CT_Const = 2, enumerator
148 set_call<Args&&...>(CT_Const | CT_LValue); in operator ()()
161 set_call<Args&&...>(CT_Const | CT_RValue); in operator ()()
475 assert(Fn::check_call<>(CT_Const | CT_LValue)); in call_operator_forwarding_test()
477 assert(Fn::check_call<>(CT_Const | CT_RValue)); in call_operator_forwarding_test()
511 assert(Fn::check_call<int&>(CT_Const | CT_LValue)); in call_operator_forwarding_test()
513 assert(Fn::check_call<const int&>(CT_Const | CT_LValue)); in call_operator_forwarding_test()
515 assert(Fn::check_call<int&&>(CT_Const | CT_LValue)); in call_operator_forwarding_test()
517 assert(Fn::check_call<const int&&>(CT_Const | CT_LValue)); in call_operator_forwarding_test()
519 assert(Fn::check_call<int&&>(CT_Const | CT_LValue)); in call_operator_forwarding_test()
[all …]
/external/libcxx/test/std/utilities/variant/variant.visit/
Dvisit.pass.cpp31 CT_Const = 2, enumerator
49 set_call<Args &&...>(CT_Const | CT_LValue); in operator ()()
60 set_call<Args &&...>(CT_Const | CT_RValue); in operator ()()
96 assert(Fn::check_call<int &>(CT_Const | CT_LValue)); in test_call_operator_forwarding()
100 assert(Fn::check_call<int &>(CT_Const | CT_RValue)); in test_call_operator_forwarding()
108 assert(Fn::check_call<long &>(CT_Const | CT_LValue)); in test_call_operator_forwarding()
112 assert(Fn::check_call<long &>(CT_Const | CT_RValue)); in test_call_operator_forwarding()
122 assert((Fn::check_call<long &, std::string &>(CT_Const | CT_LValue))); in test_call_operator_forwarding()
126 assert((Fn::check_call<long &, std::string &>(CT_Const | CT_RValue))); in test_call_operator_forwarding()
/external/clang/lib/Sema/
DSemaCast.cpp41 CT_Const, ///< const_cast enumerator
313 case CT_Const: in tryDiagnoseOverloadedCast()
738 Self.Diag(OpRange.getBegin(), msg) << CT_Const in CheckConstCast()