[llvm-bugs] [Bug 46727] Clang rejects valid enum definition with "reference to local variable declared in enclosing function"

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Jul 15 09:44:15 PDT 2020


Richard Smith <richard-llvm at metafoo.co.uk> changed:

           What    |Removed                     |Added
         Resolution|---                         |DUPLICATE
             Status|NEW                         |RESOLVED

--- Comment #1 from Richard Smith <richard-llvm at metafoo.co.uk> ---
Clang is implementing the language rules correctly here, but it's not clear
whether this is the desired rule.

*** This bug has been marked as a duplicate of bug 46374 ***

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/20200715/8b3a943e/attachment-0001.html>

More information about the llvm-bugs mailing list