diff options
author | Kadir Cetinkaya <kadircet@google.com> | 2020-02-25 09:33:52 +0100 |
---|---|---|
committer | Sam McCall <sam.mccall@gmail.com> | 2020-06-10 13:44:26 +0200 |
commit | 357e79c2895736c9d202c79380e3e1f507080df3 (patch) | |
tree | 20fd1d553910e217494ae9cb2e9ccfe93c420333 /lldb/packages/Python/lldbsuite/test/python_api/process/main.cpp | |
parent | 52f2d6d4b20dbc4c72f87c27e6e7375496fe0e38 (diff) | |
download | bcm5719-llvm-357e79c2895736c9d202c79380e3e1f507080df3.tar.gz bcm5719-llvm-357e79c2895736c9d202c79380e3e1f507080df3.zip |
[clangd] Fix early selection for non-vardecl declarators
Summary:
Selection tree was performing an early claim only for VarDecls, but
there are other cases where we can have declarators, e.g. FieldDecls. This patch
extends the early claim logic to all types of declarators.
Fixes https://github.com/clangd/clangd/issues/292
Reviewers: sammccall
Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, usaxena95, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D75106
(cherry picked from commit e6b8181895b96740dbe54aca036aa237e0a8363d)
Modified the cherry-picked test as diagnostics differ on the branch.
Fixes https://github.com/clangd/clangd/issues/421
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/process/main.cpp')
0 files changed, 0 insertions, 0 deletions