Lines Matching refs:Unexpanded

37     SmallVectorImpl<UnexpandedParameterPack> &Unexpanded;  member in __anon919447560111::CollectUnexpandedParameterPacksVisitor
43 SmallVectorImpl<UnexpandedParameterPack> &Unexpanded) in CollectUnexpandedParameterPacksVisitor() argument
44 : Unexpanded(Unexpanded), InLambda(false) { } in CollectUnexpandedParameterPacksVisitor()
55 Unexpanded.push_back(std::make_pair(TL.getTypePtr(), TL.getNameLoc())); in VisitTemplateTypeParmTypeLoc()
66 Unexpanded.push_back(std::make_pair(T, SourceLocation())); in VisitTemplateTypeParmType()
75 Unexpanded.push_back(std::make_pair(E->getDecl(), E->getLocation())); in VisitDeclRefExpr()
86 Unexpanded.push_back(std::make_pair(TTP, SourceLocation())); in TraverseTemplateName()
188 Unexpanded.push_back(std::make_pair(VD, I->getLocation())); in TraverseLambdaExpr()
219 ArrayRef<UnexpandedParameterPack> Unexpanded) { in DiagnoseUnexpandedParameterPacks() argument
220 if (Unexpanded.empty()) in DiagnoseUnexpandedParameterPacks()
239 for (unsigned I = 0, N = Unexpanded.size(); I != N; ++I) { in DiagnoseUnexpandedParameterPacks()
242 = Unexpanded[I].first.dyn_cast<const TemplateTypeParmType *>()) in DiagnoseUnexpandedParameterPacks()
245 Name = Unexpanded[I].first.get<NamedDecl *>()->getIdentifier(); in DiagnoseUnexpandedParameterPacks()
250 if (Unexpanded[I].second.isValid()) in DiagnoseUnexpandedParameterPacks()
251 Locations.push_back(Unexpanded[I].second); in DiagnoseUnexpandedParameterPacks()
273 SmallVector<UnexpandedParameterPack, 2> Unexpanded; in DiagnoseUnexpandedParameterPack() local
274 CollectUnexpandedParameterPacksVisitor(Unexpanded).TraverseTypeLoc( in DiagnoseUnexpandedParameterPack()
276 assert(!Unexpanded.empty() && "Unable to find unexpanded parameter packs"); in DiagnoseUnexpandedParameterPack()
277 return DiagnoseUnexpandedParameterPacks(Loc, UPPC, Unexpanded); in DiagnoseUnexpandedParameterPack()
288 SmallVector<UnexpandedParameterPack, 2> Unexpanded; in DiagnoseUnexpandedParameterPack() local
289 CollectUnexpandedParameterPacksVisitor(Unexpanded).TraverseStmt(E); in DiagnoseUnexpandedParameterPack()
290 assert(!Unexpanded.empty() && "Unable to find unexpanded parameter packs"); in DiagnoseUnexpandedParameterPack()
291 return DiagnoseUnexpandedParameterPacks(E->getLocStart(), UPPC, Unexpanded); in DiagnoseUnexpandedParameterPack()
303 SmallVector<UnexpandedParameterPack, 2> Unexpanded; in DiagnoseUnexpandedParameterPack() local
304 CollectUnexpandedParameterPacksVisitor(Unexpanded) in DiagnoseUnexpandedParameterPack()
306 assert(!Unexpanded.empty() && "Unable to find unexpanded parameter packs"); in DiagnoseUnexpandedParameterPack()
308 UPPC, Unexpanded); in DiagnoseUnexpandedParameterPack()
339 SmallVector<UnexpandedParameterPack, 2> Unexpanded; in DiagnoseUnexpandedParameterPack() local
340 CollectUnexpandedParameterPacksVisitor(Unexpanded) in DiagnoseUnexpandedParameterPack()
342 assert(!Unexpanded.empty() && "Unable to find unexpanded parameter packs"); in DiagnoseUnexpandedParameterPack()
343 return DiagnoseUnexpandedParameterPacks(NameInfo.getLoc(), UPPC, Unexpanded); in DiagnoseUnexpandedParameterPack()
353 SmallVector<UnexpandedParameterPack, 2> Unexpanded; in DiagnoseUnexpandedParameterPack() local
354 CollectUnexpandedParameterPacksVisitor(Unexpanded) in DiagnoseUnexpandedParameterPack()
356 assert(!Unexpanded.empty() && "Unable to find unexpanded parameter packs"); in DiagnoseUnexpandedParameterPack()
357 return DiagnoseUnexpandedParameterPacks(Loc, UPPC, Unexpanded); in DiagnoseUnexpandedParameterPack()
366 SmallVector<UnexpandedParameterPack, 2> Unexpanded; in DiagnoseUnexpandedParameterPack() local
367 CollectUnexpandedParameterPacksVisitor(Unexpanded) in DiagnoseUnexpandedParameterPack()
369 assert(!Unexpanded.empty() && "Unable to find unexpanded parameter packs"); in DiagnoseUnexpandedParameterPack()
370 return DiagnoseUnexpandedParameterPacks(Arg.getLocation(), UPPC, Unexpanded); in DiagnoseUnexpandedParameterPack()
374 SmallVectorImpl<UnexpandedParameterPack> &Unexpanded) { in collectUnexpandedParameterPacks() argument
375 CollectUnexpandedParameterPacksVisitor(Unexpanded) in collectUnexpandedParameterPacks()
380 SmallVectorImpl<UnexpandedParameterPack> &Unexpanded) { in collectUnexpandedParameterPacks() argument
381 CollectUnexpandedParameterPacksVisitor(Unexpanded) in collectUnexpandedParameterPacks()
386 SmallVectorImpl<UnexpandedParameterPack> &Unexpanded) { in collectUnexpandedParameterPacks() argument
387 CollectUnexpandedParameterPacksVisitor(Unexpanded).TraverseType(T); in collectUnexpandedParameterPacks()
391 SmallVectorImpl<UnexpandedParameterPack> &Unexpanded) { in collectUnexpandedParameterPacks() argument
392 CollectUnexpandedParameterPacksVisitor(Unexpanded).TraverseTypeLoc(TL); in collectUnexpandedParameterPacks()
396 SmallVectorImpl<UnexpandedParameterPack> &Unexpanded) { in collectUnexpandedParameterPacks() argument
402 CollectUnexpandedParameterPacksVisitor(Unexpanded) in collectUnexpandedParameterPacks()
407 SmallVectorImpl<UnexpandedParameterPack> &Unexpanded) { in collectUnexpandedParameterPacks() argument
408 CollectUnexpandedParameterPacksVisitor(Unexpanded) in collectUnexpandedParameterPacks()
540 ArrayRef<UnexpandedParameterPack> Unexpanded, in CheckParameterPacksForExpansion() argument
548 for (ArrayRef<UnexpandedParameterPack>::iterator i = Unexpanded.begin(), in CheckParameterPacksForExpansion()
549 end = Unexpanded.end(); in CheckParameterPacksForExpansion()
649 SmallVector<UnexpandedParameterPack, 2> Unexpanded; in getNumArgumentsInExpansion() local
650 CollectUnexpandedParameterPacksVisitor(Unexpanded).TraverseType(Pattern); in getNumArgumentsInExpansion()
653 for (unsigned I = 0, N = Unexpanded.size(); I != N; ++I) { in getNumArgumentsInExpansion()
659 = Unexpanded[I].first.dyn_cast<const TemplateTypeParmType *>()) { in getNumArgumentsInExpansion()
663 NamedDecl *ND = Unexpanded[I].first.get<NamedDecl *>(); in getNumArgumentsInExpansion()
670 Unexpanded[I].first.get<NamedDecl *>()); in getNumArgumentsInExpansion()