Home
last modified time | relevance | path

Searched refs:VarTmpl (Results 1 – 6 of 6) sorted by relevance

/external/clang/test/CodeGenCXX/
Ddllimport.cpp151 template<typename T> int VarTmpl;
184 extern template __declspec(dllimport) int VarTmpl<ExplicitDecl_Imported>;
185 USEVAR(VarTmpl<ExplicitDecl_Imported>)
190 template __declspec(dllimport) int VarTmpl<ExplicitInst_Imported>;
191 USEVAR(VarTmpl<ExplicitInst_Imported>)
196 template<> __declspec(dllimport) int VarTmpl<ExplicitSpec_Imported>;
197 USEVAR(VarTmpl<ExplicitSpec_Imported>)
Ddllexport.cpp158 template<typename T> int VarTmpl = 1; variable
196 extern template __declspec(dllexport) int VarTmpl<ExplicitDecl_Exported>;
197 template __declspec(dllexport) int VarTmpl<ExplicitDecl_Exported>; variable
202 template __declspec(dllexport) int VarTmpl<ExplicitInst_Exported>; variable
207 template<> __declspec(dllexport) int VarTmpl<ExplicitSpec_Exported>; variable
211 template<> __declspec(dllexport) int VarTmpl<ExplicitSpec_Def_Exported> = 1; variable
/external/clang/test/SemaCXX/
Ddllexport.cpp129 template<typename T> int VarTmpl = 1; variable
152 extern template __declspec(dllexport) int VarTmpl<ExplicitDecl_Exported>;
153 template __declspec(dllexport) int VarTmpl<ExplicitDecl_Exported>; variable
156 template __declspec(dllexport) int VarTmpl<ExplicitInst_Exported>; variable
159 template<> __declspec(dllexport) int VarTmpl<ExplicitSpec_Exported>; variable
160 template<> __declspec(dllexport) int VarTmpl<ExplicitSpec_Def_Exported> = 1; variable
Ddllimport.cpp216 template<typename T> int VarTmpl; variable
238 extern template __declspec(dllimport) int VarTmpl<ExplicitDecl_Imported>;
241 template __declspec(dllimport) int VarTmpl<ExplicitInst_Imported>; variable
244 template<> __declspec(dllimport) int VarTmpl<ExplicitSpec_Imported>; variable
245 template<> __declspec(dllimport) int VarTmpl<ExplicitSpec_Def_Imported> = 1; // expected-error{{def… variable
/external/clang/lib/Sema/
DSemaDecl.cpp6421 if (VarTemplateDecl *VarTmpl = dyn_cast<VarTemplateDecl>(PreviousDecl)) { in ActOnVariableDeclarator() local
6422 if (VarTmpl->isConcept()) { in ActOnVariableDeclarator()
6427 Diag(VarTmpl->getLocation(), diag::note_previous_declaration); in ActOnVariableDeclarator()
DSemaDeclCXX.cpp2233 else if (VarTemplateDecl *VarTmpl = dyn_cast<VarTemplateDecl>(Member)) in ActOnCXXMemberDeclarator() local
2234 VarTmpl->getTemplatedDecl()->setAccess(AS); in ActOnCXXMemberDeclarator()