Support expressions in the context of a reference
authorEmre Kultursay <emrekultursay@google.com>
Tue, 21 Jun 2022 12:28:53 +0000 (14:28 +0200)
committerPavel Labath <pavel@labath.sk>
Tue, 21 Jun 2022 12:30:07 +0000 (14:30 +0200)
commit6a85b9d16387ddd7c356336c8a77ba6b88f9a610
treefa1b2ed6b41673c56223848c35c16ddc589e9407
parented63fcb232b409310a33dcebe46f5f9c893223e3
Support expressions in the context of a reference

...type variable by dereferencing the variable before
evaluating the expression.

Reviewed By: labath

Differential Revision: https://reviews.llvm.org/D128126
lldb/source/Expression/UserExpression.cpp
lldb/test/API/commands/expression/context-object/TestContextObject.py
lldb/test/API/commands/expression/context-object/main.cpp