Home
last modified time | relevance | path

Searched refs:StaticVar (Results 1 – 5 of 5) sorted by relevance

/llvm-project-15.0.7/clang/test/CodeGenCXX/
H A Ddllexport-members.cpp629 template<typename T> static const int StaticVar = 1; member
632 template<typename T> const int MemVarTmpl::StaticVar; member in MemVarTmpl
669 extern template __declspec(dllexport) const int MemVarTmpl::StaticVar<ExplicitDecl_Exported>;
670 template __declspec(dllexport) const int MemVarTmpl::StaticVar<ExplicitDecl_Exported>; member in MemVarTmpl
676 template __declspec(dllexport) const int MemVarTmpl::StaticVar<ExplicitInst_Exported>; member in MemVarTmpl
681 template<> __declspec(dllexport) const int MemVarTmpl::StaticVar<ExplicitSpec_Def_Exported> = 1;
H A Ddllimport-members.cpp828 template<typename T> static const int StaticVar = 1; member
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>;
877 USEMV(MemVarTmpl, StaticVar<ExplicitSpec_Imported>)
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Ddllexport.cpp950 template<typename T> static const int StaticVar = 1; member
953 template<typename T> const int MemVarTmpl::StaticVar; member in MemVarTmpl
979 extern template __declspec(dllexport) const int MemVarTmpl::StaticVar<ExplicitDecl_Exported>;
980 template __declspec(dllexport) const int MemVarTmpl::StaticVar<ExplicitDecl_Exported>; member in MemVarTmpl
984 template __declspec(dllexport) const int MemVarTmpl::StaticVar<ExplicitInst_Exported>; member in MemVarTmpl
987 template<> __declspec(dllexport) const int MemVarTmpl::StaticVar<ExplicitSpec_Exported>;
988 template<> __declspec(dllexport) const int MemVarTmpl::StaticVar<ExplicitSpec_Def_Exported> = 1;
H A Ddllimport.cpp1090 template<typename T> static const int StaticVar = 1; member
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;
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/performance/
H A Dunnecessary-copy-initialization.cpp284 static const auto StaticVar = Obj.reference(); in NegativeStaticLocalVar() local