Home
last modified time | relevance | path

Searched refs:MemVarTmpl (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/clang/test/CodeGenCXX/
H A Ddllexport-members.cpp628 struct MemVarTmpl { struct
632 template<typename T> const int MemVarTmpl::StaticVar; argument
633 template<typename T> const int MemVarTmpl::ExportedStaticVar;
638 int useMemVarTmpl() { return MemVarTmpl::ExportedStaticVar<ImplicitInst_Exported>; } in useMemVarTmpl()
644 extern template const int MemVarTmpl::ExportedStaticVar<ExplicitDecl_Exported>;
645 template const int MemVarTmpl::ExportedStaticVar<ExplicitDecl_Exported>;
651 template const int MemVarTmpl::ExportedStaticVar<ExplicitInst_Exported>;
662 template<> const int MemVarTmpl::ExportedStaticVar<ExplicitSpec_NotExported> = 1;
669 extern template __declspec(dllexport) const int MemVarTmpl::StaticVar<ExplicitDecl_Exported>;
670 template __declspec(dllexport) const int MemVarTmpl::StaticVar<ExplicitDecl_Exported>;
[all …]
H A Ddllimport-members.cpp827 struct MemVarTmpl { struct
835 USEMV(MemVarTmpl, ImportedStaticVar<ImplicitInst_Imported>)
841 extern template const int MemVarTmpl::ImportedStaticVar<ExplicitDecl_Imported>;
842 USEMV(MemVarTmpl, ImportedStaticVar<ExplicitDecl_Imported>)
852 USEMV(MemVarTmpl, ImportedStaticVar<ExplicitSpec_Imported>)
858 template<> const int MemVarTmpl::ImportedStaticVar<ExplicitSpec_NotImported>;
859 USEMV(MemVarTmpl, ImportedStaticVar<ExplicitSpec_NotImported>)
866 extern template __declspec(dllimport) const int MemVarTmpl::StaticVar<ExplicitDecl_Imported>;
867 USEMV(MemVarTmpl, StaticVar<ExplicitDecl_Imported>)
876 template<> __declspec(dllimport) const int MemVarTmpl::StaticVar<ExplicitSpec_Imported>;
[all …]
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Ddllexport.cpp949 struct MemVarTmpl { struct
953 template<typename T> const int MemVarTmpl::StaticVar; argument
954 template<typename T> const int MemVarTmpl::ExportedStaticVar;
957 int useMemVarTmpl() { return MemVarTmpl::ExportedStaticVar<ImplicitInst_Exported>; } in useMemVarTmpl()
961 extern template const int MemVarTmpl::ExportedStaticVar<ExplicitDecl_Exported>;
962 template const int MemVarTmpl::ExportedStaticVar<ExplicitDecl_Exported>;
966 template const int MemVarTmpl::ExportedStaticVar<ExplicitInst_Exported>;
974 template<> const int MemVarTmpl::ExportedStaticVar<ExplicitSpec_NotExported>;
979 extern template __declspec(dllexport) const int MemVarTmpl::StaticVar<ExplicitDecl_Exported>;
984 template __declspec(dllexport) const int MemVarTmpl::StaticVar<ExplicitInst_Exported>;
[all …]
H A Ddllimport.cpp1089 struct MemVarTmpl { struct
1095 int useMemVarTmpl() { return MemVarTmpl::ImportedStaticVar<ImplicitInst_Imported>; } in useMemVarTmpl() argument
1099 extern template const int MemVarTmpl::ImportedStaticVar<ExplicitDecl_Imported>;
1106 template<> __declspec(dllimport) const int MemVarTmpl::ImportedStaticVar<ExplicitSpec_Imported>;
1107 template<> __declspec(dllimport) const int MemVarTmpl::ImportedStaticVar<ExplicitSpec_Def_Imported>…
1113 template<> const int MemVarTmpl::ImportedStaticVar<ExplicitSpec_NotImported>;
1118 extern template __declspec(dllimport) const int MemVarTmpl::StaticVar<ExplicitDecl_Imported>;
1125 template<> __declspec(dllimport) const int MemVarTmpl::StaticVar<ExplicitSpec_Imported>;
1126 template<> __declspec(dllimport) const int MemVarTmpl::StaticVar<ExplicitSpec_Def_Imported> = 1;