Lines Matching refs:__declspec
36 __declspec(dllexport) extern int ExternGlobalDecl;
41 __declspec(dllexport) int GlobalDef;
46 __declspec(dllexport) int GlobalInit1 = 1;
50 int __declspec(dllexport) GlobalInit2 = 1;
55 __declspec(dllexport) extern int GlobalDeclInit;
61 __declspec(dllexport) extern int GlobalRedecl1;
62 __declspec(dllexport) int GlobalRedecl1;
66 __declspec(dllexport) extern int GlobalRedecl2;
71 namespace ns { __declspec(dllexport) int ExternalGlobal; }
75 __declspec(dllexport) auto ExternalAutoTypeGlobal = External();
80 int __declspec(dllexport) nonInlineStaticLocalsFunc() {
88 inline int __declspec(dllexport) inlineStaticLocalsFunc() {
104 template<typename T> __declspec(dllexport) int VarTmplDef;
109 template<typename T> __declspec(dllexport) int VarTmplImplicitDef;
115 template<typename T> __declspec(dllexport) int VarTmplInit1 = 1;
120 template<typename T> int __declspec(dllexport) VarTmplInit2 = 1;
126 template<typename T> __declspec(dllexport) extern int VarTmplDeclInit;
133 template<typename T> __declspec(dllexport) extern int VarTmplRedecl1;
134 template<typename T> __declspec(dllexport) int VarTmplRedecl1 = 1;
139 template<typename T> __declspec(dllexport) extern int VarTmplRedecl2;
145 namespace ns { template<typename T> __declspec(dllexport) int ExternalVarTmpl = 1; }
150 template<typename T> __declspec(dllexport) auto ExternalAutoTypeVarTmpl = External();
155 template<typename T> __declspec(dllexport) int ExportedVarTmpl = 1;
171 template __declspec(dllexport) int ExportedVarTmpl<ExplicitInst_Exported>;
176 template<> __declspec(dllexport) int ExportedVarTmpl<ExplicitSpec_Exported>;
180 template<> __declspec(dllexport) int ExportedVarTmpl<ExplicitSpec_Def_Exported> = 1;
192 extern template __declspec(dllexport) int VarTmpl<ExplicitDecl_Exported>;
193 template __declspec(dllexport) int VarTmpl<ExplicitDecl_Exported>;
198 template __declspec(dllexport) int VarTmpl<ExplicitInst_Exported>;
203 template<> __declspec(dllexport) int VarTmpl<ExplicitSpec_Exported>;
207 template<> __declspec(dllexport) int VarTmpl<ExplicitSpec_Def_Exported> = 1;
220 __declspec(dllexport) void def() {}
225 extern "C" __declspec(dllexport) void externC() {}
230 __declspec(dllexport) inline void inlineFunc() {}
234 __declspec(dllexport) inline void inlineDecl();
239 __declspec(dllexport) void inlineDef();
245 __declspec(dllexport) void redecl1();
246 __declspec(dllexport) void redecl1() {}
250 __declspec(dllexport) void redecl2();
259 friend __declspec(dllexport) void friend1();
260 friend __declspec(dllexport) void friend2();
262 __declspec(dllexport) void friend1() {}
269 __declspec(dllexport) void* operator new(__SIZE_TYPE__ n) { return alloc(n); }
273 namespace ns { __declspec(dllexport) void externalFunc() {} }
284 template<typename T> __declspec(dllexport) void funcTmplDef() {}
290 template<typename T> __declspec(dllexport) inline void inlineFuncTmpl1() {}
300 template<typename T> __declspec(dllexport) inline void inlineFuncTmplDecl();
306 template<typename T> __declspec(dllexport) void inlineFuncTmplDef();
314 template<typename T> __declspec
315 template<typename T> __declspec(dllexport) void funcTmplRedecl1() {}
320 template<typename T> __declspec(dllexport) void funcTmplRedecl2();
326 template<typename T> __declspec(dllexport) void funcTmplRedecl3();
337 template<typename T> friend __declspec(dllexport) void funcTmplFriend1();
338 template<typename T> friend __declspec(dllexport) void funcTmplFriend2();
340 template<typename T> __declspec(dllexport) void funcTmplFriend1() {}
347 namespace ns { template<typename T> __declspec(dllexport) void externalFuncTmpl() {} }
352 template<typename T> __declspec(dllexport) void exportedFuncTmpl() {}
373 template<> __declspec(dllexport) void exportedFuncTmpl<ExplicitSpec_Def_Exported>() {}
377 template<> __declspec(dllexport) inline void exportedFuncTmpl<ExplicitSpec_InlineDef_Exported>() {}
389 extern template __declspec(dllexport) void funcTmpl<ExplicitDecl_Exported>();
390 template __declspec(dllexport) void funcTmpl<ExplicitDecl_Exported>();
395 template __declspec(dllexport) void funcTmpl<ExplicitInst_Exported>();
400 template<> __declspec(dllexport) void funcTmpl<ExplicitSpec_Def_Exported>() {}
404 template<> __declspec(dllexport) inline void funcTmpl<ExplicitSpec_InlineDef_Exported>() {}
418 __declspec(dllimport) __declspec(dllexport) int PrecedenceGlobal1B; // dllimport ignored
425 __declspec(dllexport) __declspec(dllimport) int PrecedenceGlobal2B; // dllimport ignored
429 __declspec(dllexport) extern int PrecedenceGlobalRedecl1;
430 __declspec(dllimport) int PrecedenceGlobalRedecl1 = 0;
434 __declspec(dllimport) extern int PrecedenceGlobalRedecl2;
435 __declspec(dllexport) int PrecedenceGlobalRedecl2;
440 __declspec(dllimport) int PrecedenceGlobalMixed1 = 0;
445 __declspec(dllexport) int PrecedenceGlobalMixed2;
452 void __declspec(dllimport) __declspec(dllexport) precedence1B() {}
459 void __declspec(dllexport) __declspec(dllimport) precedence2B() {}
463 void __declspec(dllimport) precedenceRedecl1();
464 void __declspec(dllexport) precedenceRedecl1() {}
468 void __declspec(dllexport) precedenceRedecl2();
469 void __declspec(dllimport) precedenceRedecl2() {}
478 void __declspec(dllexport) a() {}
482 void __declspec(dllexport) a() {}
488 __declspec(dllexport) CtorWithClosure(...) {}
503 struct __declspec(dllexport) ClassWithClosure {
514 struct __declspec(dllexport) NestedOuter {
517 struct __declspec(dllexport) NestedInner {
531 struct __declspec(dllexport) InheritFromTemplate : SomeTemplate<int> {};
535 struct __declspec(dllexport) T {
556 template <typename T> struct __declspec(dllexport) U { void foo() {} };
557 struct __declspec(dllexport) V : public U<int> { };
561 struct __declspec(dllexport) W { virtual void foo(); };
572 struct __declspec(dllexport) X : public virtual W {};
576 struct __declspec(dllexport) Y {
583 struct __declspec(dllexport) Z { virtual ~Z() {} };
592 struct __declspec(dllexport) A { ~A(); };
593 struct __declspec(dllexport) B : A { ~B(); };
601 struct __declspec(dllexport) DefaultedCtorsDtors {
609 struct __declspec(dllexport) S {
624 template <typename T> struct __declspec(dllexport) PartiallySpecializedClassTemplate<T*> { void f(); };
632 template <> struct __declspec(dllexport) ExplicitlySpecializedClassTemplate<void*> { void f(); };
639 template <typename T> struct __declspec(dllexport) PartiallySpecializedExportedClassTemplate {};
646 template <typename T> struct __declspec(dllexport) PartiallySpecializedExportedClassTemplate2 {};
647 template <typename T> struct __declspec(dllimport) PartiallySpecializedExportedClassTemplate2<T*> { void f(); };
654 template <typename T> struct __declspec(dllimport) ExplicitlyInstantiatedWithDifferentAttr { void f() {} };
655 template struct __declspec(dllexport) ExplicitlyInstantiatedWithDifferentAttr<int>;
665 struct __declspec(dllexport) ExportedDerivedClass : NonExportedBaseClass {};
682 template struct __declspec(dllexport) ExplicitInstConstexprMembers<void>;
685 extern template struct __declspec(dllexport) ExplicitInstantiationDeclTemplate<int>;
689 template <typename T> struct __declspec(dllexport) ExplicitInstantiationDeclExportedTemplate { void f() {} };
701 template <typename T> struct __declspec(dllexport) ExportedClassTemplate { void func(); };
703 template <typename T> struct __declspec(dllimport) ImportedClassTemplate { void func(); };
710 template <> struct __declspec(dllexport) ExplicitlyExportSpecializedTemplate<int> { void func(); };
713 template <> struct __declspec(dllimport) ExplicitlyImportSpecializedTemplate<int> { void func(); };
720 template struct __declspec(dllexport) ExplicitlyExportInstantiatedTemplate<int>;
722 template struct __declspec(dllimport) ExplicitlyImportInstantiatedTemplate<int>;
726 struct __declspec(dllexport) DerivedFromTemplate : public ClassTemplate<int> {};
732 struct __declspec(dllexport) DerivedFromExportedTemplate : public ExportedClassTemplate<int> {};
738 struct __declspec(dllexport) DerivedFromImportedTemplate : public ImportedClassTemplate<int> {};
745 struct __declspec(dllexport) DerivedFromTemplateD2 : public ClassTemplate<double> {};
751 struct __declspec(dllimport) DerivedFromTemplateB : public ClassTemplate<bool> {};
752 struct __declspec(dllexport) DerivedFromTemplateB2 : public ClassTemplate<bool> {};
758 struct __declspec(dllexport) DerivedFromExplicitlySpecializedTemplate : public ExplicitlySpecializedTemplate<int> {};
764 struct __declspec(dllexport) DerivedFromExplicitlyExportSpecializedTemplate : public ExplicitlyExportSpecializedTemplate<int> {};
770 struct __declspec(dllexport) DerivedFromExplicitlyImportSpecializedTemplate : public ExplicitlyImportSpecializedTemplate<int> {};
776 struct __declspec(dllexport) DerivedFromExplicitlyInstantiatedTemplate : public ExplicitlyInstantiatedTemplate<int> {};
782 struct __declspec(dllexport) DerivedFromExplicitlyExportInstantiatedTemplate : public ExplicitlyExportInstantiatedTemplate<int> {};
788 struct __declspec(dllexport) DerivedFromExplicitlyImportInstantiatedTemplate : public ExplicitlyImportInstantiatedTemplate<int> {};
796 struct __declspec(dllexport) BottomClass : public MiddleClass<int> { };