Searched refs:NonConstCopy (Results 1 – 9 of 9) sorted by relevance
| /llvm-project-15.0.7/clang/test/CXX/drs/ |
| H A D | dr21xx.cpp | 146 struct NonConstCopy { struct 147 NonConstCopy(NonConstCopy &) = default; 148 NonConstCopy &operator=(NonConstCopy &) = default; 152 static_assert(__is_trivially_constructible(NonConstCopy, NonConstCopy &), ""); 153 static_assert(!__is_trivially_constructible(NonConstCopy, NonConstCopy), ""); 155 static_assert(!__is_trivially_constructible(NonConstCopy, NonConstCopy &&), ""); 158 static_assert(__is_trivially_assignable(NonConstCopy &, NonConstCopy &), ""); 160 static_assert(!__is_trivially_assignable(NonConstCopy &, NonConstCopy), ""); 161 static_assert(!__is_trivially_assignable(NonConstCopy &, NonConstCopy &&), ""); 162 static_assert(__is_trivially_assignable(NonConstCopy &&, NonConstCopy &), ""); [all …]
|
| /llvm-project-15.0.7/clang/test/CXX/special/class.copy/ |
| H A D | p25-0x.cpp | 32 struct NonConstCopy { struct 33 NonConstCopy &operator=(NonConstCopy &) = default; 43 static_assert(__is_trivially_assignable(NonConstCopy &, NonConstCopy &), ""); 44 static_assert(!__is_trivially_assignable(NonConstCopy &, const NonConstCopy &), ""); 45 static_assert(!__is_trivially_assignable(NonConstCopy &, NonConstCopy), ""); 46 static_assert(!__is_trivially_assignable(NonConstCopy &, NonConstCopy &&), ""); 47 static_assert(__is_trivially_assignable(NonConstCopy &&, NonConstCopy &), ""); 48 static_assert(!__is_trivially_assignable(NonConstCopy &&, const NonConstCopy &), ""); 49 static_assert(!__is_trivially_assignable(NonConstCopy &&, NonConstCopy), ""); 50 static_assert(!__is_trivially_assignable(NonConstCopy &&, NonConstCopy &&), ""); [all …]
|
| H A D | p9.cpp | 8 struct NonConstCopy { struct 9 NonConstCopy(); 10 NonConstCopy(NonConstCopy&); 13 struct VirtualInheritsNonConstCopy : virtual NonConstCopy { 18 struct ImplicitNonConstCopy1 : NonConstCopy { // expected-note {{candidate constructor}} 24 NonConstCopy ncc; 29 NonConstCopy ncc_array[2][3];
|
| H A D | p20.cpp | 9 struct NonConstCopy { struct 10 NonConstCopy(); 11 NonConstCopy &operator=(NonConstCopy&); 14 struct VirtualInheritsNonConstCopy : virtual NonConstCopy { 19 struct ImplicitNonConstCopy1 : NonConstCopy { // expected-note{{the implicit copy assignment opera… 25 NonConstCopy ncc; 30 NonConstCopy ncc_array[2][3];
|
| H A D | p12-0x.cpp | 29 struct NonConstCopy { struct 30 NonConstCopy(NonConstCopy &) = default; 34 using _ = not_trivially_copyable<NonConstCopy>; 38 static_assert(__has_trivial_copy(NonConstCopy), ""); 39 static_assert(__is_trivially_constructible(NonConstCopy, NonConstCopy &), ""); 40 static_assert(!__is_trivially_constructible(NonConstCopy, NonConstCopy), ""); 41 static_assert(!__is_trivially_constructible(NonConstCopy, const NonConstCopy &), ""); 42 static_assert(!__is_trivially_constructible(NonConstCopy, NonConstCopy &&), ""); 130 struct NCCTNT : NonConstCopy, TNT {};
|
| H A D | p8-cxx11.cpp | 16 struct NonConstCopy { struct 17 NonConstCopy(NonConstCopy &); 34 struct B : NonConstCopy { ConstCopy a; }; 35 struct C : ConstCopy { NonConstCopy a; };
|
| H A D | p18-cxx11.cpp | 16 struct NonConstCopy { struct 17 NonConstCopy &operator=(NonConstCopy &); 43 struct B : NonConstCopy { ConstCopy a; }; 44 struct C : ConstCopy { NonConstCopy a; };
|
| /llvm-project-15.0.7/clang/test/CXX/expr/expr.prim/expr.prim.lambda/ |
| H A D | templates.cpp | 101 struct NonConstCopy { struct 102 NonConstCopy(const NonConstCopy&) = delete; 103 NonConstCopy(NonConstCopy&); 115 template void double_capture(NonConstCopy&);
|
| H A D | p14.cpp | 11 class NonConstCopy { class 13 NonConstCopy(NonConstCopy&); // expected-note{{would lose const}} 16 void capture_by_copy(NonCopyable nc, NonCopyable &ncr, const NonConstCopy nco) { in capture_by_copy()
|