[SourceKit] Remove IsNonProtocolType parameter from rename locations

The parameter was never checked anywhere.
This commit is contained in:
Alex Hoppen
2023-11-13 16:13:47 -08:00
parent d095d0a186
commit d9eef8c229
7 changed files with 19 additions and 36 deletions

View File

@@ -1506,8 +1506,7 @@ getSyntacticRenameLocs(ArrayRef<RenameLocations> RenameLocations) {
for(const auto &Location: Locations.LineColumnLocs) {
RenameLocs.push_back({Location.Line, Location.Column,
getNameUsage(Location.Type), Locations.OldName,
Locations.IsFunctionLike,
Locations.IsNonProtocolType});
Locations.IsFunctionLike});
}
}
return RenameLocs;