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

Richard Smith <richard-l...@metafoo.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |RESOLVED
 Fixed By Commit(s)|                            |llvmorg-12-init-1498-g1cbdf
                   |                            |932b41
         Resolution|---                         |FIXED

--- Comment #2 from Richard Smith <richard-l...@metafoo.co.uk> ---
Clang was previously producing an extension warning, which was promoted to an
error with -pedantic-errors, so this was an extension (albeit an accidental
one, as far as I can tell) rather than a bug.

However, no other C++ compiler accepts such constructs, not even in permissive
mode, so we're not doing anyone a favor by allowing this. I've converted it to
being a hard error.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to