don't print USRs for type parameters into symbol graphs

rdar://73478316
This commit is contained in:
Victoria Mitchell
2021-01-27 17:55:30 -07:00
parent ae7e1b5ee2
commit 1e5dc37538
6 changed files with 13 additions and 23 deletions

View File

@@ -146,6 +146,10 @@ void DeclarationFragmentPrinter::printTypeRef(Type T, const TypeDecl *RefTo,
ShouldLink = false;
}
}
if (T->isTypeParameter()) {
ShouldLink = false;
}
}
if (ShouldLink) {