Lines Matching full:other

11 OL::OL(const OL &Other) : Field(Other.Field) {}  in OL()  argument
13 // CHECK-FIXES: OL::OL(const OL &Other) = default;
14 OL &OL::operator=(const OL &Other) { in operator =() argument
15 Field = Other.Field; in operator =()
19 // CHECK-FIXES: OL &OL::operator=(const OL &Other) = default;
23 IL(const IL &Other) : Field(Other.Field) {} in IL()
25 // CHECK-FIXES: IL(const IL &Other) = default;
26 IL &operator=(const IL &Other) { in operator =()
27 Field = Other.Field; in operator =()
31 // CHECK-FIXES: IL &operator=(const IL &Other) = default;
37 NU(const NU &Other) : Field(Other.Field) {} in NU() argument
38 // CHECK-FIXES: NU(const NU &Other) :
39 NU &operator=(const NU &Other) { in operator =() argument
40 Field = Other.Field; in operator =()
43 // CHECK-FIXES: NU &operator=(const NU &Other) {
49 SU(const SU &Other) : Field(Other.Field) {} in SU()
50 // CHECK-FIXES: SU(const SU &Other) :
51 SU &operator=(const SU &Other) { in operator =()
52 Field = Other.Field; in operator =()
55 // CHECK-FIXES: SU &operator=(const SU &Other) {
63 WT(const IL &Other) {} in WT()
66 WT &WT::operator=(const IL &Other) { return *this; } in operator =() argument
70 Qual(const Qual &Other) : Field(Other.Field), Volatile(Other.Volatile), in Qual()
71 Mutable(Other.Mutable), Reference(Other.Reference), in Qual()
72 Const(Other.Const) {} in Qual()
74 // CHECK-FIXES: Qual(const Qual &Other)
87 WI(const WI &Other) : Field1(Other.Field1), Field2(Other.Field1) {} in WI()
91 WI &WI::operator=(const WI &Other) { in operator =() argument
92 Field1 = Other.Field1; in operator =()
93 Field2 = Other.Field1; in operator =()
99 MF(const MF &Other) : Field1(Other.Field1), Field2(Other.Field2) {} in MF()
103 MF &MF::operator=(const MF &Other) { in operator =() argument
104 Field1 = Other.Field1; in operator =()
105 Field2 = Other.Field2; in operator =()
110 Comments(const Comments &Other) in Comments()
111 /* don't delete */ : /* this comment */ Field(Other.Field) {} in Comments()
118 MoreComments(const MoreComments &Other) /* this comment is OK */ in MoreComments()
119 : Field(Other.Field) {} in MoreComments()
121 // CHECK-FIXES: MoreComments(const MoreComments &Other) /* this comment is OK */
127 ColonInComment(const ColonInComment &Other) /* : */ : Field(Other.Field) {} in ColonInComment()
129 // CHECK-FIXES: ColonInComment(const ColonInComment &Other) /* : */ = default;
135 Empty(const Empty &Other) {} in Empty()
137 // CHECK-FIXES: Empty(const Empty &Other) = default;
140 Empty &Empty::operator=(const Empty &Other) { return *this; } in operator =() argument
142 // CHECK-FIXES: Empty &Empty::operator=(const Empty &Other) = default;
147 BF(const BF &Other) : Field1(Other.Field1), Field2(Other.Field2), Field3(Other.Field3), in BF()
148 Field4(Other.Field4) {}; in BF()
150 // CHECK-FIXES: BF(const BF &Other) {{$}}
161 BF &BF::operator=(const BF &Other) { in operator =() argument
162 Field1 = Other.Field1; in operator =()
163 Field2 = Other.Field2; in operator =()
164 Field3 = Other.Field3; in operator =()
165 Field4 = Other.Field4; in operator =()
169 // CHECK-FIXES: BF &BF::operator=(const BF &Other) = default;
173 BC(const BC &Other) : IL(Other), OL(Other), BF(Other) {} in BC()
175 // CHECK-FIXES: BC(const BC &Other) = default;
176 BC &operator=(const BC &Other);
178 BC &BC::operator=(const BC &Other) { in operator =() argument
179 IL::operator=(Other); in operator =()
180 OL::operator=(Other); in operator =()
181 BF::operator=(Other); in operator =()
185 // CHECK-FIXES: BC &BC::operator=(const BC &Other) = default;
189 BCWM(const BCWM &Other) : IL(Other), OL(Other), Bf(Other.Bf) {} in BCWM()
191 // CHECK-FIXES: BCWM(const BCWM &Other) = default;
195 BCWM &BCWM::operator=(const BCWM &Other) { in operator =() argument
196 IL::operator=(Other); in operator =()
197 OL::operator=(Other); in operator =()
198 Bf = Other.Bf; in operator =()
202 // CHECK-FIXES: BCWM &BCWM::operator=(const BCWM &Other) = default;
206 MBC(const MBC &Other) : IL(Other), OL(Other) {} in MBC()
209 MBC &MBC::operator=(const MBC &Other) { in operator =() argument
210 IL::operator=(Other); in operator =()
211 OL::operator=(Other); in operator =()
217 BCIP(const BCIP &Other) : BCWM(Other), BF(Other.Bf) {} in BCIP()
220 BCIP &BCIP::operator=(const BCIP &Other) { in operator =() argument
221 BCWM::operator=(Other); in operator =()
222 BF::operator=(Other.Bf); in operator =()
233 VBC(const VBC &Other) : OL(Other), VA(Other), VB(Other) {} in VBC()
235 // CHECK-FIXES: VBC(const VBC &Other) = default;
236 VBC &operator=(const VBC &Other);
238 VBC &VBC::operator=(const VBC &Other) { in operator =() argument
239 OL::operator=(Other); in operator =()
240 VA::operator=(Other); in operator =()
241 VB::operator=(Other); in operator =()
245 // CHECK-FIXES: VBC &VBC::operator=(const VBC &Other) = default;
249 IB(const IB &Other) : OL(Other), VBC(Other) {} in IB()
252 IB &IB::operator=(const IB &Other) { in operator =() argument
253 OL::operator=(Other); in operator =()
254 VBC::operator=(Other); in operator =()
262 Template(const Template &Other) : Field(Other.Field) {} in Template()
264 // CHECK-FIXES: Template(const Template &Other) = default;
265 Template &operator=(const Template &Other);
270 Template<T> &Template<T>::operator=(const Template<T> &Other) { in operator =() argument
271 Field = Other.Field; in operator =()
275 // CHECK-FIXES: Template<T> &Template<T>::operator=(const Template<T> &Other) = default;
284 DT1(const DT1 &Other) : Field(Other.Field) {} in DT1()
289 DT1<T> &DT1<T>::operator=(const DT1<T> &Other) { in operator =() argument
290 Field = Other.Field; in operator =()
294 // CHECK-FIXES: DT1<T> &DT1<T>::operator=(const DT1<T> &Other) = default;
301 DT2(const DT2 &Other) : Field(Other.Field), Dependent(Other.Dependent) {} in DT2()
307 DT2<T> &DT2<T>::operator=(const DT2<T> &Other) { in operator =() argument
308 Field = Other.Field; in operator =()
309 Dependent = Other.Dependent; in operator =()
316 // CHECK-FIXES: DT2<T> &DT2<T>::operator=(const DT2<T> &Other) = default;
323 DA(const DA &Other = DA(0)) : Field1(Other.Field1), Field2(Other.Field2) {} in DA()
329 DA &DA::operator=(const DA &Other) { in operator =() argument
330 Field1 = Other.Field1; in operator =()
331 Field2 = Other.Field2; in operator =()
335 // CHECK-FIXES: DA &DA::operator=(const DA &Other) = default;
339 DA2(const DA &Other, int Def = 0) {} in DA2()
344 DI(const DI &Other) : Field1(Other.Field1), Field2(Other.Field2) {} in DI()
353 SIB(const SIB &Other) : Field(Other.Field) { foo(); } in SIB()
357 SIB &SIB::operator=(const SIB &Other) { in operator =() argument
358 Field = Other.Field; in operator =()
365 CIB(const CIB &Other) : Field(Other.Field) { /* Don't erase this */ in CIB()
371 CIB &CIB::operator=(const CIB &Other) { in operator =() argument
372 Field = Other.Field; in operator =()
377 // CHECK-FIXES: CIB &CIB::operator=(const CIB &Other) = default;
381 NCRef(NCRef &Other) : Field1(Other.Field1), Field2(Other.Field2) {} in NCRef()
383 // CHECK-FIXES: NCRef(NCRef &Other) = default;
387 NCRef &NCRef::operator=(NCRef &Other) { in operator =() argument
388 Field1 = Other.Field1; in operator =()
389 Field2 = Other.Field2; in operator =()
393 // CHECK-FIXES: NCRef &NCRef::operator=(NCRef &Other) = default;
397 IAD(const IAD &Other) = default;
398 IAD &operator=(const IAD &Other) = default;
402 OAD(const OAD &Other);
405 OAD::OAD(const OAD &Other) = default;
406 OAD &OAD::operator=(const OAD &Other) = default;
410 ID(const ID &Other) = delete;
411 ID &operator=(const ID &Other) = delete;
416 NRef &operator=(NRef Other);
419 NRef &NRef::operator=(NRef Other) { in operator =() argument
420 Field1 = Other.Field1; in operator =()
426 RVR(RVR &&Other) {} in RVR()
429 RVR &RVR::operator=(RVR &&Other) { return *this; } in operator =() argument
436 SF &SF::foo(const SF &Other) { in foo() argument
437 Field1 = Other.Field1; in foo()
445 NR &NR::operator=(const NR &Other) {} in operator =() argument
452 RM &RM::operator=(const RM &Other) { in operator =() argument
454 Field = Other.Field; in operator =()
461 WRV &WRV::operator=(WRV &Other) { in operator =() argument
462 return Other; in operator =()
469 IL &WRT::operator=(const WRT &Other) { in operator =() argument
482 ITC(const ITC &Other) in ITC()
483 try : Field(Other.Field) { in ITC()
486 ITC &operator=(const ITC &Other) try { in operator =()
487 Field = Other.Field; in operator =()
498 OTC::OTC(const OTC &Other) try : Field(Other.Field) { in OTC() argument
501 OTC &OTC::operator=(const OTC &Other) try { in operator =() argument
502 Field = Other.Field; in operator =()
510 //NET(const NET &Other) noexcept {}
511 NET &operator=(const NET &Other) noexcept;
513 //NET &NET::operator=(const NET &Other) noexcept { return *this; }
518 //NEF(const NEF &Other) noexcept(false) {}
519 NEF &operator=(const NEF &Other) noexcept(false);
521 //NEF &NEF::operator=(const NEF &Other) noexcept(false) { return *this; }
548 UOB(const UOB &Other):j{Other.j}{} in UOB()
550 // CHECK-FIXES: UOB(const UOB &Other)= default;