[all-commits] [llvm/llvm-project] d59a43: [libc++] Qualifies intptr_t and uintptr_t.

Mark de Wever via All-commits all-commits at lists.llvm.org
Wed Mar 22 14:19:16 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d59a43fe2ad81f5c3918c9ef79a986955256f7ea
      https://github.com/llvm/llvm-project/commit/d59a43fe2ad81f5c3918c9ef79a986955256f7ea
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2023-03-22 (Wed, 22 Mar 2023)

  Changed paths:
    M libcxx/test/std/atomics/atomics.types.generic/integral_typedefs.pass.cpp
    M libcxx/test/std/atomics/stdatomic.h.syn/types.compile.pass.cpp
    M libcxx/test/std/atomics/types.pass.cpp
    M libcxx/test/std/experimental/simd/simd.cons/generator.pass.cpp
    M libcxx/test/std/numerics/bit/bit.pow.two/bit_ceil.fail.cpp
    M libcxx/test/std/numerics/bit/bit.pow.two/bit_ceil.pass.cpp
    M libcxx/test/std/numerics/bit/bit.pow.two/bit_floor.pass.cpp
    M libcxx/test/std/numerics/bit/bit.pow.two/bit_width.pass.cpp
    M libcxx/test/std/numerics/bit/bit.pow.two/has_single_bit.pass.cpp
    M libcxx/test/std/numerics/bit/bitops.count/countl_one.pass.cpp
    M libcxx/test/std/numerics/bit/bitops.count/countl_zero.pass.cpp
    M libcxx/test/std/numerics/bit/bitops.count/countr_one.pass.cpp
    M libcxx/test/std/numerics/bit/bitops.count/countr_zero.pass.cpp
    M libcxx/test/std/numerics/bit/bitops.count/popcount.pass.cpp
    M libcxx/test/std/numerics/bit/bitops.rot/rotl.pass.cpp
    M libcxx/test/std/numerics/bit/bitops.rot/rotr.pass.cpp
    M libcxx/test/std/ranges/range.adaptors/range.elements/iterator/ctor.other.pass.cpp
    M libcxx/test/std/ranges/range.adaptors/range.elements/sentinel/equality.pass.cpp
    M libcxx/test/std/ranges/range.adaptors/range.elements/types.h
    M libcxx/test/std/ranges/range.adaptors/range.split/types.h
    M libcxx/test/std/ranges/range.adaptors/range.take.while/sentinel/equality.pass.cpp
    M libcxx/test/std/ranges/range.adaptors/range.zip/iterator/arithmetic.pass.cpp
    M libcxx/test/std/ranges/range.adaptors/range.zip/iterator/compare.pass.cpp
    M libcxx/test/std/ranges/range.adaptors/range.zip/iterator/ctor.default.pass.cpp
    M libcxx/test/std/ranges/range.adaptors/range.zip/iterator/member_types.compile.pass.cpp
    M libcxx/test/std/ranges/range.adaptors/range.zip/sentinel/minus.pass.cpp
    M libcxx/test/std/ranges/range.adaptors/range.zip/types.h
    M libcxx/test/std/utilities/format/format.formatter/format.formatter.spec/formatter.pointer.pass.cpp
    M libcxx/test/std/utilities/function.objects/unord.hash/integral.pass.cpp
    M libcxx/test/std/utilities/memory/temporary.buffer/overaligned.pass.cpp
    M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.create/allocate_shared_construct.pass.cpp
    M libcxx/test/std/utilities/meta/meta.unary.prop.query/alignment_of.pass.cpp

  Log Message:
  -----------
  [libc++] Qualifies intptr_t and uintptr_t.

This has been done using the following command

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

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

Reviewed By: #libc, ldionne

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




More information about the All-commits mailing list