Lines Matching full:declared
5 protected: int x; // expected-note 3 {{declared}} \
6 // expected-note {{member is declared here}}
7 static int sx; // expected-note 3 {{declared}} \
8 // expected-note {{member is declared here}}
12 class C : protected A { // expected-note {{declared}}
106 protected: int x; //expected-note {{declared protected}} // expected-note {{can only access this member on an object of type}}
141 protected: int x; // expected-note 2{{declared protected here}} expected-note{{member is declared here}}
142 static int sx; // expected-note 3{{member is declared here}}
148 class C : protected A { // expected-note 4 {{constrained}} expected-note 3 {{declared}}
179 protected: int x; // expected-note 3{{member is declared here}}
180 static int sx; // expected-note 3{{member is declared here}}
331 class A { // expected-note {{member is declared here}}
332 protected: int foo(); // expected-note 4 {{declared}} expected-note 3 {{can only access this member on an object of type}} expected-note 2 {{member is declared here}}
335 class B : public A { // expected-note {{member is declared here}}
339 class C : protected B { // expected-note {{declared}} \
427 class A { protected: int foo(); }; // expected-note {{declared protected here}}