Lines Matching refs:subscript
5 char subscript = 0;
6 int val = array[subscript]; // expected-warning{{array subscript is of type 'char'}}
11 char subscript = 0;
12 int val = subscript[array]; // expected-warning{{array subscript is of type 'char'}}
17 char subscript = 0;
18 int val = array[subscript]; // expected-warning{{array subscript is of type 'char'}}
23 char subscript = 0;
24 int val = subscript[array]; // expected-warning{{array subscript is of type 'char'}}
30 int val = array[returnsChar()]; // expected-warning{{array subscript is of type 'char'}}
35 signed char subscript = 0;
36 int val = array[subscript]; // no warning for explicit signed char
41 unsigned char subscript = 0;
42 int val = array[subscript]; // no warning for unsigned char
48 CharTy subscript = 0;
49 int val = array[subscript]; // expected-warning{{array subscript is of type 'char'}}
55 SignedCharTy subscript = 0;
56 int val = array[subscript]; // no warning for explicit signed char
62 UnsignedCharTy subscript = 0;
63 int val = array[subscript]; // no warning for unsigned char