[clang-tools-extra] Add support for renaming objc methods, even those with multiple selector pieces (PR #76466)
kadir çetinkaya via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 24 05:04:07 PST 2024
================
@@ -817,7 +939,8 @@ llvm::Expected<RenameResult> rename(const RenameInputs &RInputs) {
return StartOffset.takeError();
if (!EndOffset)
return EndOffset.takeError();
- if (llvm::none_of(
+ if (RenamingCurToken &&
----------------
kadircet wrote:
as mentioned above, let's just check with `shouldRenameTriggeringLocation(RenameDecl)`
https://github.com/llvm/llvm-project/pull/76466
More information about the cfe-commits
mailing list