[all-commits] [llvm/llvm-project] b6429c: Refactor getDeclAtPosition() to use SelectionTree ...

Nathan Ridge via All-commits all-commits at lists.llvm.org
Thu Oct 31 14:37:52 PDT 2019


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

  Changed paths:
    M clang-tools-extra/clangd/XRefs.cpp
    M clang-tools-extra/clangd/unittests/SymbolInfoTests.cpp
    M clang-tools-extra/clangd/unittests/TypeHierarchyTests.cpp
    M clang-tools-extra/clangd/unittests/XRefsTests.cpp

  Log Message:
  -----------
  Refactor getDeclAtPosition() to use SelectionTree + targetDecl()

Summary: This fixes issue #163, among other improvements to go-to-definition.

Reviewers: sammccall

Subscribers: jkorous, mgrang, arphaman, kadircet, usaxena95, cfe-commits

Tags: #clang

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




More information about the All-commits mailing list