[all-commits] [llvm/llvm-project] 3d7354: [clangd] SelectionTree should prefer lexical declc...

kadir çetinkaya via All-commits all-commits at lists.llvm.org
Thu Oct 28 08:40:10 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3d735480bd2a720af2126c80da58371690e6a02e
      https://github.com/llvm/llvm-project/commit/3d735480bd2a720af2126c80da58371690e6a02e
  Author: Kadir Cetinkaya <kadircet at google.com>
  Date:   2021-10-28 (Thu, 28 Oct 2021)

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

  Log Message:
  -----------
  [clangd] SelectionTree should prefer lexical declcontext

This is important especially for code that tries to traverse scopes as
written in code, which is the contract SelectionTree tries to satisfy.

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




More information about the All-commits mailing list