mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[SourceKit] Remove IsNonProtocolType parameter from rename locations
The parameter was never checked anywhere.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user