Lines Matching full:can
5 // It can be defined both that the data is const and that the pointer is const,
6 // the checker only checks if the data can be const-specified.
15 // CHECK-MESSAGES: :[[@LINE+1]]:29: warning: pointer parameter 'last' can be pointer to const [read…
20 } // <- last can be const in warn1()
29 // CHECK-MESSAGES: :[[@LINE+1]]:19: warning: pointer parameter 'p' can be
36 // CHECK-MESSAGES: :[[@LINE+1]]:19: warning: pointer parameter 'p' can be
83 // CHECK-MESSAGES: :[[@LINE+1]]:17: warning: pointer parameter 'p' can be
89 // CHECK-MESSAGES: :[[@LINE+1]]:17: warning: pointer parameter 'p' can be
116 // CHECK-MESSAGES: :[[@LINE+1]]:18: warning: pointer parameter 'p' can be
122 // CHECK-MESSAGES: :[[@LINE+1]]:25: warning: pointer parameter 'p' can be
128 // CHECK-MESSAGES: :[[@LINE+1]]:25: warning: pointer parameter 'p' can be
134 // CHECK-MESSAGES: :[[@LINE+1]]:27: warning: pointer parameter 'p' can be
203 // Don't warn about nonconst function pointers that can be const.
209 // CHECK-MESSAGES: :[[@LINE+1]]:27: warning: pointer parameter 'p' can be
214 int (*fp)(int *) = functionpointer2; // <- the parameter 'p' can't be const in use_functionpointer2()
217 // Don't warn about nonconst record pointers that can be const.
232 // CHECK-MESSAGES: :[[@LINE+1]]:30: warning: pointer parameter 'x' can be pointer to const
238 // CHECK-MESSAGES: :[[@LINE+1]]:35: warning: pointer parameter 'x' can be pointer to const
254 // CHECK-MESSAGES: :[[@LINE+1]]:11: warning: pointer parameter 'p' can be
273 // CHECK-MESSAGES: :[[@LINE+1]]:21: warning: pointer parameter 'p' can be
301 // CHECK-MESSAGES: :[[@LINE+1]]:16: warning: pointer parameter 's' can be
310 // CHECK-MESSAGES-NOT: warning: pointer parameter 'p' can be in lvalueReference()
314 // CHECK-MESSAGES: :[[@LINE+1]]:32: warning: pointer parameter 'p' can be
321 // CHECK-MESSAGES-NOT: warning: pointer parameter 'p' can be in lambdaLVRef()
327 // CHECK-MESSAGES: :[[@LINE+1]]:28: warning: pointer parameter 'p' can be
341 // CHECK-MESSAGES-NOT: warning: pointer parameter 'p' can be in constructLVRef()