Searched refs:NonConstCopy (Results 1 - 8 of 8) sorted by relevance

/external/clang/test/CXX/special/class.copy/
H A Dp20.cpp8 struct NonConstCopy { struct
9 NonConstCopy();
10 NonConstCopy &operator=(NonConstCopy&);
13 struct VirtualInheritsNonConstCopy : virtual NonConstCopy {
18 struct ImplicitNonConstCopy1 : NonConstCopy { // expected-note{{the implicit copy assignment operator}}
24 NonConstCopy ncc;
29 NonConstCopy ncc_array[2][3];
H A Dp9.cpp8 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 Dp18-cxx11.cpp16 struct NonConstCopy { struct
17 NonConstCopy &operator=(NonConstCopy &);
43 struct B : NonConstCopy { ConstCopy a; };
44 struct C : ConstCopy { NonConstCopy a; };
H A Dp8-cxx11.cpp16 struct NonConstCopy { struct
17 NonConstCopy(NonConstCopy &);
34 struct B : NonConstCopy { ConstCopy a; };
35 struct C : ConstCopy { NonConstCopy a; };
H A Dp12-0x.cpp28 struct NonConstCopy { struct
29 NonConstCopy(NonConstCopy &) = default;
31 using _ = not_trivially_copyable<NonConstCopy>;
111 struct NCCTNT : NonConstCopy, TNT {};
H A Dp25-0x.cpp31 struct NonConstCopy { struct
32 NonConstCopy &operator=(NonConstCopy &) = default;
34 using _ = not_trivially_assignable<NonConstCopy>;
105 struct NCCTNT : NonConstCopy, TNT {};
/external/clang/test/CXX/expr/expr.prim/expr.prim.lambda/
H A Dp14.cpp11 class NonConstCopy { class
13 NonConstCopy(NonConstCopy&); // expected-note{{would lose const}}
16 void capture_by_copy(NonCopyable nc, NonCopyable &ncr, const NonConstCopy nco) {
22 [nco] {}(); // expected-error{{no matching constructor for initialization of 'const NonConstCopy'}}
H A Dtemplates.cpp102 struct NonConstCopy { struct in namespace:p5
103 NonConstCopy(const NonConstCopy&) = delete;
104 NonConstCopy(NonConstCopy&);
116 template void double_capture(NonConstCopy&);

Completed in 388 milliseconds