commit | 2cfe4344f23be1cfc474c63444105f6b5c4a90d2 | [log] [tgz] |
---|---|---|
author | David Goldman <dallasftball@gmail.com> | Fri Feb 23 14:11:39 2024 -0500 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Feb 23 11:12:41 2024 -0800 |
tree | 6b7851d247a21ce6ad1d5b456c22546b83c5e173 | |
parent | d18b49989c0104b3470b016bfd12c7f5db499a2e [diff] |
[clangd] Fix renaming single argument ObjC methods (#82396) Use the legacy non-ObjC rename logic when dealing with selectors that have zero or one arguments. In addition, make sure we don't add an extra `:` during the rename. Add a few more tests to verify this works (thanks to @ahoppen for the tests and finding this bug). GitOrigin-RevId: 59e5519c81c57a66424d657864ce69cb0efdc7d8