[clang-tools-extra] Add support for renaming objc methods, even those with multiple selector pieces (PR #76466)
Alex Hoppen via cfe-commits
cfe-commits at lists.llvm.org
Mon Feb 5 15:03:28 PST 2024
================
@@ -508,24 +513,46 @@ static bool mayBeValidIdentifier(llvm::StringRef Ident) {
!isAsciiIdentifierStart(Ident.front(), AllowDollar))
return false;
for (char C : Ident) {
+ if (AllowColon && C == ':')
----------------
ahoppen wrote:
Oh, I just assumed that the first selector argument had to be named. I never checked if it can be unnamed.
https://github.com/llvm/llvm-project/pull/76466
More information about the cfe-commits
mailing list