[lldb-dev] [Bug 48323] Attempting to redefine a variable fails silently

via lldb-dev lldb-dev at lists.llvm.org
Mon Nov 30 00:49:38 PST 2020


https://bugs.llvm.org/show_bug.cgi?id=48323

Raphael Isemann <teemperor at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
                 CC|                            |teemperor at gmail.com

--- Comment #1 from Raphael Isemann <teemperor at gmail.com> ---
Fixed in https://reviews.llvm.org/D89310

FWIW, the reason why I went with (i) is that it's technically not something one
can do in C/C++ (i.e., redefining a variable in the same scope). You can always
achieve (ii) by just assigning a new value to the existing $x.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20201130/2783dbb5/attachment.html>


More information about the lldb-dev mailing list