Lines Matching refs:__declspec
42 __declspec(dllimport) extern int ExternGlobalDecl;
48 __declspec(dllimport) int GlobalDecl;
54 __declspec(dllimport) extern int GlobalRedecl1;
55 __declspec(dllimport) extern int GlobalRedecl1;
60 __declspec(dllimport) int GlobalRedecl2a;
61 __declspec(dllimport) int GlobalRedecl2a;
81 __declspec(dllimport) extern int GlobalRedecl3;
87 namespace ns { __declspec(dllimport) int ExternalGlobal; }
90 int __declspec(dllimport) f();
93 inline int __declspec(dllimport) inlineStaticLocalsFunc() { in inlineStaticLocalsFunc()
116 template<typename T> __declspec(dllimport) extern int ExternVarTmplDecl;
122 template<typename T> __declspec(dllimport) int VarTmplDecl;
128 template<typename T> __declspec(dllimport) extern int VarTmplRedecl1;
129 template<typename T> __declspec(dllimport) extern int VarTmplRedecl1;
134 template<typename T> __declspec(dllimport) int VarTmplRedecl2;
135 template<typename T> __declspec(dllimport) int VarTmplRedecl2;
140 template<typename T> __declspec(dllimport) extern int VarTmplRedecl3;
147 namespace ns { template<typename T> __declspec(dllimport) int ExternalVarTmpl; }
152 template<typename T> __declspec(dllimport) int ImportedVarTmpl;
171 template<> __declspec(dllimport) int ImportedVarTmpl<ExplicitSpec_Imported>;
184 extern template __declspec(dllimport) int VarTmpl<ExplicitDecl_Imported>;
190 template __declspec(dllimport) int VarTmpl<ExplicitInst_Imported>;
196 template<> __declspec(dllimport) int VarTmpl<ExplicitSpec_Imported>;
208 __declspec(dllimport) void decl();
214 extern "C" __declspec(dllimport) void externC();
222 __declspec(dllimport) inline void inlineFunc() {} in USE()
229 __declspec(dllimport) inline void inlineDecl();
237 __declspec(dllimport) void inlineDef();
244 __declspec(dllimport) __attribute__((noinline)) inline void noinline() {} in USE()
249 __declspec(dllimport) __attribute__((always_inline)) inline void alwaysInline() {} in USE()
255 __declspec(dllimport) void redecl1();
256 __declspec(dllimport) void redecl1();
263 __declspec(dllimport) void redecl2();
269 __declspec(dllimport) void redecl3();
287 friend __declspec(dllimport) void friend1();
288 friend __declspec(dllimport) void friend2();
289 friend __declspec(dllimport) void friend3();
291 __declspec(dllimport) void friend1();
295 __declspec(dllimport) void friend4();
296 __declspec(dllimport) void friend5();
310 __declspec(dllimport) void* operator new(__SIZE_TYPE__ n);
315 namespace ns { __declspec(dllimport) void externalFunc(); }
319 __declspec(dllimport) int ImportedVar;
321 __declspec(dllimport) int ImportedFunc();
323 __declspec(dllimport) inline int ReferencingImportedVar() { return ImportedVar; } in ReferencingImportedVar()
325 __declspec(dllimport) inline int ReferencingNonImportedVar() { return NonImportedVar; } in ReferencingNonImportedVar()
327 __declspec(dllimport) inline int ReferencingImportedFunc() { return ImportedFunc(); } in ReferencingImportedFunc()
329 __declspec(dllimport) inline int ReferencingNonImportedFunc() { return NonImportedFunc(); } in ReferencingNonImportedFunc()
336 __declspec(dllimport) inline int *ReferencingNonImportedNew() { return new int[2]; } in USE()
338 __declspec(dllimport) inline int *ReferencingNonImportedDelete() { delete (int*)nullptr; } in ReferencingNonImportedDelete()
342 __declspec(dllimport) void* operator new[](__SIZE_TYPE__);
343 __declspec(dllimport) void operator delete(void*);
344 __declspec(dllimport) inline int *ReferencingImportedNew() { return new int[2]; } in ReferencingImportedNew()
346 __declspec(dllimport) inline int *ReferencingImportedDelete() { delete (int*)nullptr; } in ReferencingImportedDelete()
352 __declspec(dllimport) inline void FunctionWithTLSVar() { static __thread int x = 42; } in USE()
354 __declspec(dllimport) inline void FunctionWithNormalVar() { static int x = 42; } in FunctionWithNormalVar()
367 template<typename T> __declspec(dllimport) void funcTmplDecl();
377 template<typename T> __declspec(dllimport) inline void inlineFuncTmpl1() {} in USE()
391 template<typename T> __declspec(dllimport) inline void inlineFuncTmplDecl();
399 template<typename T> __declspec(dllimport) void inlineFuncTmplDef();
407 template<typename T> __declspec(dllimport) void funcTmplRedecl1();
408 template<typename T> __declspec(dllimport) void funcTmplRedecl1();
413 template<typename T> __declspec(dllimport) void funcTmplRedecl2();
419 template<typename T> __declspec(dllimport) void funcTmplRedecl3();
434 template<typename T> friend __declspec(dllimport) void funcTmplFriend1();
435 template<typename T> friend __declspec(dllimport) void funcTmplFriend2();
436 template<typename T> friend __declspec(dllimport) void funcTmplFriend3();
437 template<typename T> friend __declspec(dllimport) inline void funcTmplFriend4();
439 template<typename T> __declspec(dllimport) void funcTmplFriend1();
450 namespace ns { template<typename T> __declspec(dllimport) void externalFuncTmpl(); }
456 template<typename T> __declspec(dllimport) void importedFuncTmplDecl();
457 template<typename T> __declspec(dllimport) inline void importedFuncTmpl() {} in importedFuncTmpl()
490 template<> __declspec(dllimport) void importedFuncTmplDecl<ExplicitSpec_Imported>();
504 template<> __declspec(dllimport) inline void importedFuncTmplDecl<ExplicitSpec_InlineDef_Imported>(… in USE()
510 template<> __declspec(dllimport) void importedFuncTmpl<ExplicitSpec_Imported>();
524 template<> __declspec(dllimport) inline void importedFuncTmpl<ExplicitSpec_InlineDef_Imported>() {} in USE()
543 extern template __declspec(dllimport) void funcTmpl<ExplicitDecl_Imported>();
544 extern template __declspec(dllimport) void inlineFuncTmpl<ExplicitDecl_Imported>();
558 template __declspec(dllimport) void funcTmpl<ExplicitInst_Imported>();
559 template __declspec(dllimport) void inlineFuncTmpl<ExplicitInst_Imported>();
567 template<> __declspec(dllimport) void funcTmpl<ExplicitSpec_Imported>();
581 template<> __declspec(dllimport) inline void funcTmpl<ExplicitSpec_InlineDef_Imported>() {} in USE()
590 struct __declspec(dllimport) T {
615 template <typename T> struct __declspec(dllimport) U { void foo() {} }; in foo()
617 struct __declspec(dllimport) V : public U<int> { };
620 struct __declspec(dllimport) W { virtual void foo() {} }; in foo()
626 struct __declspec(dllimport) KeyFuncClass {
633 struct __declspec(dllimport) X : public virtual W {};
638 struct __declspec(dllimport) Y {
642 struct __declspec(dllimport) Z { virtual ~Z() {} }; in ~Z()
648 struct __declspec(dllimport) A { ~A(); };
649 struct __declspec(dllimport) B : A { ~B(); };
665 class __declspec(dllimport) C : virtual public Base {
675 template <typename T> struct __declspec(dllimport) S {
684 template <typename A> struct __declspec(dllimport) T<A*> {
700 template struct __declspec(dllimport) A<int>;
707 template struct __declspec(dllimport) B<int>;
714 template struct __declspec(dllimport) C<int>;
721 template struct __declspec(dllimport) D<42>;
729 struct __declspec(dllimport) S {
741 struct __declspec(dllimport) S {
757 extern template struct __declspec(dllimport) A<int>;
764 template <typename T> struct __declspec(dllimport) PartiallySpecializedClassTemplate<T*> { void f()…
771 template <> struct __declspec(dllimport) ExplicitlySpecializedClassTemplate<void*> { void f(); };
777 template <typename T> struct __declspec(dllimport) PartiallySpecializedImportedClassTemplate {};
784 template <typename T> struct __declspec(dllexport) ExplicitlyInstantiatedWithDifferentAttr { void f… in f()
785 template struct __declspec(dllimport) ExplicitlyInstantiatedWithDifferentAttr<int>;
791 template struct __declspec(dllimport) ExplicitInstantiationDeclImportedDefTemplate<int>;
798 template <typename T> struct __declspec(dllimport) ExplicitInstantiationDeclExportedDefImportedTemp… in ExplicitInstantiationDeclExportedDefImportedTemplate()
799 extern template struct __declspec(dllimport) ExplicitInstantiationDeclExportedDefImportedTemplate <…
800 template struct __declspec(dllexport) ExplicitInstantiationDeclExportedDefImportedTemplate<int>;
809 template struct __declspec(dllimport) PR23770DerivedTemplate<int>;
821 template class __declspec(dllimport) basic_ostream<char>;
835 template class __declspec(dllimport) codecvt<char>;
848 template <typename T> struct __declspec(dllexport) ExportedClassTemplate { void func(); };
850 template <typename T> struct __declspec(dllimport) ImportedClassTemplate { void func(); };
855 template <> struct __declspec(dllexport) ExplicitlyExportSpecializedTemplate<int> { void func(); };
858 template <> struct __declspec(dllimport) ExplicitlyImportSpecializedTemplate<int> { void func(); };
864 template struct __declspec(dllexport) ExplicitlyExportInstantiatedTemplate<int>;
866 template struct __declspec(dllimport) ExplicitlyImportInstantiatedTemplate<int>;
870 struct __declspec(dllimport) DerivedFromTemplate : public ClassTemplate<int> {};
876 struct __declspec(dllimport) DerivedFromImportedTemplate : public ImportedClassTemplate<int> {};
882 struct __declspec(dllimport) DerivedFromExportedTemplate : public ExportedClassTemplate<int> {};
889 struct __declspec(dllimport) DerivedFromTemplateD2 : public ClassTemplate<double> {};
895 struct __declspec(dllexport) DerivedFromTemplateB : public ClassTemplate<bool> {};
896 struct __declspec(dllimport) DerivedFromTemplateB2 : public ClassTemplate<bool> {};
902 struct __declspec(dllimport) DerivedFromExplicitlySpecializedTemplate : public ExplicitlySpecialize…
908 struct __declspec(dllimport) DerivedFromExplicitlyExportSpecializedTemplate : public ExplicitlyExpo…
914 struct __declspec(dllimport) DerivedFromExplicitlyImportSpecializedTemplate : public ExplicitlyImpo…
920 struct __declspec(dllimport) DerivedFromExplicitlyInstantiatedTemplate : public ExplicitlyInstantia…
926 struct __declspec(dllimport) DerivedFromExplicitlyExportInstantiatedTemplate : public ExplicitlyExp…
932 struct __declspec(dllimport) DerivedFromExplicitlyImportInstantiatedTemplate : public ExplicitlyImp…
940 struct __declspec(dllimport) BottomClass : public MiddleClass<int> { };
947 struct __declspec(dllimport) DerivedFromExplicitInstantiationDeclTemplateBase : public ExplicitInst…
955 struct __declspec(dllimport) DerivedFromExplicitInstantiationDeclTemplateBase2 : public ExplicitIns…
956 template struct __declspec(dllexport) ExplicitInstantiationDeclTemplateBase2<int>;