[all-commits] [llvm/llvm-project] ecaa93: [clangd] Heuristically resolve dependent method calls

Nathan Ridge via All-commits all-commits at lists.llvm.org
Thu Dec 12 14:18:42 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: ecaa9363303e811a051ebb6199e35e43319a699c
      https://github.com/llvm/llvm-project/commit/ecaa9363303e811a051ebb6199e35e43319a699c
  Author: Nathan Ridge <zeratul976 at hotmail.com>
  Date:   2019-12-12 (Thu, 12 Dec 2019)

  Changed paths:
    M clang-tools-extra/clangd/FindTarget.cpp
    M clang-tools-extra/clangd/unittests/XRefsTests.cpp

  Log Message:
  -----------
  [clangd] Heuristically resolve dependent method calls

Summary:
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

Reviewers: sammccall

Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, kadircet, usaxena95, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D71240




More information about the All-commits mailing list