Lines Matching defs:ConstNonConstClass
283 struct ConstNonConstClass {
284 ConstNonConstClass();
285 ConstNonConstClass(double &np_local0);
301 ConstNonConstClass np_local0;
306 ConstNonConstClass p_local0;
307 // CHECK-MESSAGES: [[@LINE-1]]:3: warning: variable 'p_local0' of type 'ConstNonConstClass' can be declared 'const'
308 // CHECK-FIXES: ConstNonConstClass const p_local0
311 ConstNonConstClass p_local1;
312 // CHECK-MESSAGES: [[@LINE-1]]:3: warning: variable 'p_local1' of type 'ConstNonConstClass' can be declared 'const'
313 // CHECK-FIXES: ConstNonConstClass const p_local1
318 ConstNonConstClass p_local2(np_local2);
319 // CHECK-MESSAGES: [[@LINE-1]]:3: warning: variable 'p_local2' of type 'ConstNonConstClass' can be declared 'const'
320 // CHECK-FIXES: ConstNonConstClass const p_local2(np_local2)
322 ConstNonConstClass np_local3;
325 ConstNonConstClass np_local4;
328 ConstNonConstClass p_local3;
329 // CHECK-MESSAGES: [[@LINE-1]]:3: warning: variable 'p_local3' of type 'ConstNonConstClass' can be declared 'const'
330 // CHECK-FIXES: ConstNonConstClass const p_local3
335 ConstNonConstClass p_local4;
336 // CHECK-MESSAGES: [[@LINE-1]]:3: warning: variable 'p_local4' of type 'ConstNonConstClass' can be declared 'const'
337 // CHECK-FIXES: ConstNonConstClass const p_local4
342 ConstNonConstClass np_local0[2];
347 ConstNonConstClass p_local0[2];
348 // CHECK-MESSAGES: [[@LINE-1]]:3: warning: variable 'p_local0' of type 'ConstNonConstClass[2]' can be declared 'const'
349 // CHECK-FIXES: ConstNonConstClass const p_local0[2]