Lines Matching refs:arr
37 int arr[3] = { 1, 2, 3 };
38 for (int j : arr); // expected-warning{{range-based for loop has empty body}} expected-note{{put the semicolon on a separate line to silence this warning}}
42 arr); // expected-warning{{range-based for loop has empty body}} expected-note{{put the semicolon on a separate line to silence this warning}}
102 int arr[3] = { 1, 2, 3 };
103 for (int j : arr) // no-warning
135 int arr[3] = { 1, 2, 3 };
136 for (int j : arr) EMPTY(j); // no-warning
139 arr) EMPTY(j); // no-warning
216 int arr[3] = { 1, 2, 3 };
217 for (int j : arr) // no-warning
220 for (int j : arr) {} // no-warning
250 int arr[3] = { 1, 2, 3 };
251 for (int j : arr)
267 int arr[3] = { 1, 2, 3 };
268 for (int j : arr); // expected-warning{{range-based for loop has empty body}} expected-note{{put the semicolon on a separate line to silence this warning}}