[all-commits] [llvm/llvm-project] 98d763: [clangd] Factor out some helper functions related ...

Nathan Ridge via All-commits all-commits at lists.llvm.org
Thu Jul 9 22:59:01 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 98d763ad051f5eab89fa46167516fc8a84f471d0
      https://github.com/llvm/llvm-project/commit/98d763ad051f5eab89fa46167516fc8a84f471d0
  Author: Nathan Ridge <zeratul976 at hotmail.com>
  Date:   2020-07-10 (Fri, 10 Jul 2020)

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

  Log Message:
  -----------
  [clangd] Factor out some helper functions related to heuristic resolution in TargetFinder

Summary:
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 will build on this and use these functions in new ways.

Reviewers: hokein

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

Tags: #clang

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




More information about the All-commits mailing list