Address Hamish’s review comments

This commit is contained in:
Alex Hoppen
2023-11-27 13:41:34 -08:00
parent fc08a24e95
commit f408619ddc
8 changed files with 38 additions and 43 deletions

View File

@@ -92,13 +92,13 @@ public:
RenameLocs() {}
};
/// Return the location to rename when renaming the identifier at \p startLoc
/// Return the locations to rename when renaming the \p valueDecl
/// in \p sourceFile.
///
/// - Parameters:
/// - sourceFile: The source file in which to perform local rename
/// - renameInfo: Information about the symbol to rename. See `getRenameInfo`
RenameLocs localRenameLocs(SourceFile *sourceFile, RenameInfo renameInfo);
/// - valueDecl: The declaration that should be renamed
RenameLocs localRenameLocs(SourceFile *sourceFile, const ValueDecl *valueDecl);
/// Given a list of `RenameLoc`s, get the corresponding `ResolveLoc`s.
///