[all-commits] [llvm/llvm-project] b8ba26: [libc][test][stdbit] fix -Wimplicit-int-conversion...

Nick Desaulniers via All-commits all-commits at lists.llvm.org
Tue Feb 11 09:31:24 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b8ba266820ca51216c98216369a4947a942ec21c
      https://github.com/llvm/llvm-project/commit/b8ba266820ca51216c98216369a4947a942ec21c
  Author: Nick Desaulniers <ndesaulniers at google.com>
  Date:   2025-02-11 (Tue, 11 Feb 2025)

  Changed paths:
    M libc/test/src/stdbit/stdc_bit_ceil_uc_test.cpp
    M libc/test/src/stdbit/stdc_bit_ceil_us_test.cpp
    M libc/test/src/stdbit/stdc_first_leading_one_uc_test.cpp
    M libc/test/src/stdbit/stdc_first_leading_one_us_test.cpp
    M libc/test/src/stdbit/stdc_first_leading_zero_uc_test.cpp
    M libc/test/src/stdbit/stdc_first_leading_zero_us_test.cpp
    M libc/test/src/stdbit/stdc_first_trailing_one_uc_test.cpp
    M libc/test/src/stdbit/stdc_first_trailing_one_us_test.cpp
    M libc/test/src/stdbit/stdc_first_trailing_zero_uc_test.cpp
    M libc/test/src/stdbit/stdc_first_trailing_zero_us_test.cpp
    M libc/test/src/stdbit/stdc_has_single_bit_uc_test.cpp
    M libc/test/src/stdbit/stdc_has_single_bit_us_test.cpp
    M libc/test/src/stdbit/stdc_leading_ones_uc_test.cpp
    M libc/test/src/stdbit/stdc_leading_ones_us_test.cpp
    M libc/test/src/stdbit/stdc_leading_zeros_uc_test.cpp
    M libc/test/src/stdbit/stdc_leading_zeros_us_test.cpp
    M libc/test/src/stdbit/stdc_trailing_ones_uc_test.cpp
    M libc/test/src/stdbit/stdc_trailing_ones_us_test.cpp
    M libc/test/src/stdbit/stdc_trailing_zeros_uc_test.cpp
    M libc/test/src/stdbit/stdc_trailing_zeros_us_test.cpp

  Log Message:
  -----------
  [libc][test][stdbit] fix -Wimplicit-int-conversion (#126616)

When cross compiling the libc-stdbit-tests, the existing tests trigger numerous
instances of -Wimplicit-int-conversion. The truncation of these implicit
promotions is intentional.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list