Lines Matching refs:arr
77 char arr[I]; // expected-note 3 {{declared here}} member
81 …s.arr[4] = 0; // expected-warning 2 {{array index 4 is past the end of the array (which contains 3… in f()
82 …s.arr[I] = 0; // expected-warning {{array index 5 is past the end of the array (which contains 3 e… in f()
90 #define ARR_IN_MACRO(flag, arr, idx) flag ? arr[idx] : 1 argument
93 int arr[SIZE]; // expected-note {{array 'arr' declared here}} in test_no_warn_macro_unreachable() local
94 return ARR_IN_MACRO(0, arr, SIZE) + // no-warning in test_no_warn_macro_unreachable()
95 …ARR_IN_MACRO(1, arr, SIZE); // expected-warning{{array index 10 is past the end of the array (whic… in test_no_warn_macro_unreachable()
108 int arr[3 + (extendArray ? 1 : 0)]; in pr9284() local
111 arr[3] = 42; // no-warning in pr9284()
116 int arr[3 + (extendArray ? 1 : 0)]; // expected-note {{array 'arr' declared here}} in pr9284b() local
119 …arr[3] = 42; // expected-warning{{array index 3 is past the end of the array (which contains 3 ele… in pr9284b()
135 int arr[2] = { 0, 0 }; // expected-note {{array 'arr' declared here}} in test_sizeof_as_condition() local
137 return sizeof(char) != sizeof(char) ? arr[2] : arr[1]; in test_sizeof_as_condition()
138 …return sizeof(char) == sizeof(char) ? arr[2] : arr[1]; // expected-warning {{array index 2 is past… in test_sizeof_as_condition()
144 int arr[2]; in test_switch() local
145 arr[2] = 1; // no-warning in test_switch()
149 int arr[2]; // expected-note {{array 'arr' declared here}} in test_switch() local
150 …arr[2] = 1; // expected-warning {{array index 2 is past the end of the array (which contains 2 ele… in test_switch()
154 int arr[2]; in test_switch() local
155 arr[2] = 1; // no-warning in test_switch()