[PATCH] D130095: [clangd] Improve XRefs support for ObjCMethodDecl
David Goldman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jul 19 09:12:32 PDT 2022
dgoldman created this revision.
dgoldman added a reviewer: kadircet.
Herald added subscribers: usaxena95, arphaman.
Herald added a project: All.
dgoldman requested review of this revision.
Herald added subscribers: cfe-commits, MaskRay, ilya-biryukov.
Herald added a project: clang-tools-extra.
- 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
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D130095
Files:
clang-tools-extra/clangd/AST.cpp
clang-tools-extra/clangd/AST.h
clang-tools-extra/clangd/XRefs.cpp
clang-tools-extra/clangd/unittests/XRefsTests.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D130095.445841.patch
Type: text/x-patch
Size: 6373 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220719/d6c4fe65/attachment.bin>
More information about the cfe-commits
mailing list