Home
last modified time | relevance | path

Searched refs:Tmpl (Results 1 – 13 of 13) sorted by relevance

/freebsd/contrib/googletest/googletest/include/gtest/internal/
H A Dgtest-type-util.h152 template <GTEST_TEMPLATE_ Tmpl>
156 typedef Tmpl<T> type;
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DTemplate.h694 bool InitFunctionInstantiation(FunctionDecl *New, FunctionDecl *Tmpl);
695 bool InitMethodInstantiation(CXXMethodDecl *New, CXXMethodDecl *Tmpl);
697 bool SubstDefaultedFunction(FunctionDecl *New, FunctionDecl *Tmpl);
H A DSema.h13740 CXXConstructorDecl *New, const CXXConstructorDecl *Tmpl,
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateInstantiateDecl.cpp236 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 DSemaTemplateInstantiate.cpp202 VarTemplateDecl *Tmpl = Specialized.get<VarTemplateDecl *>(); in HandleVarTemplateSpec() local
205 Tmpl, VarTemplSpec->getTemplateInstantiationArgs().asArray(), in HandleVarTemplateSpec()
207 if (Tmpl->isMemberSpecialization()) in HandleVarTemplateSpec()
H A DSemaLookup.cpp3467 } 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 DSemaTemplate.cpp2004 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 DSemaCodeComplete.cpp1110 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 DASTContext.h976 void setInstantiatedFromStaticDataMember(VarDecl *Inst, VarDecl *Tmpl,
1009 void setInstantiatedFromUnnamedFieldDecl(FieldDecl *Inst, FieldDecl *Tmpl);
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp1537 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 DDeclCXX.cpp1704 if (FunctionTemplateDecl *Tmpl = CallOp->getDescribedFunctionTemplate()) in getGenericLambdaTemplateParameterList() local
1705 return Tmpl->getTemplateParameters(); in getGenericLambdaTemplateParameterList()
H A DASTContext.cpp1500 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 DCGDebugInfo.cpp2709 if (FunctionDecl *Tmpl = MD->getInstantiatedFromMemberFunction()) in hasExplicitMemberDefinition() local
2710 if (!Tmpl->isImplicit() && Tmpl->isThisDeclarationADefinition() && in hasExplicitMemberDefinition()