Lines Matching defs:VarAssigned

94   const ExpensiveToCopyType VarAssigned = ExpensiveTypeReference();
95 // CHECK-MESSAGES: [[@LINE-1]]:29: warning: the const qualified variable 'VarAssigned'
96 // CHECK-FIXES: const ExpensiveToCopyType& VarAssigned = ExpensiveTypeReference();
97 VarAssigned.constMethod();
116 const ExpensiveToCopyType VarAssigned = ExpensiveToCopyType::instance();
117 // CHECK-MESSAGES: [[@LINE-1]]:29: warning: the const qualified variable 'VarAssigned'
118 // CHECK-FIXES: const ExpensiveToCopyType& VarAssigned = ExpensiveToCopyType::instance();
119 VarAssigned.constMethod();
138 const ExpensiveToCopyType VarAssigned = Obj.reference();
139 // CHECK-MESSAGES: [[@LINE-1]]:29: warning: the const qualified variable 'VarAssigned'
140 // CHECK-FIXES: const ExpensiveToCopyType& VarAssigned = Obj.reference();
141 VarAssigned.constMethod();
160 const ExpensiveToCopyType VarAssigned = Obj.reference();
161 // CHECK-MESSAGES: [[@LINE-1]]:29: warning: the const qualified variable 'VarAssigned'
162 // CHECK-FIXES: const ExpensiveToCopyType& VarAssigned = Obj.reference();
163 VarAssigned.constMethod();
182 const ExpensiveToCopyType VarAssigned = Obj->reference();
183 // CHECK-MESSAGES: [[@LINE-1]]:29: warning: the const qualified variable 'VarAssigned'
184 // CHECK-FIXES: const ExpensiveToCopyType& VarAssigned = Obj->reference();
185 VarAssigned.constMethod();
204 const ExpensiveToCopyType VarAssigned = C[42];
205 // CHECK-MESSAGES: [[@LINE-1]]:29: warning: the const qualified variable 'VarAssigned'
206 // CHECK-FIXES: const ExpensiveToCopyType& VarAssigned = C[42];
207 VarAssigned.constMethod();
226 const ExpensiveToCopyType VarAssigned = C[42];
227 // CHECK-MESSAGES: [[@LINE-1]]:29: warning: the const qualified variable 'VarAssigned'
228 // CHECK-FIXES: const ExpensiveToCopyType& VarAssigned = C[42];
229 VarAssigned.constMethod();
248 const ExpensiveToCopyType VarAssigned = C.at(42);
249 // CHECK-MESSAGES: [[@LINE-1]]:29: warning: the const qualified variable 'VarAssigned'
250 // CHECK-FIXES: const ExpensiveToCopyType& VarAssigned = C.at(42);
251 VarAssigned.constMethod();
270 const ExpensiveToCopyType VarAssigned = C[42];
271 // CHECK-MESSAGES: [[@LINE-1]]:29: warning: the const qualified variable 'VarAssigned'
272 // CHECK-FIXES: const ExpensiveToCopyType& VarAssigned = C[42];
273 VarAssigned.constMethod();
292 const ExpensiveToCopyType VarAssigned = C->at(42);
293 // CHECK-MESSAGES: [[@LINE-1]]:29: warning: the const qualified variable 'VarAssigned'
294 // CHECK-FIXES: const ExpensiveToCopyType& VarAssigned = C->at(42);
295 VarAssigned.constMethod();
332 const TrivialToCopyType VarAssigned = TrivialTypeReference();
351 ExpensiveToCopyType VarAssigned = ExpensiveTypeReference();
352 // CHECK-MESSAGES: [[@LINE-1]]:23: warning: the variable 'VarAssigned'
353 // CHECK-FIXES: const ExpensiveToCopyType& VarAssigned = ExpensiveTypeReference();
354 VarAssigned.constMethod();
415 const ExpensiveToCopyType VarAssigned = Obj.reference();
443 const ExpensiveToCopyType VarAssigned = Obj->reference();