Skip to content

Commit 1429dbe

Browse files
committed
AST: Don't trigger generic signature computation in ASTDumper
1 parent 367734a commit 1429dbe

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

lib/AST/ASTDumper.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -578,11 +578,6 @@ namespace {
578578
void printAbstractTypeParamCommon(AbstractTypeParamDecl *decl,
579579
const char *name) {
580580
printCommon(decl, name);
581-
if (decl->getDeclContext()->getGenericEnvironmentOfContext()) {
582-
if (auto superclassTy = decl->getSuperclass()) {
583-
OS << " superclass='" << superclassTy->getString() << "'";
584-
}
585-
}
586581
}
587582

588583
void visitGenericTypeParamDecl(GenericTypeParamDecl *decl) {

0 commit comments

Comments
 (0)