[libcxx-commits] [libcxx] [libc++][string] Remove potential non-trailing 0-length array (PR #105865)

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Sat Aug 24 18:14:43 PDT 2024


philnik777 wrote:

> > > It's an extension that compilers currently support, so I don't really see why the new implementation is better.
> > 
> > 
> > Perhaps the change will make `-Wzero-length-array` happy. #74183 seems related.
> 
> Exactly the issue I ran into.

How exactly does one run into a diagnostic in a system header?


https://github.com/llvm/llvm-project/pull/105865


More information about the libcxx-commits mailing list