Lines Matching defs:AutoCopyConstructed

89   const auto AutoCopyConstructed(ExpensiveTypeReference());
90 // CHECK-MESSAGES: [[@LINE-1]]:14: warning: the const qualified variable 'AutoCopyConstructed'
91 // CHECK-FIXES: const auto& AutoCopyConstructed(ExpensiveTypeReference());
92 AutoCopyConstructed.constMethod();
111 const auto AutoCopyConstructed(ExpensiveToCopyType::instance());
112 // CHECK-MESSAGES: [[@LINE-1]]:14: warning: the const qualified variable 'AutoCopyConstructed'
113 // CHECK-FIXES: const auto& AutoCopyConstructed(ExpensiveToCopyType::instance());
114 AutoCopyConstructed.constMethod();
133 const auto AutoCopyConstructed(Obj.reference());
134 // CHECK-MESSAGES: [[@LINE-1]]:14: warning: the const qualified variable 'AutoCopyConstructed'
135 // CHECK-FIXES: const auto& AutoCopyConstructed(Obj.reference());
136 AutoCopyConstructed.constMethod();
155 const auto AutoCopyConstructed(Obj.reference());
156 // CHECK-MESSAGES: [[@LINE-1]]:14: warning: the const qualified variable 'AutoCopyConstructed'
157 // CHECK-FIXES: const auto& AutoCopyConstructed(Obj.reference());
158 AutoCopyConstructed.constMethod();
177 const auto AutoCopyConstructed(Obj->reference());
178 // CHECK-MESSAGES: [[@LINE-1]]:14: warning: the const qualified variable 'AutoCopyConstructed'
179 // CHECK-FIXES: const auto& AutoCopyConstructed(Obj->reference());
180 AutoCopyConstructed.constMethod();
199 const auto AutoCopyConstructed(C[42]);
200 // CHECK-MESSAGES: [[@LINE-1]]:14: warning: the const qualified variable 'AutoCopyConstructed'
201 // CHECK-FIXES: const auto& AutoCopyConstructed(C[42]);
202 AutoCopyConstructed.constMethod();
221 const auto AutoCopyConstructed(C[42]);
222 // CHECK-MESSAGES: [[@LINE-1]]:14: warning: the const qualified variable 'AutoCopyConstructed'
223 // CHECK-FIXES: const auto& AutoCopyConstructed(C[42]);
224 AutoCopyConstructed.constMethod();
243 const auto AutoCopyConstructed(C[42]);
244 // CHECK-MESSAGES: [[@LINE-1]]:14: warning: the const qualified variable 'AutoCopyConstructed'
245 // CHECK-FIXES: const auto& AutoCopyConstructed(C[42]);
246 AutoCopyConstructed.constMethod();
265 const auto AutoCopyConstructed(C[42]);
266 // CHECK-MESSAGES: [[@LINE-1]]:14: warning: the const qualified variable 'AutoCopyConstructed'
267 // CHECK-FIXES: const auto& AutoCopyConstructed(C[42]);
268 AutoCopyConstructed.constMethod();
287 const auto AutoCopyConstructed((*C)[42]);
288 // CHECK-MESSAGES: [[@LINE-1]]:14: warning: the const qualified variable 'AutoCopyConstructed'
289 // CHECK-FIXES: const auto& AutoCopyConstructed((*C)[42]);
290 AutoCopyConstructed.constMethod();
331 const auto AutoCopyConstructed(TrivialTypeReference());
346 auto AutoCopyConstructed(ExpensiveTypeReference());
347 // CHECK-MESSAGES: [[@LINE-1]]:8: warning: the variable 'AutoCopyConstructed'
348 // CHECK-FIXES: const auto& AutoCopyConstructed(ExpensiveTypeReference());
349 AutoCopyConstructed.constMethod();
414 const auto AutoCopyConstructed(Obj.reference());
442 const auto AutoCopyConstructed(Obj->reference());