mirror of
https://github.com/llvm/llvm-project.git
synced 2025-05-17 13:56:08 +00:00

Summary: There was a bug on LLDB VSCode where there was the following behavior: //Code ``` struct foo { int bar: }; ... foo my_foo = {10}; ``` Trying to auto-complete my_foo.b with my_foo.bar resulted instead with my_foo.my_foo.bar This diff fixes this bug and adds some tests to check correct behavior. It also fixes the same bug using the arrow operator (->) when user manually requests completions. TODO: Fix bug where no recommended completions are automatically shown with arrow operator {F11249959} {F11249958} Reviewers: wallace Reviewed By: wallace Subscribers: teemperor, labath, lldb-commits Tags: #lldb Differential Revision: https://reviews.llvm.org/D73506