[all-commits] [llvm/llvm-project] bd5d0f: [libc++] Qualifies uint32_t and friends.

Mark de Wever via All-commits all-commits at lists.llvm.org
Tue Mar 14 09:29:08 PDT 2023


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

  Changed paths:
    M libcxx/test/libcxx/containers/unord/next_pow2.pass.cpp
    M libcxx/test/libcxx/fuzzing/random.pass.cpp
    M libcxx/test/libcxx/input.output/filesystems/convert_file_time.pass.cpp
    M libcxx/test/libcxx/numerics/numeric.ops/midpoint.integer.pass.cpp
    M libcxx/test/libcxx/strings/basic.string/alignof.compile.pass.cpp
    M libcxx/test/libcxx/strings/basic.string/sizeof.compile.pass.cpp
    M libcxx/test/libcxx/strings/basic.string/string.iterators/debug.iterator.index.pass.cpp
    M libcxx/test/libcxx/type_traits/is_always_bitcastable.compile.pass.cpp
    M libcxx/test/libcxx/utilities/format/format.arguments/format.arg/arg_t.compile.pass.cpp
    M libcxx/test/libcxx/utilities/function.objects/unord.hash/murmur2_or_cityhash_ubsan_unsigned_overflow_ignored.pass.cpp
    M libcxx/test/libcxx/utilities/utility/__murmur2_or_cityhash.abi-v1.pass.cpp
    M libcxx/test/libcxx/utilities/utility/__murmur2_or_cityhash.abi-v2.pass.cpp
    M libcxx/test/std/atomics/types.pass.cpp
    M libcxx/test/std/containers/sequences/deque/abi.compile.pass.cpp
    M libcxx/test/std/containers/sequences/vector/vector.cons/construct_iter_iter.pass.cpp
    M libcxx/test/std/experimental/simd/simd.abi/vector_extension.pass.cpp
    M libcxx/test/std/experimental/simd/simd.access/default.pass.cpp
    M libcxx/test/std/experimental/simd/simd.casts/simd_cast.pass.cpp
    M libcxx/test/std/experimental/simd/simd.cons/broadcast.pass.cpp
    M libcxx/test/std/experimental/simd/simd.cons/default.pass.cpp
    M libcxx/test/std/experimental/simd/simd.cons/generator.pass.cpp
    M libcxx/test/std/experimental/simd/simd.cons/load.pass.cpp
    M libcxx/test/std/experimental/simd/simd.mem/load.pass.cpp
    M libcxx/test/std/experimental/simd/simd.mem/store.pass.cpp
    M libcxx/test/std/experimental/simd/simd.traits/is_abi_tag.pass.cpp
    M libcxx/test/std/experimental/simd/simd.traits/is_simd.pass.cpp
    M libcxx/test/std/experimental/simd/simd.traits/is_simd_flag_type.pass.cpp
    M libcxx/test/std/experimental/simd/simd.traits/is_simd_mask.pass.cpp
    M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.last_write_time/last_write_time.pass.cpp
    M libcxx/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/minmax_showbase.pass.cpp
    M libcxx/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/minus1.pass.cpp
    M libcxx/test/std/iterators/iterator.container/ssize.pass.cpp
    M libcxx/test/std/language.support/support.srcloc/general.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/numerics/bit/byteswap.pass.cpp
    M libcxx/test/std/numerics/numeric.ops/numeric.ops.midpoint/midpoint.integer.pass.cpp
    M libcxx/test/std/numerics/rand/rand.dist/rand.dist.bern/rand.dist.bern.bin/eval.pass.cpp
    M libcxx/test/std/numerics/rand/rand.dist/rand.dist.samp/rand.dist.samp.discrete/eval.pass.cpp
    M libcxx/test/std/numerics/rand/rand.dist/rand.dist.uni/rand.dist.uni.int/eval.pass.cpp
    M libcxx/test/std/numerics/rand/rand.eng/rand.eng.mers/ctor_result_type.pass.cpp
    M libcxx/test/std/numerics/rand/rand.eng/rand.eng.sub/ctor_result_type.pass.cpp
    M libcxx/test/std/strings/basic.string/string.modifiers/string_append/iterator.pass.cpp
    M libcxx/test/std/strings/basic.string/string.modifiers/string_assign/iterator.pass.cpp
    M libcxx/test/std/strings/basic.string/string.modifiers/string_insert/iter_iter_iter.pass.cpp
    M libcxx/test/std/strings/basic.string/string.modifiers/string_replace/iter_iter_iter_iter.pass.cpp
    M libcxx/test/std/time/time.hms/time.hms.members/seconds.pass.cpp
    M libcxx/test/std/time/time.hms/time.hms.members/subseconds.pass.cpp
    M libcxx/test/std/time/time.syn/formatter.hh_mm_ss.pass.cpp
    M libcxx/test/std/utilities/charconv/charconv.msvc/floating_point_test_cases.hpp
    M libcxx/test/std/utilities/charconv/charconv.msvc/test.cpp
    M libcxx/test/std/utilities/charconv/charconv.to.chars/integral.pass.cpp
    M libcxx/test/std/utilities/format/format.formatter/format.formatter.spec/formatter.signed_integral.pass.cpp
    M libcxx/test/std/utilities/format/format.functions/format_tests.h
    M libcxx/test/std/utilities/function.objects/unord.hash/enum.pass.cpp
    M libcxx/test/std/utilities/function.objects/unord.hash/integral.pass.cpp
    M libcxx/test/std/utilities/utility/utility.intcmp/intcmp.in_range/in_range.pass.cpp
    M libcxx/test/support/atomic_helpers.h
    M libcxx/test/support/filesystem_test_helper.h
    M libcxx/test/support/format.functions.common.h

  Log Message:
  -----------
  [libc++] Qualifies uint32_t and friends.

This has been done using the following command
  find libcxx/test -type f -exec perl -pi -e 's|^([^/]+?)((?<!::)(?<!::u)u?int(_[a-z]+)?[0-9]{1,2}_t)|\1std::\2|' \{} \;

And manually removed some false positives in std/depr/depr.c.headers.

Reviewed By: ldionne, #libc

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




More information about the All-commits mailing list