[llvm-bugs] [Bug 48323] Attempting to redefine a variable fails silently

via llvm-bugs llvm-bugs 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 on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20201130/8e41c32d/attachment.html>


More information about the llvm-bugs mailing list