Home
last modified time | relevance | path

Searched refs:isParameterPack (Results 1 – 25 of 73) sorted by relevance

123

/external/clang/lib/Sema/
DSemaTemplateVariadic.cpp54 if (TL.getTypePtr()->isParameterPack()) in VisitTemplateTypeParmTypeLoc()
65 if (T->isParameterPack()) in VisitTemplateTypeParmType()
74 if (E->getDecl()->isParameterPack()) in VisitDeclRefExpr()
85 if (TTP->isParameterPack()) in TraverseTemplateName()
187 if (VD->isParameterPack()) in TraverseLambdaExpr()
810 return ND && ND->isParameterPack(); in ValidateCandidate()
867 if (!ParameterPack || !ParameterPack->isParameterPack()) { in ActOnSizeofParameterPackExpr()
DSemaTemplateInstantiate.cpp880 if (TTP->isParameterPack()) { in TransformDecl()
921 if (TTP->isParameterPack()) { in TransformFirstQualifierInScope()
1020 if (TTP->isParameterPack()) { in TransformTemplateName()
1082 if (NTTP->isParameterPack()) { in TransformTemplateParmRefExpr()
1161 } else if (parm->isParameterPack() && in transformNonTypeTemplateParmRef()
1290 if (PD->isParameterPack()) in TransformDeclRefExpr()
1348 if (T->isParameterPack()) { in TransformTemplateTypeParmType()
1394 T->isParameterPack(), in TransformTemplateTypeParmType()
1690 if (OldParm->isParameterPack() && !NewParm->isParameterPack()) { in SubstParmVarDecl()
/external/llvm-project/clang/lib/Sema/
DSemaTemplateVariadic.cpp74 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()
980 return ND && ND->isParameterPack(); in ValidateCandidate()
1042 if (!ParameterPack || !ParameterPack->isParameterPack()) { in ActOnSizeofParameterPackExpr()
1137 if (PD->isParameterPack()) in getFullyPackExpandedSize()
DSemaTemplateInstantiate.cpp1008 if (Old->isParameterPack()) { in transformedLocalDecl()
1231 if (TTP->isParameterPack()) { in TransformDecl()
1272 if (TTP->isParameterPack()) { in TransformFirstQualifierInScope()
1383 if (TTP->isParameterPack()) { in TransformTemplateName()
1458 if (NTTP->isParameterPack()) { in TransformTemplateParmRefExpr()
1518 if (parm->isParameterPack() && isa<PackExpansionType>(T)) in transformNonTypeTemplateParmRef()
1720 if (PD->isParameterPack()) in TransformDeclRefExpr()
1800 if (T->isParameterPack()) { in TransformTemplateTypeParmType()
1844 T->isParameterPack(), NewTTPDecl); in TransformTemplateTypeParmType()
2387 TTP->isParameterPack() in SubstParmVarDecl()
[all …]
/external/llvm-project/clang/lib/AST/
DASTStructuralEquivalence.cpp1015 if (Parm1->isParameterPack() != Parm2->isParameterPack()) in IsStructurallyEquivalent()
1685 if (D1->isParameterPack() != D2->isParameterPack()) { in IsStructurallyEquivalent()
1690 << D2->isParameterPack(); in IsStructurallyEquivalent()
1692 << D1->isParameterPack(); in IsStructurallyEquivalent()
1703 if (D1->isParameterPack() != D2->isParameterPack()) { in IsStructurallyEquivalent()
1708 << D2->isParameterPack(); in IsStructurallyEquivalent()
1710 << D1->isParameterPack(); in IsStructurallyEquivalent()
1734 if (D1->isParameterPack() != D2->isParameterPack()) { in IsStructurallyEquivalent()
1739 << D2->isParameterPack(); in IsStructurallyEquivalent()
1741 << D1->isParameterPack(); in IsStructurallyEquivalent()
DODRHash.cpp381 Hash.AddBoolean(D->isParameterPack()); in VisitTemplateTypeParmDecl()
399 Hash.AddBoolean(D->isParameterPack()); in VisitNonTypeTemplateParmDecl()
412 Hash.AddBoolean(D->isParameterPack()); in VisitTemplateTemplateParmDecl()
1028 Hash.AddBoolean(T->isParameterPack()); in VisitTemplateTypeParmType()
DDeclBase.cpp203 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()
DDeclTemplate.cpp484 ID.AddBoolean(NTTP->isParameterPack()); in ProfileTemplateParameterList()
490 ID.AddBoolean(TTP->isParameterPack()); in ProfileTemplateParameterList()
499 ID.AddBoolean(TTP->isParameterPack()); in ProfileTemplateParameterList()
650 bool TemplateTypeParmDecl::isParameterPack() const { in isParameterPack() function in TemplateTypeParmDecl
651 return getTypeForDecl()->castAs<TemplateTypeParmType>()->isParameterPack(); in isParameterPack()
DTemplateName.cpp195 if (TTP->isParameterPack()) in getDependence()
DJSONNodeDumper.cpp648 attributeOnlyIfTrue("isPack", TTPT->isParameterPack()); in VisitTemplateTypeParmType()
786 attributeOnlyIfTrue("isParameterPack", VD->isParameterPack()); in VisitVarDecl()
855 attributeOnlyIfTrue("isParameterPack", D->isParameterPack()); in VisitTemplateTypeParmDecl()
871 attributeOnlyIfTrue("isParameterPack", D->isParameterPack()); in VisitNonTypeTemplateParmDecl()
886 attributeOnlyIfTrue("isParameterPack", D->isParameterPack()); in VisitTemplateTemplateParmDecl()
DTextNodeDumper.cpp1493 if (T->isParameterPack()) in VisitTemplateTypeParmType()
1706 if (D->isParameterPack()) in VisitVarDecl()
2025 if (D->isParameterPack()) in VisitTemplateTypeParmDecl()
2034 if (D->isParameterPack()) in VisitNonTypeTemplateParmDecl()
2042 if (D->isParameterPack()) in VisitTemplateTemplateParmDecl()
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DUseNodiscardCheck.cpp49 return Node.isParameterPack(); in AST_MATCHER()
/external/llvm-project/clang-tools-extra/clang-tidy/google/
DExplicitConstructorCheck.cpp140 Ctor->getNumParams() == 1 && !Ctor->getParamDecl(0)->isParameterPack(); in check()
/external/clang/lib/Index/
DUSRGeneration.cpp766 if (cast<TemplateTypeParmDecl>(*P)->isParameterPack()) in VisitTemplateParameterList()
773 if (NTTP->isParameterPack()) in VisitTemplateParameterList()
781 if (TTP->isParameterPack()) in VisitTemplateParameterList()
/external/clang/lib/AST/
DDeclBase.cpp171 return TTP->isParameterPack(); in isTemplateParameterPack()
174 return NTTP->isParameterPack(); in isTemplateParameterPack()
177 return TTP->isParameterPack(); in isTemplateParameterPack()
181 bool Decl::isParameterPack() const { in isParameterPack() function in Decl
183 return Parm->isParameterPack(); in isParameterPack()
DDeclTemplate.cpp209 if (TTP->isParameterPack()) in GenerateInjectedTemplateArgs()
219 if (NTTP->isParameterPack()) in GenerateInjectedTemplateArgs()
225 if (TTP->isParameterPack()) in GenerateInjectedTemplateArgs()
512 bool TemplateTypeParmDecl::isParameterPack() const { in isParameterPack() function in TemplateTypeParmDecl
513 return getTypeForDecl()->getAs<TemplateTypeParmType>()->isParameterPack(); in isParameterPack()
DTemplateName.cpp165 return TTP->isParameterPack(); in containsUnexpandedParameterPack()
DASTImporter.cpp764 if (Parm1->isParameterPack() != Parm2->isParameterPack()) in IsStructurallyEquivalent()
1320 if (D1->isParameterPack() != D2->isParameterPack()) { in IsStructurallyEquivalent()
1323 << D2->isParameterPack(); in IsStructurallyEquivalent()
1325 << D1->isParameterPack(); in IsStructurallyEquivalent()
1336 if (D1->isParameterPack() != D2->isParameterPack()) { in IsStructurallyEquivalent()
1339 << D2->isParameterPack(); in IsStructurallyEquivalent()
1341 << D1->isParameterPack(); in IsStructurallyEquivalent()
1364 if (D1->isParameterPack() != D2->isParameterPack()) { in IsStructurallyEquivalent()
1367 << D2->isParameterPack(); in IsStructurallyEquivalent()
1369 << D1->isParameterPack(); in IsStructurallyEquivalent()
[all …]
DDeclPrinter.cpp916 if (TTP->isParameterPack()) in PrintTemplateParameters()
933 printDeclType(NTTP->getType(), Name, NTTP->isParameterPack()); in PrintTemplateParameters()
959 if (TTP->isParameterPack()) in VisitTemplateDecl()
/external/llvm-project/clang/lib/Index/
DUSRGeneration.cpp911 if (cast<TemplateTypeParmDecl>(*P)->isParameterPack()) in VisitTemplateParameterList()
918 if (NTTP->isParameterPack()) in VisitTemplateParameterList()
926 if (TTP->isParameterPack()) in VisitTemplateParameterList()
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DMismatchedIteratorChecker.cpp163 if (TPDecl->isParameterPack()) in checkPreCall()
/external/llvm-project/clang/include/clang/AST/
DTypeProperties.td686 def : Property<"isParameterPack", Bool> {
687 let Read = [{ node->isParameterPack() }];
695 return ctx.getTemplateTypeParmType(depth, index, isParameterPack,
DDeclTemplate.h170 if (P->isParameterPack()) in hasParameterPack()
1293 bool isParameterPack() const;
1300 if (!isParameterPack())
1493 bool isParameterPack() const { return ParameterPack; }
1665 bool isParameterPack() const { return ParameterPack; }
/external/llvm-project/clang-tools-extra/clangd/
DHover.cpp134 if (TTP->isParameterPack()) in printType()
142 if (NTTP->isParameterPack()) in printType()
424 if (Arg->isParameterPack()) in setterVariableName()
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DArgumentCommentCheck.cpp289 Template->getParamDecl(I)->isParameterPack()) { in checkCallArgs()

123