mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Sema: Kill off old modeling of generic arguments
This commit is contained in:
@@ -1792,13 +1792,7 @@ public:
|
||||
PrintWithColorRAII(OS, AccessibilityColor)
|
||||
<< " " << getAccessSemanticsString(E->getAccessSemantics());
|
||||
PrintWithColorRAII(OS, ExprModifierColor)
|
||||
<< " function_ref=" << getFunctionRefKindStr(E->getFunctionRefKind())
|
||||
<< " specialized=" << (E->isSpecialized()? "yes" : "no");
|
||||
|
||||
for (auto TR : E->getGenericArgs()) {
|
||||
OS << '\n';
|
||||
printRec(TR);
|
||||
}
|
||||
<< " function_ref=" << getFunctionRefKindStr(E->getFunctionRefKind());
|
||||
PrintWithColorRAII(OS, ParenthesisColor) << ')';
|
||||
}
|
||||
void visitSuperRefExpr(SuperRefExpr *E) {
|
||||
@@ -1827,7 +1821,6 @@ public:
|
||||
printCommon(E, "overloaded_decl_ref_expr")
|
||||
<< " name=" << E->getDecls()[0]->getName()
|
||||
<< " #decls=" << E->getDecls().size()
|
||||
<< " specialized=" << (E->isSpecialized()? "yes" : "no")
|
||||
<< " function_ref=" << getFunctionRefKindStr(E->getFunctionRefKind());
|
||||
|
||||
for (ValueDecl *D : E->getDecls()) {
|
||||
@@ -1841,7 +1834,6 @@ public:
|
||||
printCommon(E, "unresolved_decl_ref_expr");
|
||||
PrintWithColorRAII(OS, IdentifierColor) << " name=" << E->getName();
|
||||
PrintWithColorRAII(OS, ExprModifierColor)
|
||||
<< " specialized=" << (E->isSpecialized()? "yes" : "no")
|
||||
<< " function_ref=" << getFunctionRefKindStr(E->getFunctionRefKind());
|
||||
PrintWithColorRAII(OS, ParenthesisColor) << ')';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user