aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorKadir Cetinkaya <kadircet@google.com>2021-09-30 15:25:42 +0200
committerKadir Cetinkaya <kadircet@google.com>2021-10-01 12:38:18 +0200
commit512aa8485010009f6ec1b8d9deea3effe67e0106 (patch)
tree397a837fcb3b1f6f050e302408efc1f4b6ec1182 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parent413b7ac6b535dfb4c57c2842388a2071901b9d56 (diff)
downloadllvm-512aa8485010009f6ec1b8d9deea3effe67e0106.zip
llvm-512aa8485010009f6ec1b8d9deea3effe67e0106.tar.gz
llvm-512aa8485010009f6ec1b8d9deea3effe67e0106.tar.bz2
[clangd] Handle members of anon structs in SelectionTree
References to fields inside anon structs contain an implicit children for the container, which has the same SourceLocation with the field. This was resulting in SelectionTree always picking the anon-struct rather than the field as the selection. This patch prevents that by claiming the range for the field early. https://github.com/clangd/clangd/issues/877. Differential Revision: https://reviews.llvm.org/D110825
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions