Home | History | Annotate | Download | only in SemaCXX

Lines Matching full:warning

25   int i; // expected-warning {{declaration shadows a variable in namespace '(anonymous)'}}
26 int j; // expected-warning {{declaration shadows a variable in namespace 'one::two'}}
39 f1 = 3; // expected-warning {{modifying constructor parameter 'f1' that shadows a field of 'A'}}
40 f1 = 4; // one warning per shadow
41 f2++; // expected-warning {{modifying constructor parameter 'f2' that shadows a field of 'A'}}
42 --f3; // expected-warning {{modifying constructor parameter 'f3' that shadows a field of 'A'}}
43 f4 += 2; // expected-warning {{modifying constructor parameter 'f4' that shadows a field of 'A'}}
47 // expected-warning-re@+1 4 {{constructor parameter 'f{{[0-4]}}' shadows the field 'f{{[0-9]}}' of 'A'}}
51 char *field; // expected-warning {{declaration shadows a field of 'A'}}
52 char *data; // expected-warning {{declaration shadows a static data member of 'A'}}
98 int bob; // expected-warning {{declaration shadows a variable in the global namespace}}