[all-commits] [llvm/llvm-project] d7d1af: [clangd] Fix DocumentSymbol ranges

Kirill Bobyrev via All-commits all-commits at lists.llvm.org
Mon Jul 13 06:03:31 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: d7d1af39168ce8afd041f3ae8db1d1fd3d4f70ac
      https://github.com/llvm/llvm-project/commit/d7d1af39168ce8afd041f3ae8db1d1fd3d4f70ac
  Author: Kirill Bobyrev <kbobyrev at google.com>
  Date:   2020-07-13 (Mon, 13 Jul 2020)

  Changed paths:
    M clang-tools-extra/clangd/FindSymbols.cpp
    M clang-tools-extra/clangd/unittests/FindSymbolsTests.cpp

  Log Message:
  -----------
  [clangd] Fix DocumentSymbol ranges

Summary:
DocumentSymbol ranges were not previously tested and, as a result, had invalid
end location. This patch addresses the issue.

Reviewers: sammccall

Reviewed By: sammccall

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

Tags: #clang

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




More information about the All-commits mailing list