Home
last modified time | relevance | path

Searched refs:copy_ctor (Results 1 – 10 of 10) sorted by relevance

/external/llvm-project/libcxx/test/std/utilities/utility/forward/
Dmove.pass.cpp40 int copy_ctor = 0; variable
45 A(const A&) {++copy_ctor;} in A()
76 assert(copy_ctor == 0); in main()
80 assert(copy_ctor == 1); in main()
84 assert(copy_ctor == 1); in main()
88 assert(copy_ctor == 2); in main()
92 assert(copy_ctor == 3); in main()
/external/libcxx/test/std/utilities/utility/forward/
Dmove.pass.cpp43 int copy_ctor = 0; variable
48 A(const A&) {++copy_ctor;} in A()
82 assert(copy_ctor == 0); in main()
86 assert(copy_ctor == 1); in main()
90 assert(copy_ctor == 1); in main()
94 assert(copy_ctor == 2); in main()
98 assert(copy_ctor == 3); in main()
/external/clang/test/CodeGenCXX/
Dwasm-args-returns.cpp40 struct copy_ctor { struct
42 copy_ctor(copy_ctor const&); argument
44 test(copy_ctor);
/external/llvm-project/clang/test/CodeGenCXX/
Dwasm-args-returns.cpp44 struct copy_ctor { struct
46 copy_ctor(copy_ctor const &); argument
48 test(copy_ctor);
/external/llvm-project/llvm/test/Transforms/ArgumentPromotion/X86/
Dthiscall.ll22 ; ARGPROMOTION-NEXT: [[CALL:%.*]] = call x86_thiscallcc %struct.a* @copy_ctor(%struct.a* [[TMP1]…
32 ; GLOBALOPT_ARGPROMOTION-NEXT: [[CALL:%.*]] = call x86_thiscallcc %struct.a* @copy_ctor(%struct.…
40 %call = call x86_thiscallcc %struct.a* @copy_ctor(%struct.a* %1, %struct.a* dereferenceable(1) %a)
70 declare x86_thiscallcc %struct.a* @copy_ctor(%struct.a* returned, %struct.a* dereferenceable(1))
/external/openscreen/osp/impl/discovery/mdns/
Ddomain_name_unittest.cc43 DomainName copy_ctor(original); in TEST() local
44 EXPECT_EQ(copy_ctor.domain_name(), original.domain_name()); in TEST()
46 DomainName move_ctor(std::move(copy_ctor)); in TEST()
/external/llvm-project/llvm/test/Transforms/Attributor/ArgumentPromotion/X86/
Dthiscall.ll24 ; CHECK-NEXT: [[CALL:%.*]] = call x86_thiscallcc %struct.a* @copy_ctor(%struct.a* noundef nonnul…
32 %call = call x86_thiscallcc %struct.a* @copy_ctor(%struct.a* %1, %struct.a* dereferenceable(1) %a)
54 declare x86_thiscallcc %struct.a* @copy_ctor(%struct.a* returned, %struct.a* dereferenceable(1))
/external/llvm-project/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/
Dcopy.pass.cpp28 TEST_CASE(copy_ctor) { in TEST_CASE() argument
/external/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/
Dcopy.pass.cpp29 TEST_CASE(copy_ctor) { in TEST_CASE() argument
/external/llvm-project/clang/test/SemaCXX/
Dcxx2a-consteval.cpp546 namespace copy_ctor { namespace