[PATCH] D69624: [clangd] Fix namespace aliases in findExplicitReferences
Kadir Cetinkaya via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 31 01:07:32 PDT 2019
kadircet accepted this revision.
kadircet added a comment.
This revision is now accepted and ready to land.
This looks good, but it is missing the context. I suppose we were previously not providing any references for namespace aliases, because we were filtering both the alias and the underlying decl?
Could you update the revision summary and/or commit message ?
================
Comment at: clang-tools-extra/clangd/unittests/FindTargetTests.cpp:893
+ void foo() {
+ $0^ns::$1^Type $2^a;
+ $3^alias::$4^Type $5^b;
----------------
nit: I suppose this line checks we are not regressing the "non-alias case", but they are already being tested in previous tests.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D69624/new/
https://reviews.llvm.org/D69624
More information about the cfe-commits
mailing list