Lines Matching refs:C

65 class C {  class
66 C **after, **before;
71 C(bool x, C **after, C **before) : x(x), after(after), before(before) { in C() function in maintain_original_object_address_on_lifetime_extension::C
76 C(const C &c) : x(c.x), after(nullptr), before(nullptr) {} in C() function in maintain_original_object_address_on_lifetime_extension::C
78 ~C() { if (after) *after = this; } in ~C()
82 static C make(C **after, C **before) { return C(false, after, before); } in make()
86 C *after, *before; in f1()
88 const C &c = C(true, &after, &before); in f1()
99 C *after, *before; in f2()
101 C c = C(1, &after, &before); in f2()
107 C *after, *before; in f3()
109 const C &c = coin ? C(true, &after, &before) : C(false, &after, &before); in f3()
120 C *after, *before; in f4()
123 const C &c = C(coin, &after, &before) ?: C(false, &after, &before); in f4()
148 C *after, *before; in f5()
150 const bool &x = C(true, &after, &before).x; // no-crash in f5()
161 const C &c;
165 C *after, *before; in f6()
167 A a{C(true, &after, &before)}; in f6()
174 C *after, *before; in f7()
176 A a = {C(true, &after, &before)}; in f7()
183 C *after, *before; in f8()
185 A a[2] = {C(false, nullptr, nullptr), C(true, &after, &before)}; in f8()
193 class C { class
197 C() : x(nullptr) {} in C() function in maintain_original_object_address_on_move::C
198 C(int *x) : x(x) {} in C() function in maintain_original_object_address_on_move::C
199 C(const C &c) = delete;
200 C(C &&c) : x(c.x) { c.x = nullptr; } in C() function in maintain_original_object_address_on_move::C
201 C &operator=(C &&c) { in operator =()
206 ~C() { in ~C()
219 C c = C(&x); in f1()
225 C c; in f2()
227 c = C(&x); in f2()
234 class C;
237 C *buf[10];
242 void push(C *c) { in push()
248 class C { class
252 C(AddressVector &v) : v(v) { v.push(this); } in C() function in maintain_address_of_copies::C
253 ~C() { v.push(this); } in ~C()
256 C(C &&c) : v(c.v) { v.push(this); } in C() function in maintain_address_of_copies::C
260 C(const C &c) : v(c.v) { in C() function in maintain_address_of_copies::C
268 static C make(AddressVector &v) { return C(v); } in make()
274 C c = C(v); in f1()
285 const C &c = C::make(v); in f2()
304 C &&c = C::make(v); in f3()
320 C doubleMake(AddressVector &v) { in doubleMake()
321 return C::make(v); in doubleMake()
327 C c = doubleMake(v); in f4()