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 | 122 const Decl *Tmpl, Decl *New, 125 for (AttrVec::const_iterator i = Tmpl->attr_begin(), e = Tmpl->attr_end(); 2967 /// declaration (New) from the corresponding fields of its template (Tmpl). 2972 FunctionDecl *Tmpl) { 2973 if (Tmpl->isDeleted()) 2990 assert(FunTmpl->getTemplatedDecl() == Tmpl && 2998 const FunctionProtoType *Proto = Tmpl->getType()->getAs<FunctionProtoType>(); 3010 FunctionDecl *ExceptionSpecTemplate = Tmpl; 3033 const FunctionDecl *Definition = Tmpl; 121 InstantiateAttrs(const MultiLevelTemplateArgumentList &TemplateArgs, const Decl *Tmpl, Decl *New, LateInstantiatedAttrVec *LateAttrs, LocalInstantiationScope *OuterMostScope) argument 2971 InitFunctionInstantiation(FunctionDecl *New, FunctionDecl *Tmpl) argument 3048 InitMethodInstantiation(CXXMethodDecl *New, CXXMethodDecl *Tmpl) argument 3640 InstantiateMemInitializers(CXXConstructorDecl *New, const CXXConstructorDecl *Tmpl, const MultiLevelTemplateArgumentList &TemplateArgs) argument [all...] |
/external/clang/lib/Serialization/ |
H A D | ASTReaderDecl.cpp | 907 if (FieldDecl *Tmpl = ReadDeclAs<FieldDecl>(Record, Idx)) 908 Reader.getContext().setInstantiatedFromUnnamedFieldDecl(FD, Tmpl); 957 VarDecl *Tmpl = ReadDeclAs<VarDecl>(Record, Idx); local 960 Reader.getContext().setInstantiatedFromStaticDataMember(VD, Tmpl, TSK,POI);
|
/external/clang/lib/AST/ |
H A D | ASTContext.cpp | 1064 ASTContext::setInstantiatedFromStaticDataMember(VarDecl *Inst, VarDecl *Tmpl, argument 1068 assert(Tmpl->isStaticDataMember() && "Not a static data member"); 1070 Tmpl, TSK, PointOfInstantiation)); 1146 FieldDecl *Tmpl) { 1148 assert(!Tmpl->getDeclName() && "Template field decl is not unnamed"); 1152 InstantiatedFromUnnamedFieldDecl[Inst] = Tmpl; 1145 setInstantiatedFromUnnamedFieldDecl(FieldDecl *Inst, FieldDecl *Tmpl) argument
|
Completed in 196 milliseconds