Home
last modified time | relevance | path

Searched refs:ConvertsTo (Results 1 – 5 of 5) sorted by relevance

/llvm-project-15.0.7/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/
H A Dp5-0x.cpp19 struct ConvertsTo { struct
49 Base&& base4 = ConvertsTo<Base&&>(); in test_rvalue_refs()
50 Base&& base5 = ConvertsTo<Derived&&>(); in test_rvalue_refs()
51 int && int1 = ConvertsTo<int&&>(); in test_rvalue_refs()
54 Base&& base6 = ConvertsTo<Base>(); in test_rvalue_refs()
55 Base&& base7 = ConvertsTo<Derived>(); in test_rvalue_refs()
153 base_rvalue_ref(ConvertsTo<Base&&>()); in test()
154 base_rvalue_ref(ConvertsTo<Derived&&>()); in test()
155 int_rvalue_ref(ConvertsTo<int&&>()); in test()
157 base_rvalue_ref(ConvertsTo<Base>()); in test()
[all …]
/llvm-project-15.0.7/clang/test/SemaObjCXX/
H A Dconversion-ranking.mm16 struct ConvertsTo { struct
40 void test_f1(ConvertsTo<B*> toB, ConvertsTo<C*> toC, ConvertsToBoth toBoth) { argument
68 void test_f4(ConvertsTo<B*> toB, ConvertsTo<C*> toC, ConvertsToBoth toBoth) {
76 void test_f5(ConvertsTo<B*> toB, ConvertsTo<C*> toC, ConvertsToBoth toBoth) {
/llvm-project-15.0.7/libcxx/test/libcxx/utilities/tuple/tuple.tuple/tuple.cnstr/
H A DPR20855_tuple_ref_binding_diagnostics.fail.cpp21 struct ConvertsTo { struct
60 ConvertsTo<int&> ct; in main()
64 ConvertsTo<int> ct; in main()
68 ConvertsTo<Derived> ct; in main()
/llvm-project-15.0.7/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/
H A DPR20855_tuple_ref_binding_diagnostics.pass.cpp30 struct ConvertsTo { struct
49 ASSERT_NOT_REFERENCE_BINDS_TEMPORARY(int&, const ConvertsTo<int&>&); argument
50 ASSERT_NOT_REFERENCE_BINDS_TEMPORARY(const int&, ConvertsTo<int&>&);
82 ConvertsTo<int&> ct; in compile_tests()
/llvm-project-15.0.7/clang/test/SemaTemplate/
H A Dinstantiate-method.cpp67 struct ConvertsTo { struct
71 void test_converts_to(ConvertsTo<int> ci, ConvertsTo<int *> cip) { in test_converts_to()