Unlike UsingDecl it doesn't name the UsingShadowDecls it emits, so it doesn't
make sense to consider them the same thing. Don't consider the UsingEnumDecl
a target when the UsingShadowDecl is referenced.
Details
Details
- Reviewers
tom-anders - Commits
- rG2bb34cc462ff: [clangd] FindTarget: UsingEnumDecl is not an alias
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
lgtm, thanks! With this change in place, we could probably ajdust pickDeclToUse in Hover.cpp (introduced in https://reviews.llvm.org/D133664) to also check for UsingDecl instead of BaseUsingDecl, right?