/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/ |
D | bugprone-copy-constructor-init.cpp | 21 class Copyable { class 23 Copyable() = default; 24 Copyable(const Copyable &) = default; 39 class Copyable3 : public Copyable { 76 class X : public Copyable, public EmptyCopyable { 77 X(const X &other) : Copyable(other) {} in X() 92 class X3 : public Copyable, public Copyable2 { 93 X3(const X3 &other) : Copyable(other) {} in X3() 98 class X4 : public Copyable { 99 X4(const X4 &other) : Copyable() {} in X4() [all …]
|
/external/llvm-project/libcxx/test/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.op=/ |
D | lv_value.pass.cpp | 33 class Copyable class 37 Copyable() : data_(0) {} in Copyable() function in Copyable 38 ~Copyable() {data_ = -1;} in ~Copyable() 40 friend bool operator==(const Copyable& x, const Copyable& y) in operator ==() 46 test(std::list<Copyable>()); in main() 47 test(nasty_list<Copyable>()); in main()
|
/external/libcxx/test/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.op=/ |
D | lv_value.pass.cpp | 32 class Copyable class 36 Copyable() : data_(0) {} in Copyable() function in Copyable 37 ~Copyable() {data_ = -1;} in ~Copyable() 39 friend bool operator==(const Copyable& x, const Copyable& y) in operator ==() 45 test(std::list<Copyable>()); in main() 46 test(nasty_list<Copyable>()); in main()
|
/external/llvm-project/clang-tools-extra/docs/clang-tidy/checks/ |
D | bugprone-copy-constructor-init.rst | 11 class Copyable { 13 Copyable() = default; 14 Copyable(const Copyable &) = default; 16 class X2 : public Copyable { 17 X2(const X2 &other) {} // Copyable(other) is missing 25 class X4 : public Copyable { 26 X4(const X4 &other) : Copyable() {} // other is missing
|
/external/llvm-project/libcxx/test/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.insert.iter.op=/ |
D | lv_value.pass.cpp | 33 class Copyable class 37 Copyable() : data_(0) {} in Copyable() function in Copyable 38 ~Copyable() {data_ = -1;} in ~Copyable() 40 friend bool operator==(const Copyable& x, const Copyable& y) in operator ==() 46 test(std::vector<Copyable>()); in main()
|
/external/libcxx/test/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.insert.iter.op=/ |
D | lv_value.pass.cpp | 32 class Copyable class 36 Copyable() : data_(0) {} in Copyable() function in Copyable 37 ~Copyable() {data_ = -1;} in ~Copyable() 39 friend bool operator==(const Copyable& x, const Copyable& y) in operator ==() 45 test(std::vector<Copyable>()); in main()
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/exceptions/ |
D | StackTraceRecoveryCustomExceptionsTest.kt | 19 internal class Copyable(val customData: Int) : Throwable(), CopyableThrowable<Copyable> { class in kotlinx.coroutines.exceptions.StackTraceRecoveryCustomExceptionsTest 23 override fun createCopy(): Copyable { in createCopy() 24 val copy = Copyable(customData) in createCopy() 47 throw Copyable(239) in <lambda>() 50 } catch (e: Copyable) { in <lambda>() 53 assertTrue(cause is Copyable) in <lambda>()
|
/external/llvm-project/libcxx/test/std/utilities/utility/pairs/pairs.pair/ |
D | special_member_generation_test.pass.cpp | 56 test<Copyable>(); in test_constructors_exist() 57 test<Copyable &>(); in test_constructors_exist() 58 test<Copyable &&, false, true>(); in test_constructors_exist() 104 test<Copyable>(); in test_assignment_operator_exists() 105 test<Copyable &>(); in test_assignment_operator_exists() 106 test<Copyable &&>(); in test_assignment_operator_exists()
|
/external/libcxx/test/std/utilities/utility/pairs/pairs.pair/ |
D | special_member_generation_test.pass.cpp | 55 test<Copyable>(); in test_constructors_exist() 56 test<Copyable &>(); in test_constructors_exist() 57 test<Copyable &&, false, true>(); in test_constructors_exist() 103 test<Copyable>(); in test_assignment_operator_exists() 104 test<Copyable &>(); in test_assignment_operator_exists() 105 test<Copyable &&>(); in test_assignment_operator_exists()
|
/external/libcxx/test/support/ |
D | archetypes.ipp | 74 struct Copyable : DEFINE_BASE(Copyable) { 75 using Base = DEFINE_BASE(Copyable); 77 DEFINE_EXPLICIT DEFINE_CONSTEXPR Copyable() DEFINE_NOEXCEPT DEFINE_DEFAULT_CTOR; 78 DEFINE_EXPLICIT DEFINE_CONSTEXPR Copyable(Copyable const &) DEFINE_NOEXCEPT DEFINE_CTOR; 79 Copyable &operator=(Copyable const &) DEFINE_NOEXCEPT DEFINE_ASSIGN; 80 DEFINE_DTOR(Copyable) 159 Copyable,
|
/external/llvm-project/libcxx/test/support/ |
D | archetypes.ipp | 81 struct Copyable : DEFINE_BASE(Copyable) { 82 using Base = DEFINE_BASE(Copyable); 84 DEFINE_EXPLICIT DEFINE_CONSTEXPR Copyable() DEFINE_NOEXCEPT DEFINE_DEFAULT_CTOR; 85 DEFINE_EXPLICIT DEFINE_CONSTEXPR Copyable(Copyable const &) DEFINE_NOEXCEPT DEFINE_CTOR; 86 Copyable &operator=(Copyable const &) DEFINE_NOEXCEPT DEFINE_ASSIGN; 87 DEFINE_DTOR(Copyable) 166 Copyable,
|
/external/llvm-project/clang/test/CodeGenObjCXX/ |
D | lambda-to-block.mm | 28 struct Copyable { struct 29 Copyable(const Copyable &x); field 34 void hasLambda(Copyable x) { argument 64 void testHelperMerging(Copyable x) { argument
|
/external/libcxx/test/std/containers/sequences/vector/ |
D | types.pass.cpp | 86 test<Copyable, test_allocator<Copyable> >(); in main()
|
/external/llvm-project/libcxx/test/std/containers/sequences/vector/ |
D | types.pass.cpp | 89 test<Copyable, test_allocator<Copyable> >(); in main()
|
/external/libcxx/test/std/containers/ |
D | Copyable.h | 13 class Copyable
|
/external/llvm-project/libcxx/test/std/containers/ |
D | Copyable.h | 12 class Copyable
|
/external/llvm-project/libcxx/test/std/containers/sequences/deque/ |
D | types.pass.cpp | 82 test<Copyable, test_allocator<Copyable> >(); in main()
|
/external/libcxx/test/std/containers/sequences/deque/ |
D | types.pass.cpp | 79 test<Copyable, test_allocator<Copyable> >(); in main()
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/random/ |
D | bit_gen_ref_test.cc | 61 TYPED_TEST(BitGenRefTest, Copyable) { in TYPED_TEST() argument
|
/external/openscreen/third_party/abseil/src/absl/random/ |
D | bit_gen_ref_test.cc | 61 TYPED_TEST(BitGenRefTest, Copyable) { in TYPED_TEST() argument
|
/external/libtextclassifier/abseil-cpp/absl/random/ |
D | bit_gen_ref_test.cc | 61 TYPED_TEST(BitGenRefTest, Copyable) { in TYPED_TEST() argument
|
/external/webrtc/third_party/abseil-cpp/absl/random/ |
D | bit_gen_ref_test.cc | 60 TYPED_TEST(BitGenRefTest, Copyable) { in TYPED_TEST() argument
|
/external/abseil-cpp/absl/random/ |
D | bit_gen_ref_test.cc | 60 TYPED_TEST(BitGenRefTest, Copyable) { in TYPED_TEST() argument
|
/external/openscreen/third_party/abseil/src/absl/types/ |
D | optional_test.cc | 137 struct Copyable { struct 138 Copyable() {} in Copyable() argument 139 Copyable(const Copyable&) {} in Copyable() function 140 Copyable& operator=(const Copyable&) { return *this; } in operator =() argument 218 EXPECT_TRUE(std::is_copy_constructible<absl::optional<Copyable>>::value); in TEST() 226 absl::is_trivially_copy_constructible<absl::optional<Copyable>>::value); in TEST() 301 EXPECT_TRUE(std::is_move_constructible<absl::optional<Copyable>>::value); in TEST() 618 EXPECT_TRUE(absl::is_copy_assignable<absl::optional<Copyable>>::value); in TEST() 707 EXPECT_TRUE(absl::is_move_assignable<absl::optional<Copyable>>::value); in TEST()
|
/external/libtextclassifier/abseil-cpp/absl/types/ |
D | optional_test.cc | 137 struct Copyable { struct 138 Copyable() {} in Copyable() function 139 Copyable(const Copyable&) {} in Copyable() argument 140 Copyable& operator=(const Copyable&) { return *this; } in operator =() argument 218 EXPECT_TRUE(std::is_copy_constructible<absl::optional<Copyable>>::value); in TEST() 226 absl::is_trivially_copy_constructible<absl::optional<Copyable>>::value); in TEST() 301 EXPECT_TRUE(std::is_move_constructible<absl::optional<Copyable>>::value); in TEST() 618 EXPECT_TRUE(absl::is_copy_assignable<absl::optional<Copyable>>::value); in TEST() 707 EXPECT_TRUE(absl::is_move_assignable<absl::optional<Copyable>>::value); in TEST()
|