/freebsd/contrib/googletest/googletest/include/gtest/internal/ |
H A D | gtest-type-util.h | 152 template <GTEST_TEMPLATE_ Tmpl> 156 typedef Tmpl<T> type;
|
/freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | Template.h | 694 bool InitFunctionInstantiation(FunctionDecl *New, FunctionDecl *Tmpl); 695 bool InitMethodInstantiation(CXXMethodDecl *New, CXXMethodDecl *Tmpl); 697 bool SubstDefaultedFunction(FunctionDecl *New, FunctionDecl *Tmpl);
|
H A D | Sema.h | 13740 CXXConstructorDecl *New, const CXXConstructorDecl *Tmpl,
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaTemplateInstantiateDecl.cpp | 236 const Attr *A, Expr *OldCond, const Decl *Tmpl, FunctionDecl *New) { in instantiateDependentFunctionAttrCondition() argument 267 const EnableIfAttr *EIA, const Decl *Tmpl, FunctionDecl *New) { in instantiateDependentEnableIfAttr() argument 269 S, TemplateArgs, EIA, EIA->getCond(), Tmpl, New); in instantiateDependentEnableIfAttr() 278 const DiagnoseIfAttr *DIA, const Decl *Tmpl, FunctionDecl *New) { in instantiateDependentDiagnoseIfAttr() argument 280 S, TemplateArgs, DIA, DIA->getCond(), Tmpl, New); in instantiateDependentDiagnoseIfAttr() 703 const MultiLevelTemplateArgumentList &TemplateArgs, const Decl *Tmpl, in InstantiateAttrsForDecl() argument 710 for (const auto *TmplAttr : Tmpl->attrs()) { in InstantiateAttrsForDecl() 743 const Decl *Tmpl, Decl *New, in InstantiateAttrs() argument 746 for (const auto *TmplAttr : Tmpl->attrs()) { in InstantiateAttrs() 778 instantiateDependentEnableIfAttr(*this, TemplateArgs, EnableIf, Tmpl, in InstantiateAttrs() [all …]
|
H A D | SemaTemplateInstantiate.cpp | 202 VarTemplateDecl *Tmpl = Specialized.get<VarTemplateDecl *>(); in HandleVarTemplateSpec() local 205 Tmpl, VarTemplSpec->getTemplateInstantiationArgs().asArray(), in HandleVarTemplateSpec() 207 if (Tmpl->isMemberSpecialization()) in HandleVarTemplateSpec()
|
H A D | SemaLookup.cpp | 3467 } else if (FunctionTemplateDecl *Tmpl = in LookupSpecialMember() local 3471 AddMethodTemplateCandidate(Tmpl, Cand, RD, nullptr, ThisTy, in LookupSpecialMember() 3479 AddTemplateOverloadCandidate(Tmpl, Cand, nullptr, in LookupSpecialMember()
|
H A D | SemaTemplate.cpp | 2004 auto *Tmpl = cast<CXXRecordDecl>(Hidden)->getDescribedClassTemplate(); in CheckClassTemplate() local 2005 assert(Tmpl && "original definition of a class template is not a " in CheckClassTemplate() 2008 makeMergedDefinitionVisible(Tmpl); in CheckClassTemplate()
|
H A D | SemaCodeComplete.cpp | 1110 if (const auto *Tmpl = dyn_cast<FunctionTemplateDecl>(ND)) in isConstructor() local 1111 ND = Tmpl->getTemplatedDecl(); in isConstructor()
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | ASTContext.h | 976 void setInstantiatedFromStaticDataMember(VarDecl *Inst, VarDecl *Tmpl, 1009 void setInstantiatedFromUnnamedFieldDecl(FieldDecl *Inst, FieldDecl *Tmpl);
|
/freebsd/contrib/llvm-project/clang/lib/Serialization/ |
H A D | ASTReaderDecl.cpp | 1537 if (auto *Tmpl = readDeclAs<FieldDecl>()) in VisitFieldDecl() local 1538 Reader.getContext().setInstantiatedFromUnnamedFieldDecl(FD, Tmpl); in VisitFieldDecl() 1675 auto *Tmpl = readDeclAs<VarDecl>(); in VisitVarDeclImpl() local 1678 Reader.getContext().setInstantiatedFromStaticDataMember(VD, Tmpl, TSK,POI); in VisitVarDeclImpl()
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | DeclCXX.cpp | 1704 if (FunctionTemplateDecl *Tmpl = CallOp->getDescribedFunctionTemplate()) in getGenericLambdaTemplateParameterList() local 1705 return Tmpl->getTemplateParameters(); in getGenericLambdaTemplateParameterList()
|
H A D | ASTContext.cpp | 1500 ASTContext::setInstantiatedFromStaticDataMember(VarDecl *Inst, VarDecl *Tmpl, in setInstantiatedFromStaticDataMember() argument 1504 assert(Tmpl->isStaticDataMember() && "Not a static data member"); in setInstantiatedFromStaticDataMember() 1506 Tmpl, TSK, PointOfInstantiation)); in setInstantiatedFromStaticDataMember() 1564 FieldDecl *Tmpl) { in setInstantiatedFromUnnamedFieldDecl() argument 1566 assert(!Tmpl->getDeclName() && "Template field decl is not unnamed"); in setInstantiatedFromUnnamedFieldDecl() 1570 InstantiatedFromUnnamedFieldDecl[Inst] = Tmpl; in setInstantiatedFromUnnamedFieldDecl()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGDebugInfo.cpp | 2709 if (FunctionDecl *Tmpl = MD->getInstantiatedFromMemberFunction()) in hasExplicitMemberDefinition() local 2710 if (!Tmpl->isImplicit() && Tmpl->isThisDeclarationADefinition() && in hasExplicitMemberDefinition()
|