• Home
  • Raw
  • Download

Lines Matching refs:__declspec

7 __declspec(dllimport) typedef int typedef1; // expected-warning{{'dllimport' attribute only applies…
8 typedef __declspec(dllimport) int typedef2; // expected-warning{{'dllimport' attribute only applies…
9 typedef int __declspec(dllimport) typedef3; // expected-warning{{'dllimport' attribute only applies…
10 typedef __declspec(dllimport) void (*FunTy)(); // expected-warning{{'dllimport' attribute only appl…
11 enum __declspec(dllimport) Enum { EnumVal }; // expected-warning{{'dllimport' attribute only applie…
12 struct __declspec(dllimport) Record {}; // expected-warning{{'dllimport' attribute only applies to …
21 __declspec(dllimport) extern int ExternGlobalDecl;
24 __declspec(dllimport) int GlobalDecl;
32 __declspec(dllimport) extern int ExternGlobalInit = 1; // expected-error{{definition of dllimport d…
33 __declspec(dllimport) int GlobalInit1 = 1; // expected-error{{definition of dllimport data}}
34 int __declspec(dllimport) GlobalInit2 = 1; // expected-error{{definition of dllimport data}}
40 __declspec(dllimport) extern int ExternGlobalDeclInit; // expected-note{{previous declaration is he…
51 __declspec(dllimport) int GlobalDeclInit; // expected-note{{previous declaration is here}}
82 __declspec(dllimport) extern int GlobalRedecl1;
83 __declspec(dllimport) extern int GlobalRedecl1;
85 __declspec(dllimport) int GlobalRedecl2a;
86 __declspec(dllimport) int GlobalRedecl2a;
95 __declspec(dllimport) extern int GlobalRedecl3; // expected-note{{previous declaration is here}} ex…
101 __declspec(dllimport) extern int GlobalRedecl4; // expected-error{{redeclaration of 'GlobalRedecl4'…
105 __declspec(dllimport) extern int GlobalRedecl5; // expected-warning{{redeclaration of 'GlobalRedecl…
109 __declspec(dllimport) static int StaticGlobal; // expected-error{{'StaticGlobal' must have external…
112 __declspec(dllimport) __thread int ThreadLocalGlobal; // expected-error{{'ThreadLocalGlobal' cannot…
115 __declspec(dllimport) float LocalRedecl1; // expected-note{{previous declaration is here}}
116 __declspec(dllimport) float LocalRedecl2; // expected-note{{previous declaration is here}}
117 __declspec(dllimport) float LocalRedecl3; // expected-note{{previous declaration is here}}
118 __declspec(dllimport) float LocalRedecl4;
120__declspec(dllimport) int LocalRedecl1; // expected-error{{redeclaration of 'LocalRedecl1' with a … in functionScope()
124 __declspec(dllimport) int LocalVarDecl; in functionScope()
125__declspec(dllimport) int LocalVarDef = 1; // expected-error{{definition of dllimport data}} in functionScope()
126 __declspec(dllimport) extern int ExternLocalVarDecl; in functionScope()
127__declspec(dllimport) extern int ExternLocalVarDef = 1; // expected-error{{definition of dllimport… in functionScope()
128__declspec(dllimport) static int StaticLocalVar; // expected-error{{'StaticLocalVar' must have ext… in functionScope()
142 __declspec(dllimport) void decl1B();
145 void __declspec(dllimport) decl2B();
153 __declspec(dllimport) void def() {} // expected-error{{dllimport cannot be applied to non-inline fu… in def()
160 __declspec(dllimport) inline void inlineFunc1() {} in inlineFunc1()
164 __declspec(dllimport) void redecl1();
165 __declspec(dllimport) void redecl1();
167 __declspec(dllimport) void redecl2(); // expected-note{{previous declaration is here}} expected-not…
173__declspec(dllimport) void redecl3(); // expected-note{{previous declaration is here}}
184 __declspec(dllimport) void redecl4(); // expected-warning{{redeclaration of 'redecl4' should not ad…
188 __declspec(dllimport) void redecl5(); // expected-warning{{redeclaration of 'redecl5' should not ad…
195 __declspec(dllimport) void redecl6();
205 __declspec(dllimport) inline void redecl7() {} in redecl7()
208 __declspec(dllimport) static int staticFunc(); // expected-error{{'staticFunc' must have external l…
212__declspec(dllimport) static int staticLocal; // expected-error{{'staticLocal' must have external … in staticLocalFunc()