[libcxx] String format class marked as packed
authorStefan Pintilie <stefanp@ca.ibm.com>
Fri, 25 Feb 2022 15:26:25 +0000 (09:26 -0600)
committerStefan Pintilie <stefanp@ca.ibm.com>
Fri, 25 Feb 2022 16:07:19 +0000 (10:07 -0600)
commit96918f2af67f4edb6d6e987e03c0318ae04ba929
treeec407c6c6babd06304bb3218a2a53adf2a7c1182
parent5048a58a6792ee7432b749a48c937cc9b6a9dc93
[libcxx] String format class marked as packed

This patch marks the class _Flags as packed because the design assumes that it
is packed and a number of tests also assume that it is packed. However on AIX
the class is not packed unless it is marked as such.

Reviewed By: hubert.reinterpretcast, #libc, Mordante, ldionne, Quuxplusone

Differential Revision: https://reviews.llvm.org/D119567
libcxx/include/__config
libcxx/include/__format/parser_std_format_spec.h
libcxx/test/libcxx/utilities/format/format.string/format.string.std/std_format_spec_bool.pass.cpp
libcxx/test/libcxx/utilities/format/format.string/format.string.std/std_format_spec_char.pass.cpp
libcxx/test/libcxx/utilities/format/format.string/format.string.std/std_format_spec_integer.pass.cpp
libcxx/test/libcxx/utilities/format/format.string/format.string.std/std_format_spec_string.pass.cpp