Lines Matching refs:arr
7 int arr[10]; // expected-note{{Original object declared here}} expected-note{{Original object decla… variable
13 ptr = arr + x; // expected-note{{Value assigned to 'ptr'}} in test_global_ptr()
16 return arr; // no-warning in test_global_ptr()
27 local_ptr = arr + x; // expected-note{{Value assigned to 'local_ptr'}} in test_local_ptr()
30 return arr; // no-warning in test_local_ptr()
40 T* end(T (&arr)[N]) { in end()
41 …return arr + N; // no-warning, because we want to avoid false positives on returning the end() ite… in end()
45 static int arr[10]; in get_end_of_array() local
46 end(arr); in get_end_of_array()
87 …static int arr[10]; // expected-note{{Original object declared here}} expected-note{{'arr' initial… in test_idx_sym() local
91 return arr; in test_idx_sym()
92 return arr + I; // expected-warning{{Returned pointer value points outside the original object}} in test_idx_sym()