[PATCH] D133664: [clangd] Fix hover on symbol introduced by using declaration
Tom Praschan via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Sep 14 06:10:31 PDT 2022
tom-anders added inline comments.
================
Comment at: clang-tools-extra/clangd/Hover.cpp:1011
+const NamedDecl *
+pickDeclToUse(const llvm::SmallVector<const NamedDecl *, N> &Candidates) {
+ if (Candidates.empty())
----------------
kadircet wrote:
> you can just pass in ArrayRef instead.
Ah of course, forgot about that nice class
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D133664/new/
https://reviews.llvm.org/D133664
More information about the cfe-commits
mailing list