nridge added inline comments.

================
Comment at: clang-tools-extra/clangd/unittests/XRefsTests.cpp:695
+      namespace ns { class [[Foo]] {}; }
+      using ns::[[F^oo]];
+    )cpp",
----------------
Why is it useful to give the using-declaration itself as a result?

It seems like the more useful behaviour from the user's point of view is to 
jump directly to the definition of `class Foo`, without having to choose from a 
popup first.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D74054



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
  • [PATCH] D74054: [clangd] Incl... Nathan Ridge via Phabricator via cfe-commits

Reply via email to