[PATCH] D71240: [clangd] Heuristically resolve dependent method calls

Nathan Ridge via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 9 20:57:23 PST 2019


nridge created this revision.
nridge added a reviewer: sammccall.
Herald added subscribers: cfe-commits, usaxena95, kadircet, arphaman, jkorous, MaskRay, ilya-biryukov.
Herald added a project: clang.
nridge updated this revision to Diff 232996.
nridge added a comment.
nridge edited the summary of this revision.

Add github issue number


The heuristic is to look in the definition of the primary template,
which is what you want in the vast majority of cases.

Fixes https://github.com/clangd/clangd/issues/141


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D71240

Files:
  clang-tools-extra/clangd/FindTarget.cpp
  clang-tools-extra/clangd/XRefs.cpp
  clang-tools-extra/clangd/unittests/XRefsTests.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71240.232996.patch
Type: text/x-patch
Size: 6304 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20191210/dc7f5243/attachment.bin>


More information about the cfe-commits mailing list