[PATCH] D83371: [clangd] Factor out some helper functions related to heuristic resolution in TargetFinder
Nathan Ridge via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jul 7 23:57:57 PDT 2020
nridge created this revision.
nridge added a reviewer: hokein.
Herald added subscribers: cfe-commits, usaxena95, kadircet, arphaman, jkorous, MaskRay, ilya-biryukov.
Herald added a project: clang.
Two helpers are introduced:
- Some of the logic previously in TargetFinder::Visit*() methods is factored out into resolveDependentExprToDecls().
- Some of the logic in getMembersReferencedViaDependentName() is factored out into resolveTypeToRecordDecl().
D82739 <https://reviews.llvm.org/D82739> will build on this and use these functions in new ways.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D83371
Files:
clang-tools-extra/clangd/FindTarget.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D83371.276319.patch
Type: text/x-patch
Size: 4856 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200708/b71d6d2f/attachment-0001.bin>
More information about the cfe-commits
mailing list