Home
last modified time | relevance | path

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

/external/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/
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()
58 int (&&function1)(int) = ConvertsTo<int(&)(int)>(); in test_rvalue_refs()
64 …int &&int2 = ConvertsTo<int&>(); // expected-error{{no viable conversion from 'ConvertsTo<int &>' … in test_rvalue_refs()
65 …int &&int3 = ConvertsTo<float&>(); // expected-error{{no viable conversion from 'ConvertsTo<float … in test_rvalue_refs()
86 NonCopyable &&nc8 = ConvertsTo<NonCopyable&&>(); in test_direct_binding()
[all …]
/external/clang/test/SemaObjCXX/
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) {
/external/libcxx/test/libcxx/utilities/tuple/tuple.tuple/tuple.cnstr/
DPR20855_tuple_ref_binding_diagnostics.fail.cpp26 struct ConvertsTo { struct
65 ConvertsTo<int&> ct; in main()
69 ConvertsTo<int> ct; in main()
73 ConvertsTo<Derived> ct; in main()
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/
DPR20855_tuple_ref_binding_diagnostics.pass.cpp32 struct ConvertsTo { struct
51 ASSERT_NOT_REFERENCE_BINDS_TEMPORARY(int&, const ConvertsTo<int&>&); argument
52 ASSERT_NOT_REFERENCE_BINDS_TEMPORARY(const int&, ConvertsTo<int&>&);
84 ConvertsTo<int&> ct; in compile_tests()
/external/clang/test/SemaTemplate/
Dinstantiate-method.cpp67 struct ConvertsTo { struct
71 void test_converts_to(ConvertsTo<int> ci, ConvertsTo<int *> cip) { in test_converts_to()