mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
AST: rename printDeclUSRForModuleDoc to printDeclUSR. NFC
This commit is contained in:
@@ -983,7 +983,7 @@ static StringRef getTypeName(SDKContext &Ctx, Type Ty,
|
||||
static StringRef calculateUsr(SDKContext &Ctx, ValueDecl *VD) {
|
||||
llvm::SmallString<64> SS;
|
||||
llvm::raw_svector_ostream OS(SS);
|
||||
if (!ide::printDeclUSR(VD, OS)) {
|
||||
if (!ide::printValueDeclUSR(VD, OS)) {
|
||||
return Ctx.buffer(SS.str());
|
||||
}
|
||||
return StringRef();
|
||||
|
||||
Reference in New Issue
Block a user