ilya-biryukov added inline comments.

================
Comment at: clang-tools-extra/clangd/FindTarget.cpp:438
                          D->getTargetNameLoc(),
+                         /*IsDecl=*/true,
                          {D->getAliasedNamespace()}};
----------------
This one is a **not** a declaration reference.
We could call `VisitNamedDecl` here to report the actual declaration.

Note that this would require returning two results from this function.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D68977



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to