[PATCH] D152720: [clangd][ObjC] Support ObjC class rename from implementation decls

David Goldman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 22 13:29:48 PDT 2023


dgoldman marked an inline comment as done.
dgoldman added inline comments.


================
Comment at: clang-tools-extra/clangd/FindTarget.cpp:716
+    void VisitObjCImplementationDecl(const ObjCImplementationDecl *OIMD) {
+      if (const auto *CI = OIMD->getClassInterface())
+        Refs.push_back(ReferenceLoc{NestedNameSpecifierLoc(),
----------------
kadircet wrote:
> we don't have the null check in other places, what's the significance here?
Removed, doesn't look like it's needed.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D152720/new/

https://reviews.llvm.org/D152720



More information about the cfe-commits mailing list