[all-commits] [llvm/llvm-project] 96918f: [libcxx] String format class marked as packed

stefanp-ibm via All-commits all-commits at lists.llvm.org
Fri Feb 25 08:07:33 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 96918f2af67f4edb6d6e987e03c0318ae04ba929
      https://github.com/llvm/llvm-project/commit/96918f2af67f4edb6d6e987e03c0318ae04ba929
  Author: Stefan Pintilie <stefanp at ca.ibm.com>
  Date:   2022-02-25 (Fri, 25 Feb 2022)

  Changed paths:
    M libcxx/include/__config
    M libcxx/include/__format/parser_std_format_spec.h
    M libcxx/test/libcxx/utilities/format/format.string/format.string.std/std_format_spec_bool.pass.cpp
    M libcxx/test/libcxx/utilities/format/format.string/format.string.std/std_format_spec_char.pass.cpp
    M libcxx/test/libcxx/utilities/format/format.string/format.string.std/std_format_spec_integer.pass.cpp
    M libcxx/test/libcxx/utilities/format/format.string/format.string.std/std_format_spec_string.pass.cpp

  Log Message:
  -----------
  [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




More information about the All-commits mailing list