diff options
author | Louis Dionne <ldionne.2@gmail.com> | 2024-09-16 16:43:39 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-16 16:43:39 -0400 |
commit | d95597dc06c510ad7fbf00a43583c54d38f79aa7 (patch) | |
tree | 5cc15beba39d63444b7e6dc6468fbf2318b80511 /llvm/lib/Target/WebAssembly/Disassembler/WebAssemblyDisassembler.cpp | |
parent | 0a7a1ef2205c45859b4179cef993e97e9f5b4d0d (diff) | |
download | llvm-d95597dc06c510ad7fbf00a43583c54d38f79aa7.zip llvm-d95597dc06c510ad7fbf00a43583c54d38f79aa7.tar.gz llvm-d95597dc06c510ad7fbf00a43583c54d38f79aa7.tar.bz2 |
[libc++][string] Remove potential non-trailing 0-length array (#108867)
It is a violation of the standard to use 0 length arrays, especially
when not at the end of a structure (not a FAM GNU extension). Compiler
generally accept it, but it's probably better to have a conforming
implementation.
This is a re-application of #105865 which was reverted in 72cfc74
because it broke the data formatters. A LLDB patch has since been landed
that should make this a non-issue.
Co-authored-by: serge-sans-paille <sguelton@mozilla.com>
Diffstat (limited to 'llvm/lib/Target/WebAssembly/Disassembler/WebAssemblyDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions