[all-commits] [llvm/llvm-project] e2e9e2: [libcxx] [test] Fix max_size.pass.cpp for PowerPC ...

Amy Kwan via All-commits all-commits at lists.llvm.org
Thu Aug 11 19:39:44 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e2e9e2ce8efd12f0f2b7a12be113d4241706ddf2
  Author: Amy Kwan <amy.kwan1 at ibm.com>
  Date:   2022-08-11 (Thu, 11 Aug 2022)

  Changed paths:
    M libcxx/test/libcxx/strings/basic.string/string.capacity/max_size.pass.cpp

  Log Message:
  [libcxx] [test] Fix max_size.pass.cpp for PowerPC targets

This patch fixes the max_size.pass.cpp test for PowerPC targets, depending on

We will exhibit the full_size() behaviour for little endian
(where __endian_factor = 2 ), and the half_size() behaviour for
big endian (where __endian_factor = 1).

Differential Revision: https://reviews.llvm.org/D131682

More information about the All-commits mailing list