[llvm-bugs] [Bug 43232] -Wmissing-braces firing for aggregate structs with only 1 base and no members

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Oct 22 12:46:24 PDT 2021


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

Mateusz Zych <mte.zych at gmail.com> changed:

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

--- Comment #1 from Mateusz Zych <mte.zych at gmail.com> ---
Good news - this issue has been fixed in Clang 13.0.0:

 - https://godbolt.org/z/3eY664acc

by Hana Dusíková in the following commit:

 - Remove warning "suggest braces" for aggregate initialization of
   an empty class with an aggregate base class.

   ~
https://github.com/llvm/llvm-project/commit/64c24f493e5f4637ee193f10f469cdd2695b4ba6

-- 
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/20211022/c2bc974f/attachment.html>


More information about the llvm-bugs mailing list