Lines Matching refs:arr
30 int arr[3] = { 1, 2, 3 }; in test1() local
31 …for (int j : arr); // expected-warning{{range-based for loop has empty body}} expected-note{{put t… in test1()
35 …arr); // expected-warning{{range-based for loop has empty body}} expected-note{{put the semicolon … in test1()
95 int arr[3] = { 1, 2, 3 }; in test2() local
96 for (int j : arr) // no-warning in test2()
128 int arr[3] = { 1, 2, 3 }; in test3() local
129 for (int j : arr) EMPTY(j); // no-warning in test3()
132 arr) EMPTY(j); // no-warning in test3()
209 int arr[3] = { 1, 2, 3 }; in test6() local
210 for (int j : arr) // no-warning in test6()
213 for (int j : arr) {} // no-warning in test6()
243 int arr[3] = { 1, 2, 3 }; in test_errors() local
244 for (int j : arr) in test_errors()
260 int arr[3] = { 1, 2, 3 }; in test_template() local
261 …for (int j : arr); // expected-warning{{range-based for loop has empty body}} expected-note{{put t… in test_template()