| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaTemplateVariadic.cpp | 84 if (TL.getTypePtr()->isParameterPack()) in VisitTemplateTypeParmTypeLoc() 95 if (T->isParameterPack()) in VisitTemplateTypeParmType() 104 if (E->getDecl()->isParameterPack()) in VisitDeclRefExpr() 114 if (TTP->isParameterPack()) in TraverseTemplateName() 182 if (D && D->isParameterPack()) in TraverseDecl() 1129 return ND && ND->isParameterPack(); in ValidateCandidate() 1177 if (!ParameterPack || !ParameterPack->isParameterPack()) { in ActOnSizeofParameterPackExpr() 1188 static bool isParameterPack(Expr *PackExpression) { in isParameterPack() function 1191 return VD->isParameterPack(); in isParameterPack() 1201 bool isParameterPack = ::isParameterPack(PackExpression); in ActOnPackIndexingExpr() local [all …]
|
| H A D | SemaTemplateInstantiate.cpp | 1536 if (Old->isParameterPack() && in transformedLocalDecl() 1537 (NewDecls.size() != 1 || !NewDecls.front()->isParameterPack())) { in transformedLocalDecl() 1939 if (TTP->isParameterPack()) { in TransformDecl() 1969 if (!OldParm->isParameterPack()) in maybeInstantiateFunctionParameterToScope() 2038 if (TTP->isParameterPack()) { in TransformFirstQualifierInScope() 2148 if (TTP->isParameterPack()) { in TransformTemplateName() 2227 if (NTTP->isParameterPack()) { in TransformTemplateParmRefExpr() 2359 if (parm->isParameterPack() && isa<PackExpansionType>(T)) in transformNonTypeTemplateParmRef() 2566 if (PD->isParameterPack()) in TransformDeclRefExpr() 2680 if (T->isParameterPack()) { in TransformTemplateTypeParmType() [all …]
|
| H A D | SemaLambda.cpp | 891 if (NewVD->isParameterPack()) in createLambdaInitCaptureVarDecl() 1332 if (Var->isParameterPack()) { in ActOnLambdaExpressionAfterIntroducer() 1341 } else if (Var->isParameterPack()) { in ActOnLambdaExpressionAfterIntroducer() 2487 if (!CapturedPattern->isParameterPack()) { in addInstantiatedCapturesToScope()
|
| H A D | SemaTemplate.cpp | 1015 if (Param->isParameterPack()) in ActOnTypeParameter() 1555 if (Param->isParameterPack()) in ActOnNonTypeTemplateParameter() 1615 if (Param->isParameterPack()) in ActOnTemplateTemplateParameter() 2279 if (TTP->isParameterPack()) in DiagnoseUnexpandedParameterPacks() 2286 if (!TTP->isParameterPack()) in DiagnoseUnexpandedParameterPacks() 2297 if (!NTTP->isParameterPack() && in DiagnoseUnexpandedParameterPacks() 2369 if (NewTypeParm->isParameterPack()) { in CheckTemplateParameterList() 2405 !NewNonTypeParm->isParameterPack() && in CheckTemplateParameterList() 2424 if (NewNonTypeParm->isParameterPack()) { in CheckTemplateParameterList() 2474 if (NewTemplateParm->isParameterPack()) { in CheckTemplateParameterList() [all …]
|
| H A D | SemaTemplateInstantiateDecl.cpp | 1627 Bindings, [](BindingDecl *D) -> bool { return D->isParameterPack(); }); in VisitDecompositionDecl() 3488 D->getIdentifier(), D->wasDeclaredWithTypename(), D->isParameterPack(), in VisitTemplateTypeParmDecl() 3644 D->getPosition(), D->getIdentifier(), T, D->isParameterPack(), DI); in VisitNonTypeTemplateParmDecl() 3793 D->getPosition(), D->isParameterPack(), D->getIdentifier(), in VisitTemplateTemplateParmDecl() 5037 if (OldParam->isParameterPack()) in SubstFunctionType() 5136 if (!PatternParam->isParameterPack()) { in addInstantiatedParametersToScope() 6801 BD && BD->isParameterPack() && ArgPackSubstIndex) { in FindInstantiatedDecl()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | ASTStructuralEquivalence.cpp | 1307 if (Parm1->isParameterPack() != Parm2->isParameterPack()) in IsStructurallyEquivalent() 2249 if (D1->isParameterPack() != D2->isParameterPack()) { in IsStructurallyEquivalent() 2254 << D2->isParameterPack(); in IsStructurallyEquivalent() 2256 << D1->isParameterPack(); in IsStructurallyEquivalent() 2267 if (D1->isParameterPack() != D2->isParameterPack()) { in IsStructurallyEquivalent() 2272 << D2->isParameterPack(); in IsStructurallyEquivalent() 2274 << D1->isParameterPack(); in IsStructurallyEquivalent() 2301 if (D1->isParameterPack() != D2->isParameterPack()) { in IsStructurallyEquivalent() 2306 << D2->isParameterPack(); in IsStructurallyEquivalent() 2308 << D1->isParameterPack(); in IsStructurallyEquivalent()
|
| H A D | ODRDiagsEmitter.cpp | 1423 if (FirstTTPD->isParameterPack() != SecondTTPD->isParameterPack()) { in diagnoseMismatch() 1425 << (i + 1) << FirstTTPD->isParameterPack(); in diagnoseMismatch() 1427 << (i + 1) << SecondTTPD->isParameterPack(); in diagnoseMismatch() 1485 if (FirstTTPD->isParameterPack() != SecondTTPD->isParameterPack()) { in diagnoseMismatch() 1487 << (i + 1) << FirstTTPD->isParameterPack(); in diagnoseMismatch() 1489 << (i + 1) << SecondTTPD->isParameterPack(); in diagnoseMismatch() 1539 if (FirstNTTPD->isParameterPack() != SecondNTTPD->isParameterPack()) { in diagnoseMismatch() 1541 << (i + 1) << FirstNTTPD->isParameterPack(); in diagnoseMismatch() 1543 << (i + 1) << SecondNTTPD->isParameterPack(); in diagnoseMismatch()
|
| H A D | ODRHash.cpp | 494 Hash.AddBoolean(D->isParameterPack()); in VisitTemplateTypeParmDecl() 512 Hash.AddBoolean(D->isParameterPack()); in VisitNonTypeTemplateParmDecl() 525 Hash.AddBoolean(D->isParameterPack()); in VisitTemplateTemplateParmDecl() 1212 Hash.AddBoolean(T->isParameterPack()); in VisitTemplateTypeParmType()
|
| H A D | DeclBase.cpp | 240 return TTP->isParameterPack(); in isTemplateParameterPack() 242 return NTTP->isParameterPack(); in isTemplateParameterPack() 244 return TTP->isParameterPack(); in isTemplateParameterPack() 248 bool Decl::isParameterPack() const { in isParameterPack() function in Decl 250 return Var->isParameterPack(); in isParameterPack()
|
| H A D | DeclTemplate.cpp | 147 ID.AddBoolean(NTTP->isParameterPack()); in Profile() 156 ID.AddBoolean(TTP->isParameterPack()); in Profile() 165 ID.AddBoolean(TTP->isParameterPack()); in Profile() 744 bool TemplateTypeParmDecl::isParameterPack() const { in isParameterPack() function in TemplateTypeParmDecl 745 return getTypeForDecl()->castAs<TemplateTypeParmType>()->isParameterPack(); in isParameterPack()
|
| H A D | JSONNodeDumper.cpp | 769 attributeOnlyIfTrue("isPack", TTPT->isParameterPack()); in VisitTemplateTypeParmType() 950 attributeOnlyIfTrue("isParameterPack", VD->isParameterPack()); in VisitVarDecl() 1033 attributeOnlyIfTrue("isParameterPack", D->isParameterPack()); in VisitTemplateTypeParmDecl() 1049 attributeOnlyIfTrue("isParameterPack", D->isParameterPack()); in VisitNonTypeTemplateParmDecl() 1064 attributeOnlyIfTrue("isParameterPack", D->isParameterPack()); in VisitTemplateTemplateParmDecl()
|
| H A D | TextNodeDumper.cpp | 2147 if (T->isParameterPack()) in VisitTemplateTypeParmType() 2424 if (D->isParameterPack()) in VisitVarDecl() 2758 if (D->isParameterPack()) in VisitTemplateTypeParmDecl() 2767 if (D->isParameterPack()) in VisitNonTypeTemplateParmDecl() 2775 if (D->isParameterPack()) in VisitTemplateTemplateParmDecl()
|
| H A D | TemplateName.cpp | 351 if (TTP->isParameterPack()) in getDependence()
|
| H A D | DeclPrinter.cpp | 1280 if (TTP->isParameterPack()) in VisitTemplateDecl() 1915 if (TTP->isParameterPack()) in VisitTemplateTypeParmDecl() 1940 printDeclType(NTTP->getType(), Name, NTTP->isParameterPack()); in VisitNonTypeTemplateParmDecl()
|
| H A D | ASTContext.cpp | 726 ID.AddBoolean(Parm->isParameterPack()); in Profile() 735 ID.AddBoolean(TTP->isParameterPack()); in Profile() 743 ID.AddBoolean(NTTP->isParameterPack()); in Profile() 789 TTP->isParameterPack(), /*HasTypeConstraint=*/false, in getCanonicalTemplateTemplateParmDecl() 821 NTTP->isParameterPack(), in getCanonicalTemplateTemplateParmDecl() 832 TTP->getPosition(), TTP->isParameterPack(), nullptr, /*Typename=*/false, in getCanonicalTemplateTemplateParmDecl() 6000 if (TTP->isParameterPack()) in getInjectedTemplateArg() 6025 if (NTTP->isParameterPack()) in getInjectedTemplateArg() 6032 if (TTP->isParameterPack()) in getInjectedTemplateArg() 7316 if (TX->isParameterPack() != TY->isParameterPack()) in isSameTemplateParameter() [all …]
|
| H A D | StmtProfile.cpp | 105 ID.AddBoolean(NTTP->isParameterPack()); in VisitDecl() 139 ID.AddBoolean(TTP->isParameterPack()); in VisitDecl() 147 ID.AddBoolean(TTP->isParameterPack()); in VisitDecl()
|
| /freebsd/contrib/llvm-project/clang/lib/Index/ |
| H A D | USRGeneration.cpp | 994 if (cast<TemplateTypeParmDecl>(*P)->isParameterPack()) in VisitTemplateParameterList() 1001 if (NTTP->isParameterPack()) in VisitTemplateParameterList() 1009 if (TTP->isParameterPack()) in VisitTemplateParameterList()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | MismatchedIteratorChecker.cpp | 159 if (TPDecl->isParameterPack()) in checkPreCall()
|
| H A D | NullabilityChecker.cpp | 406 if (ParamDecl->isParameterPack()) in checkParamsForPreconditionViolation() 783 if (Param->isParameterPack()) in checkPreCall()
|
| /freebsd/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | TemplateArgumentHasher.cpp | 377 Hash.AddInteger(T->isParameterPack()); in VisitTemplateTypeParmType()
|
| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | DeclTemplate.h | 175 if (P->isParameterPack()) in hasParameterPack() 1276 bool isParameterPack() const; 1283 if (!isParameterPack()) 1474 bool isParameterPack() const { return ParameterPack; } 1663 bool isParameterPack() const { return ParameterPack; }
|
| H A D | TypeProperties.td | 802 def : Property<"isParameterPack", Bool> { 803 let Read = [{ node->isParameterPack() }]; 811 return ctx.getTemplateTypeParmType(depth, index, isParameterPack,
|
| H A D | CanonicalType.h | 576 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isParameterPack)
|
| /freebsd/contrib/llvm-project/clang/lib/ExtractAPI/ |
| H A D | DeclarationFragments.cpp | 1013 if (TemplateParam->isParameterPack()) in getFragmentsForTemplateParameters() 1035 if (NTP->isParameterPack()) in getFragmentsForTemplateParameters() 1064 if (TTP->isParameterPack()) in getFragmentsForTemplateParameters()
|
| /freebsd/contrib/llvm-project/clang/include/clang/ExtractAPI/ |
| H A D | API.h | 81 Param->getDepth(), Param->isParameterPack()); in Template() 99 Param->getDepth(), Param->isParameterPack()); in Template() 117 Param->getDepth(), Param->isParameterPack()); in Template()
|