Lines Matching full:using
8 using NS::x UIE; // expected-note{{using declaration annotated with 'using_if_exists' here}}
9 x usex(); // expected-error{{reference to unresolved using declaration}}
11 using NotNS::x UIE; // expected-error{{use of undeclared identifier 'NotNS'}}
13 using NS::NotNS::x UIE; // expected-error{{no member named 'NotNS' in namespace 'test_basic::NS'}}
19 using NS::x UIE;
20 using NS::x UIE;
25 int A(); // expected-note{{target of using declaration}}
26 struct B {}; // expected-note{{target of using declaration}}
31 using NS1::A UIE;
32 using NS2::A UIE; // expected-note{{using declaration annotated with 'using_if_exists' here}} expec…
33 using NS3::A UIE; // expected-error{{target of using declaration conflicts with declaration already…
34 int i = A(); // expected-error{{reference to unresolved using declaration}}
36 using NS1::B UIE;
37 using NS2::B UIE; // expected-note{{conflicting declaration}} expected-note{{using declaration anno…
38 using NS3::B UIE; // expected-error{{target of using declaration conflicts with declaration already…
39 B myB; // expected-error{{reference to unresolved using declaration}}
41 using NS3::C UIE;
42 using NS2::C UIE; // expected-error{{target of using declaration conflicts with declaration already…
45 using NS3::D UIE;
46 using NS2::D UIE; // expected-error{{target of using declaration conflicts with declaration already…
53 …using B::mf UIE; // expected-note 3 {{using declaration annotated with 'using_if_exists' …
54 …using typename B::mt UIE; // expected-note{{using declaration annotated with 'using_if_exists' her…
66 …using Base::Base UIE; // expected-error{{'using_if_exists' attribute cannot be applied to an inher…
73 empty.mf(); // expected-error {{reference to unresolved using declaration}} in f()
75 (&empty)->mf(); // expected-error {{reference to unresolved using declaration}} in f()
78 S<BaseEmpty>::mt y; // expected-error {{reference to unresolved using declaration}} in f()
81 S<BaseEmpty>::mf(); // expected-error {{reference to unresolved using declaration}} in f()
88 …using B::mf UIE; // expected-note {{using declaration annotated with 'using_if_exists' he…
89 …using typename B::mt UIE; // expected-note 2 {{using declaration annotated with 'using_if_exists' …
92 mf(); // expected-error {{reference to unresolved using declaration}} in use()
93 mt x; // expected-error {{reference to unresolved using declaration}} in use()
96 mt alsoUse(); // expected-error {{reference to unresolved using declaration}}
108 …using BaseEmpty::x UIE; // expected-note{{using declaration annotated with 'using_if_exists' here}}
109 x y(); // expected-error{{reference to unresolved using declaration}}
116 …using typename Ts::x... UIE; // expected-error 2 {{target of using declaration conflicts with decl…
127 typedef int x; // expected-note 2 {{target of using declaration}}
136 …using typename Ts::x... UIE; // expected-error 2 {{target of using declaration conflicts with decl…
138 x mem(); // expected-error 3 {{reference to unresolved using declaration}}
148 …using Ts::m... UIE; // expected-error{{target of using declaration conflicts with declaration alre…
163 using NS::x UIE; // expected-note {{using declaration annotated with 'using_if_exists' here}}
166 using ::test_nested::x UIE;
169 NS2::x y; // expected-error {{reference to unresolved using declaration}}
177 using ::x UIE; // expected-note {{using declaration annotated with 'using_if_exists' here}} in f()
178 (void)x; // expected-error {{reference to unresolved using declaration}} in f()
182 using test_scope::x; in f()
183 …using ::x UIE; // expected-error{{target of using declaration conflicts with declaration already i… in f()
189 …using ::x UIE; // expected-error{{target of using declaration conflicts with declaration already i… in f()
200 using alias UIE = NS::x; // expected-error {{'using_if_exists' attribute only applies to named decl…
203 using template_alias UIE = NS::x; // expected-error {{'using_if_exists' attribute only applies to n…
207 using namespace NS UIE; // expected-error {{'using_if_exists' attribute only applies to named decla…
214 using ::fake_FILE UIE;
215 using ::fake_printf UIE;
216 using ::fake_fopen UIE; // expected-note {{using declaration annotated with 'using_if_exists' here…
217 using ::fake_size_t UIE; // expected-note {{using declaration annotated with 'using_if_exists' here…
222 …file = std::fake_fopen(); // expected-error {{reference to unresolved using declaration}} expected… in main()
223 std::fake_size_t size; // expected-error {{reference to unresolved using declaration}} in main()