[libcxx-commits] [PATCH] D146550: [libc++] Qualifies ptrdiff_t and max_align_t.

Mark de Wever via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Mar 21 11:07:26 PDT 2023


Mordante created this revision.
Herald added a subscriber: mikhail.ramalho.
Herald added a project: All.
Mordante requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

This has been done using the following commands

  find libcxx/test -type f -exec perl -pi -e 's|^([^/]+?)((?<!::)ptrdiff_t)|\1std::\2|' \{} \;
  find libcxx/test -type f -exec perl -pi -e 's|^([^/]+?)((?<!::)max_align_t)|\1std::\2|' \{} \;

The std module doesn't export declarations in the global namespaace.,
This is a preparation for that module.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D146550

Files:
  libcxx/test/libcxx/algorithms/debug_less.pass.cpp
  libcxx/test/libcxx/numerics/numeric.ops/midpoint.integer.pass.cpp
  libcxx/test/std/algorithms/alg.nonmodifying/alg.find.first.of/ranges.find_first_of.pass.cpp
  libcxx/test/std/atomics/stdatomic.h.syn/types.compile.pass.cpp
  libcxx/test/std/atomics/types.pass.cpp
  libcxx/test/std/containers/sequences/forwardlist/forwardlist.ops/splice_after_range.pass.cpp
  libcxx/test/std/depr/depr.c.headers/stddef_h.compile.pass.cpp
  libcxx/test/std/iterators/iterator.container/ssize.pass.cpp
  libcxx/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.nonmember/iter_move.pass.cpp
  libcxx/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.nonmember/iter_swap.pass.cpp
  libcxx/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.cmp/sfinae.compile.pass.cpp
  libcxx/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.nonmember/iter_move.pass.cpp
  libcxx/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.nonmember/iter_swap.pass.cpp
  libcxx/test/std/language.support/support.types/max_align_t.compile.pass.cpp
  libcxx/test/std/numerics/bit/bit.pow.two/bit_ceil.pass.cpp
  libcxx/test/std/numerics/bit/bit.pow.two/bit_floor.pass.cpp
  libcxx/test/std/numerics/bit/bit.pow.two/bit_width.pass.cpp
  libcxx/test/std/numerics/bit/bit.pow.two/has_single_bit.pass.cpp
  libcxx/test/std/numerics/bit/bitops.count/countl_one.pass.cpp
  libcxx/test/std/numerics/bit/bitops.count/countl_zero.pass.cpp
  libcxx/test/std/numerics/bit/bitops.count/countr_one.pass.cpp
  libcxx/test/std/numerics/bit/bitops.count/countr_zero.pass.cpp
  libcxx/test/std/numerics/bit/bitops.count/popcount.pass.cpp
  libcxx/test/std/numerics/bit/bitops.rot/rotl.pass.cpp
  libcxx/test/std/numerics/bit/bitops.rot/rotr.pass.cpp
  libcxx/test/std/numerics/numeric.ops/numeric.ops.midpoint/midpoint.integer.pass.cpp
  libcxx/test/std/ranges/range.access/ssize.pass.cpp
  libcxx/test/std/ranges/range.adaptors/range.lazy.split/constraints.compile.pass.cpp
  libcxx/test/std/ranges/range.adaptors/range.lazy.split/range.lazy.split.inner/iter_move.pass.cpp
  libcxx/test/std/ranges/range.adaptors/range.lazy.split/range.lazy.split.inner/iter_swap.pass.cpp
  libcxx/test/std/strings/string.view/types.pass.cpp
  libcxx/test/std/thread/thread.semaphore/max.pass.cpp
  libcxx/test/std/utilities/format/format.functions/escaped_output.ascii.pass.cpp
  libcxx/test/std/utilities/format/format.functions/escaped_output.unicode.pass.cpp
  libcxx/test/std/utilities/format/format.range/format.range.fmtkind/format_kind.compile.pass.cpp
  libcxx/test/std/utilities/tuple/tuple.tuple/tuple.helper/tuple.include.ranges.pass.cpp
  libcxx/test/std/utilities/utility/mem.res/mem.poly.allocator.class/mem.poly.allocator.mem/allocate_deallocate_bytes.pass.cpp
  libcxx/test/support/test_iterators.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D146550.507061.patch
Type: text/x-patch
Size: 36420 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230321/0e9cbeff/attachment-0001.bin>


More information about the libcxx-commits mailing list