[PATCH] D74054: [clangd] Include the underlying decls in go-to-definition.

Sam McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 7 01:40:29 PDT 2020


sammccall accepted this revision.
sammccall added a comment.
This revision is now accepted and ready to land.

Thanks!



================
Comment at: clang-tools-extra/clangd/unittests/XRefsTests.cpp:997
+    )cpp",
+    R"cpp(
+      class Foo {};
----------------
this is basically the same as the above case (which is fine)
but what about `class [[Foo]]; using Bar = ^Foo;`?

(maybe this is tested elsewhere already, but it should be moved here)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D74054



More information about the cfe-commits mailing list