Home
last modified time | relevance | path

Searched refs:TPL (Results 1 – 25 of 30) sorted by relevance

12

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclTemplate.cpp239 const PrintingPolicy &Policy, const TemplateParameterList *TPL, in shouldIncludeTypeForArgument() argument
241 if (!TPL || Idx >= TPL->size() || Policy.AlwaysIncludeTypeForTemplateArgument) in shouldIncludeTypeForArgument()
243 const NamedDecl *TemplParam = TPL->getParam(Idx); in shouldIncludeTypeForArgument()
549 TemplateParameterList *TPL, void *&InsertPos) { in findPartialSpecialization() argument
551 TPL); in findPartialSpecialization()
556 TemplateParameterList *TPL, const ASTContext &Context) { in Profile() argument
560 TPL->Profile(ID, Context); in Profile()
1175 if (const TemplateParameterList *TPL = getTemplateParameters(); in getSourceRange() local
1176 TPL && !getNumTemplateParameterLists()) in getSourceRange()
1177 Range.setBegin(TPL->getTemplateLoc()); in getSourceRange()
[all …]
H A DTypePrinter.cpp1629 const TemplateParameterList *TPL = TD ? TD->getTemplateParameters() : nullptr; in printTemplateId() local
1630 printTemplateArgumentList(OS, T->template_arguments(), Policy, TPL); in printTemplateId()
2330 const TemplateParameterList *TPL, bool IsPack, unsigned ParmIndex) { in printTo() argument
2332 if (TPL && Policy.SuppressDefaultTemplateArgs && in printTo()
2334 Args.size() <= TPL->size()) { in printTo()
2356 printTo(ArgOS, Argument.getPackAsArray(), Policy, TPL, in printTo()
2364 Policy, TPL, ParmIndex)); in printTo()
2398 const TemplateParameterList *TPL) { in printTemplateArgumentList() argument
2399 printTemplateArgumentList(OS, Args.arguments(), Policy, TPL); in printTemplateArgumentList()
2405 const TemplateParameterList *TPL) { in printTemplateArgumentList() argument
[all …]
H A DStmtPrinter.cpp1218 const TemplateParameterList *TPL = nullptr; in VisitDeclRefExpr() local
1221 TPL = TD->getTemplateParameters(); in VisitDeclRefExpr()
1222 printTemplateArgumentList(OS, Node->template_arguments(), Policy, TPL); in VisitDeclRefExpr()
1648 const TemplateParameterList *TPL = nullptr; in VisitMemberExpr() local
1652 TPL = FTD->getTemplateParameters(); in VisitMemberExpr()
1655 TPL = VTSD->getSpecializedTemplate()->getTemplateParameters(); in VisitMemberExpr()
1657 printTemplateArgumentList(OS, Node->template_arguments(), Policy, TPL); in VisitMemberExpr()
2068 const TemplateParameterList *TPL = nullptr; in VisitUserDefinedLiteral() local
2071 TPL = TD->getTemplateParameters(); in VisitUserDefinedLiteral()
2073 printTemplateArgumentList(OS, Args->asArray(), Policy, TPL); in VisitUserDefinedLiteral()
H A DODRHash.cpp210 void ODRHash::AddTemplateParameterList(const TemplateParameterList *TPL) { in AddTemplateParameterList() argument
211 assert(TPL && "Expecting non-null pointer."); in AddTemplateParameterList()
213 ID.AddInteger(TPL->size()); in AddTemplateParameterList()
214 for (auto *ND : TPL->asArray()) { in AddTemplateParameterList()
H A DDeclObjC.cpp343 void ObjCInterfaceDecl::setTypeParamList(ObjCTypeParamList *TPL) { in setTypeParamList() argument
344 TypeParamList = TPL; in setTypeParamList()
345 if (!TPL) in setTypeParamList()
2167 void ObjCCategoryDecl::setTypeParamList(ObjCTypeParamList *TPL) { in setTypeParamList() argument
2168 TypeParamList = TPL; in setTypeParamList()
2169 if (!TPL) in setTypeParamList()
H A DODRDiagsEmitter.cpp1445 [](const TemplateParameterList *TPL) { in diagnoseMismatch() argument
1446 assert(TPL); in diagnoseMismatch()
1448 Hasher.AddTemplateParameterList(TPL); in diagnoseMismatch()
H A DDeclBase.cpp301 if (auto *TPL = getDescribedTemplateParams()) in getTemplateDepth() local
302 return TPL->getDepth() + 1; in getTemplateDepth()
H A DMicrosoftMangle.cpp1686 const TemplateParameterList *TPL = TD->getTemplateParameters(); in mangleTemplateArgs() local
1687 assert(TPL->size() == TemplateArgs.size() && in mangleTemplateArgs()
1698 mangleTemplateArg(TD, TA, TPL->getParam(i)); in mangleTemplateArgs()
H A DItaniumMangle.cpp2137 if (auto *TPL = Lambda->getGenericLambdaTemplateParameterList()) in mangleLambdaSig() local
2138 mangleRequiresClause(TPL->getRequiresClause()); in mangleLambdaSig()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DCodeCompleteConsumer.cpp575 TemplateParameterList *TPL = getTemplate()->getTemplateParameters(); in getParamType() local
576 if (N < TPL->size()) in getParamType()
577 if (const auto *D = dyn_cast<NonTypeTemplateParmDecl>(TPL->getParam(N))) in getParamType()
604 TemplateParameterList *TPL = getTemplate()->getTemplateParameters(); in getParamDecl() local
605 if (N < TPL->size()) in getParamDecl()
606 return TPL->getParam(N); in getParamDecl()
H A DSemaConcept.cpp1918 ReturnTypeRequirement(TemplateParameterList *TPL) : in ReturnTypeRequirement() argument
1919 TypeConstraintInfo(TPL, false) { in ReturnTypeRequirement()
1920 assert(TPL->size() == 1); in ReturnTypeRequirement()
1922 cast<TemplateTypeParmDecl>(TPL->getParam(0))->getTypeConstraint(); in ReturnTypeRequirement()
H A DSemaCXXScopeSpec.cpp96 [Depth](TemplateParameterList *TPL) { in computeDeclContext() argument
97 return TPL->getDepth() == Depth; in computeDeclContext()
H A DSemaTemplateVariadic.cpp265 if (auto *TPL = Lambda->getTemplateParameterList()) in TraverseLambdaExpr() local
266 DepthLimit = TPL->getDepth(); in TraverseLambdaExpr()
H A DSemaTemplateInstantiate.cpp2705 TemplateParameterList *TPL = TransformTemplateParameterList(OrigTPL); in TransformExprRequirement() local
2706 if (!TPL || Trap.hasErrorOccurred()) in TransformExprRequirement()
2714 TransRetReq.emplace(TPL); in TransformExprRequirement()
H A DSemaLookup.cpp1845 TemplateParameterList *TPL = TD->getTemplateParameters(); in isAcceptableSlow() local
1847 SearchDefinitions = Index >= TPL->size() || TPL->getParam(Index) != D; in isAcceptableSlow()
H A DSemaExprCXX.cpp9279 auto *TPL = TemplateParameterList::Create(Context, SourceLocation(), in ActOnCompoundRequirement() local
9286 concepts::ExprRequirement::ReturnTypeRequirement(TPL)); in ActOnCompoundRequirement()
9306 TemplateParameterList *TPL = in BuildExprRequirement() local
9313 auto *Param = cast<TemplateTypeParmDecl>(TPL->getParam(0)); in BuildExprRequirement()
9316 MLTAL.addOuterRetainedLevels(TPL->getDepth()); in BuildExprRequirement()
H A DTreeTransform.h787 TemplateParameterList *TPL) { in TransformTemplateParameterList() argument
788 return TPL; in TransformTemplateParameterList()
13987 TemplateParameterList *TPL = in TransformExprRequirement() local
13989 if (!TPL) in TransformExprRequirement()
13991 TransRetReq.emplace(TPL); in TransformExprRequirement()
14548 auto TPL = getDerived().TransformTemplateParameterList( in TransformLambdaExpr() local
14550 LSI->GLTemplateParameterList = TPL; in TransformLambdaExpr()
14551 if (TPL) in TransformLambdaExpr()
14553 TPL); in TransformLambdaExpr()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DASTNodeTraverser.h344 void dumpTemplateParameters(const TemplateParameterList *TPL) { in dumpTemplateParameters() argument
345 if (!TPL) in dumpTemplateParameters()
348 for (const auto &TP : *TPL) in dumpTemplateParameters()
351 if (const Expr *RC = TPL->getRequiresClause()) in dumpTemplateParameters()
H A DDeclTemplate.h213 const TemplateParameterList *TPL,
1074 const TemplateParameterList *TPL = getTemplateParameters();
1075 return TPL->getParam(TPL->size() - 1)->isImplicit();
2221 TemplateParameterList *TPL, const ASTContext &Context);
2352 TemplateParameterList *TPL, void *&InsertPos);
2974 TemplateParameterList *TPL, const ASTContext &Context);
3095 TemplateParameterList *TPL, void *&InsertPos);
H A DRecursiveASTVisitor.h480 bool TraverseTemplateParameterListHelper(TemplateParameterList *TPL);
1615 TemplateParameterList *TPL = D->getTemplateParameterList(I);
1616 for (TemplateParameterList::iterator ITPL = TPL->begin(), ETPL = TPL->end();
1813 TemplateParameterList *TPL) {
1814 if (TPL) {
1815 for (NamedDecl *D : *TPL) {
1818 if (Expr *RequiresClause = TPL->getRequiresClause()) {
1829 TemplateParameterList *TPL = D->getTemplateParameterList(i);
1830 TraverseTemplateParameterListHelper(TPL);
H A DDeclObjC.h1298 void setTypeParamList(ObjCTypeParamList *TPL);
2380 void setTypeParamList(ObjCTypeParamList *TPL);
H A DType.h6572 const TemplateParameterList *TPL = nullptr);
6577 const TemplateParameterList *TPL = nullptr);
6582 const TemplateParameterList *TPL = nullptr);
/freebsd/sys/contrib/device-tree/Bindings/usb/
H A Dci-hdrc-usb2.txt42 - tpl-support: TPL (Targeted Peripheral List) feature for targeted hosts
/freebsd/contrib/file/magic/Magdir/
H A Dole2compounddocs254 # https://filext.com/file-extension/TPL
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderStmt.cpp889 TemplateParameterList *TPL = Record.readTemplateParameterList(); in VisitRequiresExpr() local
894 Req.emplace(TPL); in VisitRequiresExpr()

12