Searched defs:Tmpl (Results 1 - 5 of 5) sorted by relevance
/external/clang/test/SemaTemplate/ |
H A D | class-template-ctor-initializer.cpp | 17 template<typename T> struct Tmpl { }; struct 21 struct TmplC : Tmpl<int> { 23 Tmpl<int>(), 28 struct TmplD : Tmpl<char>, TmplB<char> { 30 Tmpl<int>(), // expected-error {{type 'Tmpl<int>' is not a direct or virtual base of 'TmplD'}}
|
/external/clang/lib/Sema/ |
H A D | SemaTemplateInstantiate.cpp | 87 VarTemplateDecl *Tmpl = Specialized.get<VarTemplateDecl *>(); local 88 if (Tmpl->isMemberSpecialization())
|
H A D | SemaTemplateInstantiateDecl.cpp | 134 const EnableIfAttr *A, const Decl *Tmpl, Decl *New) { 152 !Expr::isPotentialConstantExprUnevaluated(Cond, cast<FunctionDecl>(Tmpl), 168 const Decl *Tmpl, Decl *New, 171 for (const auto *TmplAttr : Tmpl->attrs()) { 181 instantiateDependentEnableIfAttr(*this, TemplateArgs, EnableIf, Tmpl, 3177 /// declaration (New) from the corresponding fields of its template (Tmpl). 3182 FunctionDecl *Tmpl) { 3183 if (Tmpl->isDeleted()) 3188 SemaRef.Context.getManglingNumber(Tmpl)); 3204 assert(FunTmpl->getTemplatedDecl() == Tmpl 132 instantiateDependentEnableIfAttr( Sema &S, const MultiLevelTemplateArgumentList &TemplateArgs, const EnableIfAttr *A, const Decl *Tmpl, Decl *New) argument 167 InstantiateAttrs(const MultiLevelTemplateArgumentList &TemplateArgs, const Decl *Tmpl, Decl *New, LateInstantiatedAttrVec *LateAttrs, LocalInstantiationScope *OuterMostScope) argument 3181 InitFunctionInstantiation(FunctionDecl *New, FunctionDecl *Tmpl) argument 3262 InitMethodInstantiation(CXXMethodDecl *New, CXXMethodDecl *Tmpl) argument 3758 VarTemplatePartialSpecializationDecl *Tmpl = local 3769 VarTemplateDecl *Tmpl = PatternPtr.get<VarTemplateDecl *>(); local 4005 InstantiateMemInitializers(CXXConstructorDecl *New, const CXXConstructorDecl *Tmpl, const MultiLevelTemplateArgumentList &TemplateArgs) argument [all...] |
/external/clang/lib/Serialization/ |
H A D | ASTReaderDecl.cpp | 960 if (FieldDecl *Tmpl = ReadDeclAs<FieldDecl>(Record, Idx)) 961 Reader.getContext().setInstantiatedFromUnnamedFieldDecl(FD, Tmpl); 1028 VarDecl *Tmpl = ReadDeclAs<VarDecl>(Record, Idx); local 1031 Reader.getContext().setInstantiatedFromStaticDataMember(VD, Tmpl, TSK,POI);
|
/external/clang/lib/AST/ |
H A D | ASTContext.cpp | 1102 ASTContext::setInstantiatedFromStaticDataMember(VarDecl *Inst, VarDecl *Tmpl, argument 1106 assert(Tmpl->isStaticDataMember() && "Not a static data member"); 1108 Tmpl, TSK, PointOfInstantiation)); 1184 FieldDecl *Tmpl) { 1186 assert(!Tmpl->getDeclName() && "Template field decl is not unnamed"); 1190 InstantiatedFromUnnamedFieldDecl[Inst] = Tmpl; 1183 setInstantiatedFromUnnamedFieldDecl(FieldDecl *Inst, FieldDecl *Tmpl) argument
|
Completed in 134 milliseconds