[all-commits] [llvm/llvm-project] 20f8f4: [clangd] Fix selection on multi-dimensional array.

Haojian Wu via All-commits all-commits at lists.llvm.org
Tue Jan 4 03:06:29 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 20f8f46c60b39fb2c6b4371a03e580d0711e8d82
      https://github.com/llvm/llvm-project/commit/20f8f46c60b39fb2c6b4371a03e580d0711e8d82
  Author: Haojian Wu <hokein.wu at gmail.com>
  Date:   2022-01-04 (Tue, 04 Jan 2022)

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

  Log Message:
  -----------
  [clangd] Fix selection on multi-dimensional array.

This involves separating out the concepts of "which tokens should we
descend into this node for" vs "which tokens should this node claim".

Reviewed By: sammccall

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




More information about the All-commits mailing list