Home
last modified time | relevance | path

Searched refs:ImplicitCopy (Results 1 – 7 of 7) sorted by relevance

/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/
Dconst_Types.pass.cpp58 struct ImplicitCopy { struct
59 explicit ImplicitCopy(int) {} in ImplicitCopy() argument
60 ImplicitCopy(ImplicitCopy const&) {} in ImplicitCopy() argument
65 std::tuple<ImplicitCopy> testImplicitCopy1() { in testImplicitCopy1()
66 ImplicitCopy i(42); in testImplicitCopy1()
70 std::tuple<ImplicitCopy> testImplicitCopy2() { in testImplicitCopy2()
71 const ImplicitCopy i(42); in testImplicitCopy2()
75 std::tuple<ImplicitCopy> testImplicitCopy3() { in testImplicitCopy3()
76 const ImplicitCopy i(42); in testImplicitCopy3()
Dalloc_const_Types.pass.cpp27 struct ImplicitCopy { struct
28 explicit ImplicitCopy(int) {} in ImplicitCopy() function
29 ImplicitCopy(ImplicitCopy const&) {} in ImplicitCopy() function
34 std::tuple<ImplicitCopy> testImplicitCopy1() { in testImplicitCopy1()
35 ImplicitCopy i(42); in testImplicitCopy1()
39 std::tuple<ImplicitCopy> testImplicitCopy2() { in testImplicitCopy2()
40 const ImplicitCopy i(42); in testImplicitCopy2()
/external/libcxx/test/support/test.support/
Dtest_convertible_header.pass.cpp36 struct ImplicitCopy { struct
37 ImplicitCopy(ImplicitCopy const&) {} in ImplicitCopy() function
39 static_assert(test_convertible<ImplicitCopy, ImplicitCopy>(), "Must be convertible");
/external/clang/test/CodeGenCXX/
Deh-aggregate-copy-destroy.cpp6 struct ImplicitCopy { struct
8 ImplicitCopy() { x = 10; } in ImplicitCopy() argument
9 ~ImplicitCopy() { x = 20; } in ~ImplicitCopy() argument
18 ImplicitCopy b[2];
Deh-aggregated-inits.cpp9 struct ImplicitCopy { struct
12 ImplicitCopy() { id = 10; } in ImplicitCopy() argument
13 ~ImplicitCopy() { id = 20; } in ~ImplicitCopy() argument
25 ImplicitCopy o1; // memcpy-able member.
Deh-aggregated-inits-unwind.cpp9 struct ImplicitCopy { struct
11 ImplicitCopy() { id = 10; } in ImplicitCopy() function
12 ~ImplicitCopy() { id = 20; } in ~ImplicitCopy() argument
27 ImplicitCopy o1;
Dmicrosoft-abi-structors.cpp428 struct ImplicitCopy { struct
430 virtual ~ImplicitCopy();
432 void CreateCopy(ImplicitCopy *a) { in CreateCopy()
433 new ImplicitCopy(*a); in CreateCopy()