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

via libcxx-commits libcxx-commits at lists.llvm.org
Sat Aug 24 05:11:08 PDT 2024


serge-sans-paille 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.

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


More information about the libcxx-commits mailing list