sammccall accepted this revision.
sammccall added a comment.
This revision is now accepted and ready to land.
Thanks!
================
Comment at: clang-tools-extra/clangd/FindTarget.cpp:82
+ std::vector<const NamedDecl *> Result;
+ llvm::copy(
+ ET->getDecl()->lookup(NameFactory(ET->getDecl()->getASTContext())),
----------------
or `auto result = ET->getDecl()->lookup(...); return {result.begin(),
result.end()}`
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D76103/new/
https://reviews.llvm.org/D76103
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits