- Correct nameLocation to point to the first selector fragment instead of the - or +
- getDefinition now searches through the proper impl decls to find the definition of the ObjCMethodDecl if one exists
Paths
| Differential D130095
[clangd] Improve XRefs support for ObjCMethodDecl ClosedPublic Authored by dgoldman on Jul 19 2022, 9:12 AM.
Details
Summary
Diff Detail
Event TimelineComment Actions thanks, lgtm!
This revision is now accepted and ready to land.Jul 25 2022, 1:32 PM Closed by commit rG88a2ac6ad623: [clangd] Improve XRefs support for ObjCMethodDecl (authored by dgoldman). · Explain WhyJul 26 2022, 9:11 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 445873 clang-tools-extra/clangd/AST.h
clang-tools-extra/clangd/AST.cpp
clang-tools-extra/clangd/XRefs.cpp
clang-tools-extra/clangd/unittests/XRefsTests.cpp
|
can you have a comment here saying "Look for method definition inside the implementation decl"