Lines Matching defs:VarCopyConstructed
99 const ExpensiveToCopyType VarCopyConstructed(ExpensiveTypeReference());
100 // CHECK-MESSAGES: [[@LINE-1]]:29: warning: the const qualified variable 'VarCopyConstructed'
101 // CHECK-FIXES: const ExpensiveToCopyType& VarCopyConstructed(ExpensiveTypeReference());
102 VarCopyConstructed.constMethod();
121 const ExpensiveToCopyType VarCopyConstructed(ExpensiveToCopyType::instance());
122 // CHECK-MESSAGES: [[@LINE-1]]:29: warning: the const qualified variable 'VarCopyConstructed'
123 // CHECK-FIXES: const ExpensiveToCopyType& VarCopyConstructed(ExpensiveToCopyType::instance());
124 VarCopyConstructed.constMethod();
143 const ExpensiveToCopyType VarCopyConstructed(Obj.reference());
144 // CHECK-MESSAGES: [[@LINE-1]]:29: warning: the const qualified variable 'VarCopyConstructed'
145 // CHECK-FIXES: const ExpensiveToCopyType& VarCopyConstructed(Obj.reference());
146 VarCopyConstructed.constMethod();
165 const ExpensiveToCopyType VarCopyConstructed(Obj.reference());
166 // CHECK-MESSAGES: [[@LINE-1]]:29: warning: the const qualified variable 'VarCopyConstructed'
167 // CHECK-FIXES: const ExpensiveToCopyType& VarCopyConstructed(Obj.reference());
168 VarCopyConstructed.constMethod();
187 const ExpensiveToCopyType VarCopyConstructed(Obj->reference());
188 // CHECK-MESSAGES: [[@LINE-1]]:29: warning: the const qualified variable 'VarCopyConstructed'
189 // CHECK-FIXES: const ExpensiveToCopyType& VarCopyConstructed(Obj->reference());
190 VarCopyConstructed.constMethod();
209 const ExpensiveToCopyType VarCopyConstructed(C[42]);
210 // CHECK-MESSAGES: [[@LINE-1]]:29: warning: the const qualified variable 'VarCopyConstructed'
211 // CHECK-FIXES: const ExpensiveToCopyType& VarCopyConstructed(C[42]);
212 VarCopyConstructed.constMethod();
231 const ExpensiveToCopyType VarCopyConstructed(C[42]);
232 // CHECK-MESSAGES: [[@LINE-1]]:29: warning: the const qualified variable 'VarCopyConstructed'
233 // CHECK-FIXES: const ExpensiveToCopyType& VarCopyConstructed(C[42]);
234 VarCopyConstructed.constMethod();
253 const ExpensiveToCopyType VarCopyConstructed(C.at(42));
254 // CHECK-MESSAGES: [[@LINE-1]]:29: warning: the const qualified variable 'VarCopyConstructed'
255 // CHECK-FIXES: const ExpensiveToCopyType& VarCopyConstructed(C.at(42));
256 VarCopyConstructed.constMethod();
275 const ExpensiveToCopyType VarCopyConstructed(C[42]);
276 // CHECK-MESSAGES: [[@LINE-1]]:29: warning: the const qualified variable 'VarCopyConstructed'
277 // CHECK-FIXES: const ExpensiveToCopyType& VarCopyConstructed(C[42]);
278 VarCopyConstructed.constMethod();
297 const ExpensiveToCopyType VarCopyConstructed(C->at(42));
298 // CHECK-MESSAGES: [[@LINE-1]]:29: warning: the const qualified variable 'VarCopyConstructed'
299 // CHECK-FIXES: const ExpensiveToCopyType& VarCopyConstructed(C->at(42));
300 VarCopyConstructed.constMethod();
333 const TrivialToCopyType VarCopyConstructed(TrivialTypeReference());
356 ExpensiveToCopyType VarCopyConstructed(ExpensiveTypeReference());
357 // CHECK-MESSAGES: [[@LINE-1]]:23: warning: the variable 'VarCopyConstructed'
358 // CHECK-FIXES: const ExpensiveToCopyType& VarCopyConstructed(ExpensiveTypeReference());
359 VarCopyConstructed.constMethod();
416 const ExpensiveToCopyType VarCopyConstructed(Obj.reference());
444 const ExpensiveToCopyType VarCopyConstructed(Obj->reference());