Searched defs:Tmpl (Results 1 - 4 of 4) 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 | SemaTemplateInstantiateDecl.cpp | 64 const Decl *Tmpl, Decl *New, 67 for (AttrVec::const_iterator i = Tmpl->attr_begin(), e = Tmpl->attr_end(); 2546 /// declaration (New) from the corresponding fields of its template (Tmpl). 2551 FunctionDecl *Tmpl) { 2552 if (Tmpl->isDeleted()) 2569 assert(FunTmpl->getTemplatedDecl() == Tmpl && 2577 const FunctionProtoType *Proto = Tmpl->getType()->getAs<FunctionProtoType>(); 2589 FunctionDecl *ExceptionSpecTemplate = Tmpl; 2613 const FunctionDecl *Definition = Tmpl; 63 InstantiateAttrs(const MultiLevelTemplateArgumentList &TemplateArgs, const Decl *Tmpl, Decl *New, LateInstantiatedAttrVec *LateAttrs, LocalInstantiationScope *OuterMostScope) argument 2550 InitFunctionInstantiation(FunctionDecl *New, FunctionDecl *Tmpl) argument 2628 InitMethodInstantiation(CXXMethodDecl *New, CXXMethodDecl *Tmpl) argument 2960 InstantiateMemInitializers(CXXConstructorDecl *New, const CXXConstructorDecl *Tmpl, const MultiLevelTemplateArgumentList &TemplateArgs) argument [all...] |
/external/clang/lib/Serialization/ |
H A D | ASTReaderDecl.cpp | 872 if (FieldDecl *Tmpl = ReadDeclAs<FieldDecl>(Record, Idx)) 873 Reader.getContext().setInstantiatedFromUnnamedFieldDecl(FD, Tmpl); 915 VarDecl *Tmpl = ReadDeclAs<VarDecl>(Record, Idx); local 918 Reader.getContext().setInstantiatedFromStaticDataMember(VD, Tmpl, TSK,POI);
|
/external/clang/lib/AST/ |
H A D | ASTContext.cpp | 874 ASTContext::setInstantiatedFromStaticDataMember(VarDecl *Inst, VarDecl *Tmpl, argument 878 assert(Tmpl->isStaticDataMember() && "Not a static data member"); 882 = new (*this) MemberSpecializationInfo(Tmpl, TSK, PointOfInstantiation); 950 FieldDecl *Tmpl) { 952 assert(!Tmpl->getDeclName() && "Template field decl is not unnamed"); 956 InstantiatedFromUnnamedFieldDecl[Inst] = Tmpl; 949 setInstantiatedFromUnnamedFieldDecl(FieldDecl *Inst, FieldDecl *Tmpl) argument
|
Completed in 64 milliseconds