Home | History | Annotate | Download | only in Sema

Lines Matching full:__declspec

22 inline void __declspec(dllexport) foo7(){} // expected-warning{{dllexport attribute ignored}}
23 inline void __declspec(dllimport) foo8(){} // expected-warning{{dllimport attribute ignored}}
25 void __declspec(dllimport) foo9(){} // expected-error{{dllimport attribute can be applied only to symbol declaration}}
27 void __declspec(dllimport) __declspec(dllexport) foo10(); // expected-warning{{dllimport attribute ignored}}
29 void __declspec(dllexport) foo11();
30 void __declspec(dllimport) foo11(); // expected-warning{{dllimport attribute ignored}}
32 typedef int __declspec(dllexport) type1; // expected-warning{{'dllexport' attribute only applies to variables and functions}}
34 typedef int __declspec(dllimport) type2; // expected-warning{{'dllimport' attribute only applies to variables and functions}}
36 void __declspec(dllimport) foo12();
45 __declspec(dllimport) int foo15 = 54; // expected-warning{{'dllimport' attribute cannot be specified on a definition}}
47 extern __declspec(dllimport) int foo17;