Lines Matching refs:PS2
5497 /// \param PS2 the second class template partial specialization
5504 PS2,
5507 QualType PT2 = PS2->getInjectedSpecializationType();
5510 bool Better1 = isAtLeastAsSpecializedAs(*this, PT1, PT2, PS2, Info);
5518 PS2->getAssociatedConstraints(AC2);
5520 if (IsAtLeastAsConstrained(PS1, AC1, PS2, AC2, AtLeastAsConstrained1))
5522 if (IsAtLeastAsConstrained(PS2, AC2, PS1, AC1, AtLeastAsConstrained2))
5526 return AtLeastAsConstrained1 ? PS1 : PS2;
5529 return Better1 ? PS1 : PS2;
5560 VarTemplatePartialSpecializationDecl *PS2, SourceLocation Loc) {
5563 assert(PS1->getSpecializedTemplate() == PS2->getSpecializedTemplate() &&
5571 CanonTemplate, PS2->getTemplateArgs().asArray());
5574 bool Better1 = isAtLeastAsSpecializedAs(*this, PT1, PT2, PS2, Info);
5582 PS2->getAssociatedConstraints(AC2);
5584 if (IsAtLeastAsConstrained(PS1, AC1, PS2, AC2, AtLeastAsConstrained1))
5586 if (IsAtLeastAsConstrained(PS2, AC2, PS1, AC1, AtLeastAsConstrained2))
5590 return AtLeastAsConstrained1 ? PS1 : PS2;
5593 return Better1 ? PS1 : PS2;