Lines Matching refs:Unexpanded

36     SmallVectorImpl<UnexpandedParameterPack> &Unexpanded;  member in __anonfe876ce40111::CollectUnexpandedParameterPacksVisitor
53 Unexpanded.push_back({ND, Loc}); in addUnexpanded()
58 Unexpanded.push_back({T, Loc}); in addUnexpanded()
63 SmallVectorImpl<UnexpandedParameterPack> &Unexpanded) in CollectUnexpandedParameterPacksVisitor() argument
64 : Unexpanded(Unexpanded) {} in CollectUnexpandedParameterPacksVisitor()
292 ArrayRef<UnexpandedParameterPack> Unexpanded) { in DiagnoseUnexpandedParameterPacks() argument
293 if (Unexpanded.empty()) in DiagnoseUnexpandedParameterPacks()
303 for (auto &Pack : Unexpanded) { in DiagnoseUnexpandedParameterPacks()
348 Unexpanded = LambdaParamPackReferences; in DiagnoseUnexpandedParameterPacks()
356 for (unsigned I = 0, N = Unexpanded.size(); I != N; ++I) { in DiagnoseUnexpandedParameterPacks()
359 = Unexpanded[I].first.dyn_cast<const TemplateTypeParmType *>()) in DiagnoseUnexpandedParameterPacks()
362 Name = Unexpanded[I].first.get<NamedDecl *>()->getIdentifier(); in DiagnoseUnexpandedParameterPacks()
367 if (Unexpanded[I].second.isValid()) in DiagnoseUnexpandedParameterPacks()
368 Locations.push_back(Unexpanded[I].second); in DiagnoseUnexpandedParameterPacks()
390 SmallVector<UnexpandedParameterPack, 2> Unexpanded; in DiagnoseUnexpandedParameterPack() local
391 CollectUnexpandedParameterPacksVisitor(Unexpanded).TraverseTypeLoc( in DiagnoseUnexpandedParameterPack()
393 assert(!Unexpanded.empty() && "Unable to find unexpanded parameter packs"); in DiagnoseUnexpandedParameterPack()
394 return DiagnoseUnexpandedParameterPacks(Loc, UPPC, Unexpanded); in DiagnoseUnexpandedParameterPack()
405 SmallVector<UnexpandedParameterPack, 2> Unexpanded; in DiagnoseUnexpandedParameterPack() local
406 CollectUnexpandedParameterPacksVisitor(Unexpanded).TraverseStmt(E); in DiagnoseUnexpandedParameterPack()
407 assert(!Unexpanded.empty() && "Unable to find unexpanded parameter packs"); in DiagnoseUnexpandedParameterPack()
408 return DiagnoseUnexpandedParameterPacks(E->getBeginLoc(), UPPC, Unexpanded); in DiagnoseUnexpandedParameterPack()
415 SmallVector<UnexpandedParameterPack, 2> Unexpanded; in DiagnoseUnexpandedParameterPackInRequiresExpr() local
416 CollectUnexpandedParameterPacksVisitor(Unexpanded).TraverseStmt(RE); in DiagnoseUnexpandedParameterPackInRequiresExpr()
417 assert(!Unexpanded.empty() && "Unable to find unexpanded parameter packs"); in DiagnoseUnexpandedParameterPackInRequiresExpr()
424 for (auto Parm : Unexpanded) in DiagnoseUnexpandedParameterPackInRequiresExpr()
443 SmallVector<UnexpandedParameterPack, 2> Unexpanded; in DiagnoseUnexpandedParameterPack() local
444 CollectUnexpandedParameterPacksVisitor(Unexpanded) in DiagnoseUnexpandedParameterPack()
446 assert(!Unexpanded.empty() && "Unable to find unexpanded parameter packs"); in DiagnoseUnexpandedParameterPack()
448 UPPC, Unexpanded); in DiagnoseUnexpandedParameterPack()
480 SmallVector<UnexpandedParameterPack, 2> Unexpanded; in DiagnoseUnexpandedParameterPack() local
481 CollectUnexpandedParameterPacksVisitor(Unexpanded) in DiagnoseUnexpandedParameterPack()
483 assert(!Unexpanded.empty() && "Unable to find unexpanded parameter packs"); in DiagnoseUnexpandedParameterPack()
484 return DiagnoseUnexpandedParameterPacks(NameInfo.getLoc(), UPPC, Unexpanded); in DiagnoseUnexpandedParameterPack()
494 SmallVector<UnexpandedParameterPack, 2> Unexpanded; in DiagnoseUnexpandedParameterPack() local
495 CollectUnexpandedParameterPacksVisitor(Unexpanded) in DiagnoseUnexpandedParameterPack()
497 assert(!Unexpanded.empty() && "Unable to find unexpanded parameter packs"); in DiagnoseUnexpandedParameterPack()
498 return DiagnoseUnexpandedParameterPacks(Loc, UPPC, Unexpanded); in DiagnoseUnexpandedParameterPack()
507 SmallVector<UnexpandedParameterPack, 2> Unexpanded; in DiagnoseUnexpandedParameterPack() local
508 CollectUnexpandedParameterPacksVisitor(Unexpanded) in DiagnoseUnexpandedParameterPack()
510 assert(!Unexpanded.empty() && "Unable to find unexpanded parameter packs"); in DiagnoseUnexpandedParameterPack()
511 return DiagnoseUnexpandedParameterPacks(Arg.getLocation(), UPPC, Unexpanded); in DiagnoseUnexpandedParameterPack()
515 SmallVectorImpl<UnexpandedParameterPack> &Unexpanded) { in collectUnexpandedParameterPacks() argument
516 CollectUnexpandedParameterPacksVisitor(Unexpanded) in collectUnexpandedParameterPacks()
521 SmallVectorImpl<UnexpandedParameterPack> &Unexpanded) { in collectUnexpandedParameterPacks() argument
522 CollectUnexpandedParameterPacksVisitor(Unexpanded) in collectUnexpandedParameterPacks()
527 SmallVectorImpl<UnexpandedParameterPack> &Unexpanded) { in collectUnexpandedParameterPacks() argument
528 CollectUnexpandedParameterPacksVisitor(Unexpanded).TraverseType(T); in collectUnexpandedParameterPacks()
532 SmallVectorImpl<UnexpandedParameterPack> &Unexpanded) { in collectUnexpandedParameterPacks() argument
533 CollectUnexpandedParameterPacksVisitor(Unexpanded).TraverseTypeLoc(TL); in collectUnexpandedParameterPacks()
538 SmallVectorImpl<UnexpandedParameterPack> &Unexpanded) { in collectUnexpandedParameterPacks() argument
539 CollectUnexpandedParameterPacksVisitor(Unexpanded) in collectUnexpandedParameterPacks()
545 SmallVectorImpl<UnexpandedParameterPack> &Unexpanded) { in collectUnexpandedParameterPacks() argument
546 CollectUnexpandedParameterPacksVisitor(Unexpanded) in collectUnexpandedParameterPacks()
671 ArrayRef<UnexpandedParameterPack> Unexpanded, in CheckParameterPacksForExpansion() argument
681 for (ArrayRef<UnexpandedParameterPack>::iterator i = Unexpanded.begin(), in CheckParameterPacksForExpansion()
682 end = Unexpanded.end(); in CheckParameterPacksForExpansion()
809 SmallVector<UnexpandedParameterPack, 2> Unexpanded; in getNumArgumentsInExpansion() local
810 CollectUnexpandedParameterPacksVisitor(Unexpanded).TraverseType(Pattern); in getNumArgumentsInExpansion()
813 for (unsigned I = 0, N = Unexpanded.size(); I != N; ++I) { in getNumArgumentsInExpansion()
819 = Unexpanded[I].first.dyn_cast<const TemplateTypeParmType *>()) { in getNumArgumentsInExpansion()
823 NamedDecl *ND = Unexpanded[I].first.get<NamedDecl *>(); in getNumArgumentsInExpansion()
830 Unexpanded[I].first.get<NamedDecl *>()); in getNumArgumentsInExpansion()