[clang-tools-extra] [clangd] Update XRefs to support overriden ObjC methods (PR #127109)

David Goldman via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 18 11:54:55 PST 2025


================
@@ -430,6 +439,22 @@ locateASTReferent(SourceLocation CurLoc, const syntax::Token *TouchedIdentifier,
         continue;
       }
     }
+    // Special case: - (void)^method; should jump to all overrides. Note that an
+    // Objective-C method can override a parent class or protocol.
----------------
DavidGoldman wrote:

Done.

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


More information about the cfe-commits mailing list