Lines Matching refs:Subset
587 /// exception specification is a subset (or equivalent) of the first function
592 const FunctionProtoType *Subset, SourceLocation SubLoc) {
608 Subset = ResolveExceptionSpec(SubLoc, Subset);
609 if (!Subset)
616 return CheckParamExceptionSpec(NoteID, Superset, SuperLoc, Subset, SubLoc);
631 return CheckParamExceptionSpec(NoteID, Superset, SuperLoc, Subset, SubLoc);
633 ExceptionSpecificationType SubEST = Subset->getExceptionSpecType();
639 // It does not. If the subset contains everything, we've failed.
647 FunctionProtoType::NoexceptResult SubNR = Subset->getNoexceptSpec(Context);
652 // Another case of the subset containing everything.
660 // If the subset contains nothing, we're done.
662 return CheckParamExceptionSpec(NoteID, Superset, SuperLoc, Subset, SubLoc);
673 "Exception spec subset: non-dynamic case slipped through.");
676 for (const auto &SubI : Subset->exceptions()) {
677 // Take one type from the subset.
711 // If the types are the same, move on to the next type in the subset.
754 return CheckParamExceptionSpec(NoteID, Superset, SuperLoc, Subset, SubLoc);
816 // This means that the source of the conversion can only throw a subset of