[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
Fri Jan 5 02:38:56 PST 2024


================
@@ -338,6 +338,10 @@ inline bool isReservedName(llvm::StringRef Name) {
 SourceLocation translatePreamblePatchLocation(SourceLocation Loc,
                                               const SourceManager &SM);
 
+clangd::Range tokenRangeForLoc(SourceLocation TokLoc,
----------------
kadircet wrote:

this isn't used outside rename.cpp, let's move it there?

https://github.com/llvm/llvm-project/pull/76466


More information about the cfe-commits mailing list