Home
last modified time | relevance | path

Searched refs:Tmpl (Results 1 – 14 of 14) 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.h713 bool InitFunctionInstantiation(FunctionDecl *New, FunctionDecl *Tmpl);
714 bool InitMethodInstantiation(CXXMethodDecl *New, CXXMethodDecl *Tmpl);
716 bool SubstDefaultedFunction(FunctionDecl *New, FunctionDecl *Tmpl);
H A DSema.h14040 CXXConstructorDecl *New, const CXXConstructorDecl *Tmpl,
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateInstantiateDecl.cpp238 const Attr *A, Expr *OldCond, const Decl *Tmpl, FunctionDecl *New) { in instantiateDependentFunctionAttrCondition() argument
269 const EnableIfAttr *EIA, const Decl *Tmpl, FunctionDecl *New) { in instantiateDependentEnableIfAttr() argument
271 S, TemplateArgs, EIA, EIA->getCond(), Tmpl, New); in instantiateDependentEnableIfAttr()
280 const DiagnoseIfAttr *DIA, const Decl *Tmpl, FunctionDecl *New) { in instantiateDependentDiagnoseIfAttr() argument
282 S, TemplateArgs, DIA, DIA->getCond(), Tmpl, New); in instantiateDependentDiagnoseIfAttr()
748 const MultiLevelTemplateArgumentList &TemplateArgs, const Decl *Tmpl, in InstantiateAttrsForDecl() argument
755 for (const auto *TmplAttr : Tmpl->attrs()) { in InstantiateAttrsForDecl()
793 const Decl *Tmpl, Decl *New, in InstantiateAttrs() argument
796 for (const auto *TmplAttr : Tmpl->attrs()) { in InstantiateAttrs()
828 instantiateDependentEnableIfAttr(*this, TemplateArgs, EnableIf, Tmpl, in InstantiateAttrs()
[all …]
H A DSemaTypeTraits.cpp91 } else if (FunctionTemplateDecl *Tmpl = in LookupSpecialMemberFromXValue() local
95 Tmpl, Cand, const_cast<CXXRecordDecl *>(RD), nullptr, ThisTy, in LookupSpecialMemberFromXValue()
H A DSemaLookup.cpp3560 } else if (FunctionTemplateDecl *Tmpl = in LookupSpecialMember() local
3564 AddMethodTemplateCandidate(Tmpl, Cand, RD, nullptr, ThisTy, in LookupSpecialMember()
3572 AddTemplateOverloadCandidate(Tmpl, Cand, nullptr, in LookupSpecialMember()
H A DSemaTemplateInstantiate.cpp200 VarTemplateDecl *Tmpl = cast<VarTemplateDecl *>(Specialized); in HandleVarTemplateSpec() local
203 Tmpl, VarTemplSpec->getTemplateInstantiationArgs().asArray(), in HandleVarTemplateSpec()
205 if (Tmpl->isMemberSpecialization()) in HandleVarTemplateSpec()
H A DSemaTemplate.cpp2047 auto *Tmpl = cast<CXXRecordDecl>(Hidden)->getDescribedClassTemplate(); in CheckClassTemplate() local
2048 assert(Tmpl && "original definition of a class template is not a " in CheckClassTemplate()
2051 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/lib/Serialization/
H A DASTReaderDecl.cpp1543 if (auto *Tmpl = readDeclAs<FieldDecl>()) in VisitFieldDecl() local
1544 Reader.getContext().setInstantiatedFromUnnamedFieldDecl(FD, Tmpl); in VisitFieldDecl()
1682 auto *Tmpl = readDeclAs<VarDecl>(); in VisitVarDeclImpl() local
1685 Reader.getContext().setInstantiatedFromStaticDataMember(VD, Tmpl, TSK,POI); in VisitVarDeclImpl()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DASTContext.h1069 void setInstantiatedFromStaticDataMember(VarDecl *Inst, VarDecl *Tmpl,
1102 void setInstantiatedFromUnnamedFieldDecl(FieldDecl *Inst, FieldDecl *Tmpl);
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclCXX.cpp1821 if (FunctionTemplateDecl *Tmpl = CallOp->getDescribedFunctionTemplate()) in getGenericLambdaTemplateParameterList() local
1822 return Tmpl->getTemplateParameters(); in getGenericLambdaTemplateParameterList()
H A DASTContext.cpp1563 ASTContext::setInstantiatedFromStaticDataMember(VarDecl *Inst, VarDecl *Tmpl, in setInstantiatedFromStaticDataMember() argument
1567 assert(Tmpl->isStaticDataMember() && "Not a static data member"); in setInstantiatedFromStaticDataMember()
1569 Tmpl, TSK, PointOfInstantiation)); in setInstantiatedFromStaticDataMember()
1628 FieldDecl *Tmpl) { in setInstantiatedFromUnnamedFieldDecl() argument
1636 InstantiatedFromUnnamedFieldDecl[Inst] = Tmpl; in setInstantiatedFromUnnamedFieldDecl()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDebugInfo.cpp2933 if (FunctionDecl *Tmpl = MD->getInstantiatedFromMemberFunction()) in hasExplicitMemberDefinition() local
2934 if (!Tmpl->isImplicit() && Tmpl->isThisDeclarationADefinition() && in hasExplicitMemberDefinition()