[all-commits] [llvm/llvm-project] ed0da0: [libc++][string] Remove potential non-trailing 0-l...
serge-sans-paille via All-commits
all-commits at lists.llvm.org
Mon Sep 9 23:24:24 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ed0da008258a3a7df14caa906e23e660174d2507
https://github.com/llvm/llvm-project/commit/ed0da008258a3a7df14caa906e23e660174d2507
Author: serge-sans-paille <sguelton at mozilla.com>
Date: 2024-09-10 (Tue, 10 Sep 2024)
Changed paths:
M libcxx/include/string
Log Message:
-----------
[libc++][string] Remove potential non-trailing 0-length array (#105865)
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.
---------
Co-authored-by: Louis Dionne <ldionne.2 at gmail.com>
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list