| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaTemplateVariadic.cpp | 74 if (TL.getTypePtr()->isParameterPack()) in VisitTemplateTypeParmTypeLoc() 85 if (T->isParameterPack()) in VisitTemplateTypeParmType() 94 if (E->getDecl()->isParameterPack()) in VisitDeclRefExpr() 104 if (TTP->isParameterPack()) in TraverseTemplateName() 166 if (D && D->isParameterPack()) in TraverseDecl() 978 return ND && ND->isParameterPack(); in ValidateCandidate() 1040 if (!ParameterPack || !ParameterPack->isParameterPack()) { in ActOnSizeofParameterPackExpr() 1135 if (PD->isParameterPack()) in getFullyPackExpandedSize()
|
| H A D | SemaTemplateInstantiate.cpp | 1025 if (Old->isParameterPack()) { in transformedLocalDecl() 1248 if (TTP->isParameterPack()) { in TransformDecl() 1289 if (TTP->isParameterPack()) { in TransformFirstQualifierInScope() 1397 if (TTP->isParameterPack()) { in TransformTemplateName() 1472 if (NTTP->isParameterPack()) { in TransformTemplateParmRefExpr() 1532 if (parm->isParameterPack() && isa<PackExpansionType>(T)) in transformNonTypeTemplateParmRef() 1736 if (PD->isParameterPack()) in TransformDeclRefExpr() 1816 if (T->isParameterPack()) { in TransformTemplateTypeParmType() 1860 T->isParameterPack(), NewTTPDecl); in TransformTemplateTypeParmType() 2367 Inst->isParameterPack() in SubstTypeConstraint() [all …]
|
| H A D | SemaTemplate.cpp | 1054 if (Param->isParameterPack()) in ActOnTypeParameter() 1567 if (Param->isParameterPack()) in ActOnNonTypeTemplateParameter() 1634 if (Param->isParameterPack()) in ActOnTemplateTemplateParameter() 2611 if (TTP->isParameterPack()) in DiagnoseUnexpandedParameterPacks() 2618 if (!TTP->isParameterPack()) in DiagnoseUnexpandedParameterPacks() 2629 if (!NTTP->isParameterPack() && in DiagnoseUnexpandedParameterPacks() 2730 if (NewTypeParm->isParameterPack()) { in CheckTemplateParameterList() 2764 if (!NewNonTypeParm->isParameterPack() && in CheckTemplateParameterList() 2783 if (NewNonTypeParm->isParameterPack()) { in CheckTemplateParameterList() 2834 if (NewTemplateParm->isParameterPack()) { in CheckTemplateParameterList() [all …]
|
| H A D | SemaLambda.cpp | 879 if (NewVD->isParameterPack()) in createLambdaInitCaptureVarDecl() 1213 if (Var->isParameterPack()) { in ActOnStartOfLambdaDefinition() 1222 } else if (Var->isParameterPack()) { in ActOnStartOfLambdaDefinition()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | ASTStructuralEquivalence.cpp | 1048 if (Parm1->isParameterPack() != Parm2->isParameterPack()) in IsStructurallyEquivalent() 1790 if (D1->isParameterPack() != D2->isParameterPack()) { in IsStructurallyEquivalent() 1795 << D2->isParameterPack(); in IsStructurallyEquivalent() 1797 << D1->isParameterPack(); in IsStructurallyEquivalent() 1808 if (D1->isParameterPack() != D2->isParameterPack()) { in IsStructurallyEquivalent() 1813 << D2->isParameterPack(); in IsStructurallyEquivalent() 1815 << D1->isParameterPack(); in IsStructurallyEquivalent() 1839 if (D1->isParameterPack() != D2->isParameterPack()) { in IsStructurallyEquivalent() 1844 << D2->isParameterPack(); in IsStructurallyEquivalent() 1846 << D1->isParameterPack(); in IsStructurallyEquivalent()
|
| H A D | ODRHash.cpp | 382 Hash.AddBoolean(D->isParameterPack()); in VisitTemplateTypeParmDecl() 400 Hash.AddBoolean(D->isParameterPack()); in VisitNonTypeTemplateParmDecl() 413 Hash.AddBoolean(D->isParameterPack()); in VisitTemplateTemplateParmDecl() 1029 Hash.AddBoolean(T->isParameterPack()); in VisitTemplateTypeParmType()
|
| H A D | DeclBase.cpp | 203 return TTP->isParameterPack(); in isTemplateParameterPack() 205 return NTTP->isParameterPack(); in isTemplateParameterPack() 207 return TTP->isParameterPack(); in isTemplateParameterPack() 211 bool Decl::isParameterPack() const { in isParameterPack() function in Decl 213 return Var->isParameterPack(); in isParameterPack()
|
| H A D | DeclTemplate.cpp | 520 ID.AddBoolean(NTTP->isParameterPack()); in ProfileTemplateParameterList() 526 ID.AddBoolean(TTP->isParameterPack()); in ProfileTemplateParameterList() 535 ID.AddBoolean(TTP->isParameterPack()); in ProfileTemplateParameterList() 686 bool TemplateTypeParmDecl::isParameterPack() const { in isParameterPack() function in TemplateTypeParmDecl 687 return getTypeForDecl()->castAs<TemplateTypeParmType>()->isParameterPack(); in isParameterPack()
|
| H A D | JSONNodeDumper.cpp | 679 attributeOnlyIfTrue("isPack", TTPT->isParameterPack()); in VisitTemplateTypeParmType() 832 attributeOnlyIfTrue("isParameterPack", VD->isParameterPack()); in VisitVarDecl() 901 attributeOnlyIfTrue("isParameterPack", D->isParameterPack()); in VisitTemplateTypeParmDecl() 917 attributeOnlyIfTrue("isParameterPack", D->isParameterPack()); in VisitNonTypeTemplateParmDecl() 932 attributeOnlyIfTrue("isParameterPack", D->isParameterPack()); in VisitTemplateTemplateParmDecl()
|
| H A D | TemplateName.cpp | 219 if (TTP->isParameterPack()) in getDependence()
|
| H A D | TextNodeDumper.cpp | 1566 if (T->isParameterPack()) in VisitTemplateTypeParmType() 1793 if (D->isParameterPack()) in VisitVarDecl() 2112 if (D->isParameterPack()) in VisitTemplateTypeParmDecl() 2121 if (D->isParameterPack()) in VisitNonTypeTemplateParmDecl() 2129 if (D->isParameterPack()) in VisitTemplateTemplateParmDecl()
|
| H A D | DeclPrinter.cpp | 1144 if (TTP->isParameterPack()) in VisitTemplateDecl() 1759 if (TTP->isParameterPack()) in VisitTemplateTypeParmDecl() 1783 printDeclType(NTTP->getType(), Name, NTTP->isParameterPack()); in VisitNonTypeTemplateParmDecl()
|
| H A D | TemplateBase.cpp | 336 ID.AddBoolean(TTP->isParameterPack()); in Profile()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/ |
| H A D | UseNodiscardCheck.cpp | 49 return Node.isParameterPack(); in AST_MATCHER()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/google/ |
| H A D | ExplicitConstructorCheck.cpp | 140 Ctor->getNumParams() == 1 && !Ctor->getParamDecl(0)->isParameterPack(); in check()
|
| /llvm-project-15.0.7/clang/lib/Index/ |
| H A D | USRGeneration.cpp | 915 if (cast<TemplateTypeParmDecl>(*P)->isParameterPack()) in VisitTemplateParameterList() 922 if (NTTP->isParameterPack()) in VisitTemplateParameterList() 930 if (TTP->isParameterPack()) in VisitTemplateParameterList()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | MismatchedIteratorChecker.cpp | 163 if (TPDecl->isParameterPack()) in checkPreCall()
|
| H A D | NullabilityChecker.cpp | 365 if (ParamDecl->isParameterPack()) in checkParamsForPreconditionViolation() 697 if (Param->isParameterPack()) in checkPreCall()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | TypeProperties.td | 716 def : Property<"isParameterPack", Bool> { 717 let Read = [{ node->isParameterPack() }]; 725 return ctx.getTemplateTypeParmType(depth, index, isParameterPack,
|
| H A D | DeclTemplate.h | 169 if (P->isParameterPack()) in hasParameterPack() 1324 bool isParameterPack() const; 1331 if (!isParameterPack()) 1524 bool isParameterPack() const { return ParameterPack; } 1696 bool isParameterPack() const { return ParameterPack; }
|
| H A D | CanonicalType.h | 573 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isParameterPack)
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | Hover.cpp | 184 if (TTP->isParameterPack()) in printType() 192 if (NTTP->isParameterPack()) { in printType() 507 if (Arg->isParameterPack()) in setterVariableName()
|
| H A D | AST.cpp | 698 return TTPD->isParameterPack(); in isTemplateTypeParameterPack() 728 if (ReplacedParameter->isParameterPack()) { in getUnderylingPackType()
|
| H A D | InlayHints.cpp | 336 if (Param->isParameterPack()) in getOnlyParamInstantiation()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/ |
| H A D | ArgumentCommentCheck.cpp | 293 Template->getParamDecl(I)->isParameterPack()) { in checkCallArgs()
|