[PATCH] D123649: Allow flexible array initialization in C++.

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon May 22 14:09:30 PDT 2023


aaron.ballman added a comment.

In D123649#4362402 <https://reviews.llvm.org/D123649#4362402>, @efriedma wrote:

> The assertion is correct; without it, your code is getting miscompiled.

The assertion may be correct in its intent, but we still should not be asserting in practice: https://godbolt.org/z/cs5bhvPGr


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D123649/new/

https://reviews.llvm.org/D123649



More information about the cfe-commits mailing list