[PATCH] D130095: [clangd] Improve XRefs support for ObjCMethodDecl
Kadir Cetinkaya via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 25 13:32:53 PDT 2022
kadircet accepted this revision.
kadircet added a comment.
This revision is now accepted and ready to land.
thanks, lgtm!
================
Comment at: clang-tools-extra/clangd/XRefs.cpp:89
+ return MD;
+ auto *DeclCtx = cast<Decl>(MD->getDeclContext());
+ if (DeclCtx->isInvalidDecl())
----------------
can you have a comment here saying "Look for method definition inside the implementation decl"
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D130095/new/
https://reviews.llvm.org/D130095
More information about the cfe-commits
mailing list