Lines Matching refs:dllexport
7 __declspec(dllexport) typedef int typedef1; // expected-warning{{'dllexport' attribute only applies…
8 typedef __declspec(dllexport) int typedef2; // expected-warning{{'dllexport' attribute only applies…
9 typedef int __declspec(dllexport) typedef3; // expected-warning{{'dllexport' attribute only applies…
10 typedef __declspec(dllexport) void (*FunTy)(); // expected-warning{{'dllexport' attribute only appl…
11 enum __declspec(dllexport) Enum { EnumVal }; // expected-warning{{'dllexport' attribute only applie…
12 struct __declspec(dllexport) Record {}; // expected-warning{{'dllexport' attribute only applies to …
21 __declspec(dllexport) extern int ExternGlobalDecl;
24 __declspec(dllexport) int GlobalDef;
27 __declspec(dllexport) int GlobalInit1 = 1;
28 int __declspec(dllexport) GlobalInit2 = 1;
31 __declspec(dllexport) extern int GlobalDeclInit;
35 __declspec(dllexport) extern int GlobalRedecl1;
36 __declspec(dllexport) int GlobalRedecl1;
38 __declspec(dllexport) extern int GlobalRedecl2;
43 __declspec(dllexport) extern int GlobalRedecl3; // expected-error{{redeclaration of 'GlobalRedecl3'…
46 __declspec(dllexport) extern int GlobalRedecl4; // expected-warning{{redeclaration of 'GlobalRedecl…
50 __declspec(dllexport) static int StaticGlobal; // expected-error{{'StaticGlobal' must have external…
53 __declspec(dllexport) __thread int ThreadLocalGlobal; // expected-error{{'ThreadLocalGlobal' cannot…
57 …__declspec(dllexport) int LocalVarDecl; // expected-error{{'LocalVarDecl' must have externa… in functionScope()
58 …__declspec(dllexport) int LocalVarDef = 1; // expected-error{{'LocalVarDef' must have exter… in functionScope()
59 __declspec(dllexport) extern int ExternLocalVarDecl; in functionScope()
60 …__declspec(dllexport) static int StaticLocalVar; // expected-error{{'StaticLocalVar' must have ext… in functionScope()
70 __attribute__((dllexport)) void decl1A(); // Sanity check with __attribute__
71 __declspec(dllexport) void decl1B();
73 void __attribute__((dllexport)) decl2A();
74 void __declspec(dllexport) decl2B();
77 __declspec(dllexport) void def() {} in def()
80 __declspec(dllexport) inline void inlineFunc1() {} in inlineFunc1()
83 inline void __attribute__((dllexport)) inlineFunc2() {} in inlineFunc2()
87 __declspec(dllexport) void redecl1();
88 __declspec(dllexport) void redecl1();
90 __declspec(dllexport) void redecl2();
93 __declspec(dllexport) void redecl3();
98 __declspec(dllexport) void redecl4(); // expected-error{{redeclaration of 'redecl4' cannot add 'dll…
102 __declspec(dllexport) inline void redecl5() {} // expected-error{{redeclaration of 'redecl5' cannot… in redecl5()
106 __declspec(dllexport) void redecl6(); // expected-warning{{redeclaration of 'redecl6' should not ad…
110 __declspec(dllexport) static int staticFunc(); // expected-error{{'staticFunc' must have external l…
119 __attribute__((dllimport, dllexport)) extern int PrecedenceExternGlobal1A; // expected-warnin…
120 __declspec(dllimport) __declspec(dllexport) extern int PrecedenceExternGlobal1B; // expected-warnin…
122 __attribute__((dllexport, dllimport)) extern int PrecedenceExternGlobal2A; // expected-warnin…
123 __declspec(dllexport) __declspec(dllimport) extern int PrecedenceExternGlobal2B; // expected-warnin…
125 __attribute__((dllimport, dllexport)) int PrecedenceGlobal1A; // expected-warning{{'dllimport…
126 __declspec(dllimport) __declspec(dllexport) int PrecedenceGlobal1B; // expected-warning{{'dllimport…
128 __attribute__((dllexport, dllimport)) int PrecedenceGlobal2A; // expected-warning{{'dllimport…
129 __declspec(dllexport) __declspec(dllimport) int PrecedenceGlobal2B; // expected-warning{{'dllimport…
131 __declspec(dllexport) extern int PrecedenceExternGlobalRedecl1;
135 __declspec(dllexport) extern int PrecedenceExternGlobalRedecl2;
137 __declspec(dllexport) extern int PrecedenceGlobalRedecl1;
141 __declspec(dllexport) int PrecedenceGlobalRedecl2;
143 void __attribute__((dllimport, dllexport)) precedence1A() {} // expected-warning{{'dllimport'… in precedence1A()
144 void __declspec(dllimport) __declspec(dllexport) precedence1B() {} // expected-warning{{'dllimport'… in precedence1B()
146 void __attribute__((dllexport, dllimport)) precedence2A() {} // expected-warning{{'dllimport'… in precedence2A()
147 void __declspec(dllexport) __declspec(dllimport) precedence2B() {} // expected-warning{{'dllimport'… in precedence2B()
150 void __declspec(dllexport) precedenceRedecl1() {} in precedenceRedecl1()
152 void __declspec(dllexport) precedenceRedecl2();