Home
last modified time | relevance | path

Searched refs:TAL (Results 1 – 25 of 29) sorted by relevance

12

/external/llvm-project/clang-tools-extra/clangd/
DDumpAST.cpp132 std::string getKind(const TemplateArgumentLoc &TAL) { in getKind() argument
133 switch (TAL.getArgument().getKind()) { in getKind()
292 std::string getDetail(const TemplateArgumentLoc &TAL) { in getDetail() argument
293 if (TAL.getArgument().getKind() == TemplateArgument::Integral) in getDetail()
294 return TAL.getArgument().getAsIntegral().toString(10); in getDetail()
323 std::string getArcana(const TemplateArgumentLoc &TAL) { in getArcana() argument
325 D.Visit(TAL.getArgument(), TAL.getSourceRange()); in getArcana()
350 bool TraverseTemplateArgumentLoc(const TemplateArgumentLoc &TAL) { in TraverseTemplateArgumentLoc() argument
351 return traverseNode("template argument", TAL, in TraverseTemplateArgumentLoc()
352 [&] { Base::TraverseTemplateArgumentLoc(TAL); }); in TraverseTemplateArgumentLoc()
[all …]
DFindTarget.cpp705 else if (const TemplateArgumentLoc *TAL = N.get<TemplateArgumentLoc>()) in allTargetDecls() local
706 Finder.add(TAL->getArgument(), Flags); in allTargetDecls()
/external/llvm-project/clang/lib/AST/
DASTTypeTraits.cpp133 else if (const TemplateArgumentLoc *TAL = get<TemplateArgumentLoc>()) in print() local
134 TAL->getArgument().print(PP, OS); in print()
181 if (const TemplateArgumentLoc *TAL = get<TemplateArgumentLoc>()) in getSourceRange() local
182 return TAL->getSourceRange(); in getSourceRange()
DJSONNodeDumper.cpp1398 for (const TemplateArgumentLoc &TAL : DSME->template_arguments()) in VisitCXXDependentScopeMemberExpr() local
1400 [&TAL, this] { Visit(TAL.getArgument(), TAL.getSourceRange()); }); in VisitCXXDependentScopeMemberExpr()
DExprConstant.cpp1069 const TemplateArgumentList &TAL = CTSD->getTemplateArgs(); in getStdAllocatorCaller() local
1071 ClassII->isStr("allocator") && TAL.size() >= 1 && in getStdAllocatorCaller()
1072 TAL[0].getKind() == TemplateArgument::Type) in getStdAllocatorCaller()
1073 return {Call->Index, TAL[0].getAsType()}; in getStdAllocatorCaller()
7622 const TemplateArgumentList *TAL = MD->getTemplateSpecializationArgs(); in handleCallExpr() local
7627 CallOpTemplate->findSpecialization(TAL->asArray(), InsertPos); in handleCallExpr()
/external/llvm-project/clang/lib/ASTMatchers/
DASTMatchFinder.cpp235 bool TraverseTemplateArgumentLoc(TemplateArgumentLoc TAL) { in TraverseTemplateArgumentLoc() argument
237 return traverse(TAL); in TraverseTemplateArgumentLoc()
318 bool baseTraverse(TemplateArgumentLoc TAL) { in baseTraverse() argument
319 return VisitorBase::TraverseTemplateArgumentLoc(TAL); in baseTraverse()
464 bool TraverseTemplateArgumentLoc(TemplateArgumentLoc TAL);
/external/llvm-project/clang/include/clang/AST/
DASTNodeTraverser.h302 void dumpTemplateArgumentList(const TemplateArgumentList &TAL) { in dumpTemplateArgumentList() argument
303 for (unsigned i = 0, e = TAL.size(); i < e; ++i) in dumpTemplateArgumentList()
304 Visit(TAL[i]); in dumpTemplateArgumentList()
DRecursiveASTVisitor.h479 bool TraverseTemplateArgumentLocsHelper(const TemplateArgumentLoc *TAL,
1904 const TemplateArgumentLoc *TAL, unsigned Count) {
1906 TRY_TO(TraverseTemplateArgumentLoc(TAL[I]));
/external/llvm-project/clang/tools/libclang/
DCursorVisitor.h254 bool VisitTemplateArgumentLoc(const TemplateArgumentLoc &TAL);
DCIndex.cpp1479 bool CursorVisitor::VisitTemplateArgumentLoc(const TemplateArgumentLoc &TAL) { in VisitTemplateArgumentLoc() argument
1480 switch (TAL.getArgument().getKind()) { in VisitTemplateArgumentLoc()
1487 if (TypeSourceInfo *TSInfo = TAL.getTypeSourceInfo()) in VisitTemplateArgumentLoc()
1492 if (Expr *E = TAL.getSourceDeclExpression()) in VisitTemplateArgumentLoc()
1497 if (Expr *E = TAL.getSourceNullPtrExpression()) in VisitTemplateArgumentLoc()
1502 if (Expr *E = TAL.getSourceExpression()) in VisitTemplateArgumentLoc()
1508 if (VisitNestedNameSpecifierLoc(TAL.getTemplateQualifierLoc())) in VisitTemplateArgumentLoc()
1511 return VisitTemplateName(TAL.getArgument().getAsTemplateOrTemplatePattern(), in VisitTemplateArgumentLoc()
1512 TAL.getTemplateNameLoc()); in VisitTemplateArgumentLoc()
/external/clang/tools/libclang/
DCursorVisitor.h251 bool VisitTemplateArgumentLoc(const TemplateArgumentLoc &TAL);
DCIndex.cpp1417 bool CursorVisitor::VisitTemplateArgumentLoc(const TemplateArgumentLoc &TAL) { in VisitTemplateArgumentLoc() argument
1418 switch (TAL.getArgument().getKind()) { in VisitTemplateArgumentLoc()
1425 if (TypeSourceInfo *TSInfo = TAL.getTypeSourceInfo()) in VisitTemplateArgumentLoc()
1430 if (Expr *E = TAL.getSourceDeclExpression()) in VisitTemplateArgumentLoc()
1435 if (Expr *E = TAL.getSourceNullPtrExpression()) in VisitTemplateArgumentLoc()
1440 if (Expr *E = TAL.getSourceExpression()) in VisitTemplateArgumentLoc()
1446 if (VisitNestedNameSpecifierLoc(TAL.getTemplateQualifierLoc())) in VisitTemplateArgumentLoc()
1449 return VisitTemplateName(TAL.getArgument().getAsTemplateOrTemplatePattern(), in VisitTemplateArgumentLoc()
1450 TAL.getTemplateNameLoc()); in VisitTemplateArgumentLoc()
/external/clang/lib/AST/
DASTDumper.cpp242 void dumpTemplateArgumentList(const TemplateArgumentList &TAL);
943 void ASTDumper::dumpTemplateArgumentList(const TemplateArgumentList &TAL) { in dumpTemplateArgumentList() argument
944 for (unsigned i = 0, e = TAL.size(); i < e; ++i) in dumpTemplateArgumentList()
945 dumpTemplateArgument(TAL[i]); in dumpTemplateArgumentList()
/external/llvm-project/clang/lib/Sema/
DSemaType.cpp363 TypeAttrLocation TAL, ParsedAttributesView &attrs);
3206 TemplateArgumentListInfo TAL(AutoLoc.getLAngleLoc(), AutoLoc.getRAngleLoc()); in InventTemplateParameter() local
3208 TAL.addArgument(AutoLoc.getArgLoc(Idx)); in InventTemplateParameter()
3213 AutoLoc.hasExplicitTemplateArgs() ? &TAL : nullptr, in InventTemplateParameter()
8064 TypeAttrLocation TAL, in processTypeAttrs() argument
8091 if (TAL == TAL_DeclChunk) { in processTypeAttrs()
8100 } else if (TAL != TAL_DeclChunk && !isAddressSpaceKind(attr)) { in processTypeAttrs()
8114 if (attr.isCXX11Attribute() && TAL == TAL_DeclChunk) { in processTypeAttrs()
8122 if (attr.isCXX11Attribute() && TAL == TAL_DeclChunk) in processTypeAttrs()
8184 if (TAL == TAL_DeclChunk) in processTypeAttrs()
[all …]
DSemaExprCXX.cpp701 const TemplateArgumentList &TAL = CTSD->getTemplateArgs(); in getUuidAttrOfType() local
702 for (const TemplateArgument &TA : TAL.asArray()) { in getUuidAttrOfType()
8594 TemplateArgumentList TAL(TemplateArgumentList::OnStack, Args); in BuildExprRequirement() local
8595 MultiLevelTemplateArgumentList MLTAL(TAL); in BuildExprRequirement()
DSemaTemplateInstantiateDecl.cpp456 const TemplateArgumentList *TAL = TemplateArgumentList::CreateCopy( in instantiateOMPDeclareVariantAttr() local
459 auto *SubstFD = S.InstantiateFunctionDeclaration(VariantFTD, TAL, in instantiateOMPDeclareVariantAttr()
DSemaDeclCXX.cpp5745 TemplateArgumentLoc TAL = TL.getArgLoc(I); in Check() local
5746 if (TAL.getArgument().getKind() == TemplateArgument::Type) in Check()
5747 if (TypeSourceInfo *TSI = TAL.getTypeSourceInfo()) in Check()
/external/clang/lib/Sema/
DSemaType.cpp291 QualType &type, TypeAttrLocation TAL,
6530 TypeAttrLocation TAL, AttributeList *attrs) { in processTypeAttrs() argument
6551 if (TAL == TAL_DeclChunk) { in processTypeAttrs()
6557 } else if (TAL != TAL_DeclChunk) { in processTypeAttrs()
6569 if (attr.isCXX11Attribute() && TAL == TAL_DeclChunk) { in processTypeAttrs()
6577 if (attr.isCXX11Attribute() && TAL == TAL_DeclChunk) in processTypeAttrs()
6655 switch (TAL) { in processTypeAttrs()
6685 if (TAL == TAL_DeclSpec) in processTypeAttrs()
6706 (TAL == TAL_DeclSpec || TAL == TAL_DeclChunk)) { in processTypeAttrs()
DSemaExprCXX.cpp534 const TemplateArgumentList &TAL = CTSD->getTemplateArgs(); in getUuidAttrOfType() local
535 for (const TemplateArgument &TA : TAL.asArray()) { in getUuidAttrOfType()
DSemaDeclCXX.cpp4539 TemplateArgumentLoc TAL = TL.getArgLoc(I); in Check() local
4540 if (TAL.getArgument().getKind() == TemplateArgument::Type) in Check()
4541 if (TypeSourceInfo *TSI = TAL.getTypeSourceInfo()) in Check()
/external/arm-trusted-firmware/plat/rockchip/rk3368/drivers/ddr/
Dddr_rk3368.c46 uint32_t TAL; member
/external/clang/include/clang/AST/
DRecursiveASTVisitor.h489 bool TraverseTemplateArgumentLocsHelper(const TemplateArgumentLoc *TAL,
1753 const TemplateArgumentLoc *TAL, unsigned Count) {
1755 TRY_TO(TraverseTemplateArgumentLoc(TAL[I]));
/external/clang/lib/CodeGen/
DCGClass.cpp2984 const TemplateArgumentList *TAL = MD->getTemplateSpecializationArgs(); in EmitLambdaDelegatingInvokeBody() local
2988 CallOpTemplate->findSpecialization(TAL->asArray(), InsertPos); in EmitLambdaDelegatingInvokeBody()
/external/llvm-project/clang/lib/CodeGen/
DCGClass.cpp2955 const TemplateArgumentList *TAL = MD->getTemplateSpecializationArgs(); in EmitLambdaDelegatingInvokeBody() local
2959 CallOpTemplate->findSpecialization(TAL->asArray(), InsertPos); in EmitLambdaDelegatingInvokeBody()
/external/llvm-project/clang/lib/Serialization/
DASTReader.cpp10819 [](const TemplateArgumentList *TAL) { in diagnoseOdrViolations() argument
10821 for (const TemplateArgument &TA : TAL->asArray()) { in diagnoseOdrViolations()

12