HomeSort by relevance Sort by last modified time
    Searched full:shadows (Results 1 - 25 of 758) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/clang/test/CXX/temp/temp.res/temp.local/
p6.cpp 4 typename T> struct X {}; // expected-error {{declaration of 'T' shadows template parameter}}
7 template<typename T> struct A {}; // expected-error {{declaration of 'T' shadows template parameter}}
10 template<typename> struct T {}; // FIXME: desired-error {{declaration of 'T' shadows template parameter}}
13 template<typename> void T(); // expected-error {{declaration of 'T' shadows template parameter}}
16 struct T {}; // expected-error {{declaration of 'T' shadows template parameter}}
19 typedef int T; // expected-error {{declaration of 'T' shadows template parameter}}
22 using T = int; // expected-error {{declaration of 'T' shadows template parameter}}
25 int T; // expected-error {{declaration of 'T' shadows template parameter}}
28 static int T; // expected-error {{declaration of 'T' shadows template parameter}}
31 void T(); // expected-error {{declaration of 'T' shadows template parameter}
    [all...]
  /external/clang/test/Sema/
warn-shadow.c 7 int i; // expected-warning {{declaration shadows a variable in the global scope}} \
11 int i; // expected-warning {{declaration shadows a local variable}} \
15 int i; // expected-warning {{declaration shadows a local variable}}
23 void (^test1)(int) = ^(int i) { // expected-warning {{declaration shadows a variable in the global scope}} \
26 int i; // expected-warning {{declaration shadows a local variable}} \
29 (^(int i) { return i; })(i); //expected-warning {{declaration shadows a local variable}}
44 void test4(int i) { // expected-warning {{declaration shadows a variable in the global scope}}
60 int bob; // expected-warning {{declaration shadows a variable in the global scope}}