diff options
author | Hector Diaz <hdiaz@fb.com> | 2020-01-30 15:07:49 -0800 |
---|---|---|
committer | Walter Erquinigo <waltermelon@fb.com> | 2020-01-30 16:02:58 -0800 |
commit | 45e3f6660cf4503a8f63ce0a22e574f6d0997914 (patch) | |
tree | e722c4a9604269bf9ef800038dd4b04a88908dd2 /llvm/lib/CodeGen/LiveDebugVariables.cpp | |
parent | fff6a1b0f1fe57b46379001db75952d2a06eab1f (diff) | |
download | llvm-45e3f6660cf4503a8f63ce0a22e574f6d0997914.zip llvm-45e3f6660cf4503a8f63ce0a22e574f6d0997914.tar.gz llvm-45e3f6660cf4503a8f63ce0a22e574f6d0997914.tar.bz2 |
Auto-completion bug fix for dot operator
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
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugVariables.cpp')
0 files changed, 0 insertions, 0 deletions