================
@@ -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.
----------------
kadircet wrote:

i think it's worthwhile to also add a test to check we don't return overridden 
methods when calling xrefs on usage of the method.

https://github.com/llvm/llvm-project/pull/127109
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to