Home | History | Annotate | Download | only in Sema

Lines Matching defs:Pattern

454 Sema::CheckPackExpansion(TypeSourceInfo *Pattern, SourceLocation EllipsisLoc,
457 QualType Result = CheckPackExpansion(Pattern->getType(),
458 Pattern->getTypeLoc().getSourceRange(),
470 Pattern->getTypeLoc().getOpaqueData(),
471 Pattern->getTypeLoc().getFullDataSize());
475 QualType Sema::CheckPackExpansion(QualType Pattern, SourceRange PatternRange,
479 // The pattern of a pack expansion shall name one or more
482 if (!Pattern->containsUnexpandedParameterPack()) {
488 return Context.getPackExpansionType(Pattern, NumExpansions);
491 ExprResult Sema::ActOnPackExpansion(Expr *Pattern, SourceLocation EllipsisLoc) {
492 return CheckPackExpansion(Pattern, EllipsisLoc, None);
495 ExprResult Sema::CheckPackExpansion(Expr *Pattern, SourceLocation EllipsisLoc,
497 if (!Pattern)
501 // The pattern of a pack expansion shall name one or more
504 if (!Pattern->containsUnexpandedParameterPack()) {
506 << Pattern->getSourceRange();
511 return Owned(new (Context) PackExpansionExpr(Context.DependentTy, Pattern,
638 QualType Pattern = cast<PackExpansionType>(T)->getPattern();
640 CollectUnexpandedParameterPacksVisitor(Unexpanded).TraverseType(Pattern);
662 // The pattern refers to an unexpanded pack. We're not ready to expand
676 // The pattern refers to an unknown template argument. We're not ready to