Home | History | Annotate | Download | only in SemaCXX

Lines Matching full:extern

4   extern "C" {
13 extern "C" {
15 extern int test2_x; // expected-note {{declared with C language linkage here}}
22 extern "C" {
24 extern int test3_b; // expected-note {{previous definition is here}}
27 extern "C" {
32 extern "C" {
34 extern int test4_b; // expected-note {{declared with C language linkage here}}
39 extern "C" {
41 extern int test5_b; // expected-note {{declared with C language linkage here}}
44 extern "C" {
48 extern "C" {
50 extern int test6_b;
54 extern "C" {
56 extern float test6_b;
62 extern "C" {
65 void linkage_redecl(); // ok, still not extern "C"
66 void linkage_redecl(int); // ok, still not extern "C"
74 extern "C" {
81 extern "C" {
91 extern "C" void linkage_across_scopes_f() {
96 extern "C" void linkage_across_scopes_g(int); // expected-error {{conflicting}}
105 extern "C" {
113 extern "C" int different_kind_1; // expected-note {{here}}
114 extern "C" void different_kind_2(); // expected-note {{here}}
117 extern "C" void different_kind_1(); // expected-error {{different kind of symbol}}
118 extern "C" int different_kind_2; // expected-error {{different kind of symbol}}
122 extern "C" {
127 extern "C" {
134 extern "C" int global_fn_vs_extern_c_var_1;
135 extern "C" int global_fn_vs_extern_c_var_2;
140 extern "C" int global_fn_vs_extern_c_fn_1(int);
141 extern "C" int global_fn_vs_extern_c_fn_2(int);
144 extern "C" void name_with_using_decl_1(int);
152 extern "C" void name_with_using_decl_2(int);
153 extern "C" void name_with_using_decl_3(int);
156 // We do not allow a global variable and an extern "C" function to have the same
160 extern "C" void global_var_vs_extern_c_fn_1(); // expected-error {{conflicts with declaration in global scope}}
161 extern "C" void global_var_vs_extern_c_fn_2(); // expected-note {{here}}
166 extern "C" double global_var_vs_extern_c_var_1; // expected-error {{conflicts with declaration in global scope}}
167 extern "C" double global_var_vs_extern_c_var_2; // expected-note {{here}}