static void mangleSubstitution(Mangler &M, Substitution Sub) { M.mangleType(Sub.getReplacement()->getCanonicalType(), 0); for (auto C : Sub.getConformances()) { if (C.isAbstract()) return; M.mangleProtocolConformance(C.getConcrete()); } }
static void mangleSubstitution(Mangler &M, Substitution Sub) { M.mangleType(Sub.getReplacement()->getCanonicalType(), ResilienceExpansion::Minimal, 0); for (auto C : Sub.getConformances()) { if (!C) return; M.mangleProtocolConformance(C); } }