[all-commits] [llvm/llvm-project] e70a9f: [clangd] Handle go-to-definition in macro invocati...

Nathan Ridge via All-commits all-commits at lists.llvm.org
Tue Mar 3 12:52:37 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e70a9f3850255cb610fc56a30dec6f52b9d734e9
      https://github.com/llvm/llvm-project/commit/e70a9f3850255cb610fc56a30dec6f52b9d734e9
  Author: Nathan Ridge <zeratul976 at hotmail.com>
  Date:   2020-03-03 (Tue, 03 Mar 2020)

  Changed paths:
    M clang-tools-extra/clangd/Selection.cpp
    M clang-tools-extra/clangd/Selection.h
    M clang-tools-extra/clangd/unittests/SelectionTests.cpp
    M clang-tools-extra/clangd/unittests/XRefsTests.cpp

  Log Message:
  -----------
  [clangd] Handle go-to-definition in macro invocations where the target appears in the expansion multiple times

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

Reviewers: sammccall

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

Tags: #clang

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




More information about the All-commits mailing list