AST: rename printDeclUSRForModuleDoc to printDeclUSR. NFC

This commit is contained in:
Xi Ge
2019-10-07 16:29:52 -07:00
parent 5430ad50fa
commit dd33540231
12 changed files with 25 additions and 25 deletions

View File

@@ -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();