[all-commits] [llvm/llvm-project] edbd93: [libc][stdbit] fix return types (#80337)

Nick Desaulniers via All-commits all-commits at lists.llvm.org
Thu Feb 1 13:09:44 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: edbd93d3706b806e7c91dfd2c359476488dfcc96
      https://github.com/llvm/llvm-project/commit/edbd93d3706b806e7c91dfd2c359476488dfcc96
  Author: Nick Desaulniers <nickdesaulniers at users.noreply.github.com>
  Date:   2024-02-01 (Thu, 01 Feb 2024)

  Changed paths:
    M libc/include/llvm-libc-macros/stdbit-macros.h
    M libc/spec/stdc.td
    M libc/src/stdbit/stdc_leading_ones_uc.cpp
    M libc/src/stdbit/stdc_leading_ones_uc.h
    M libc/src/stdbit/stdc_leading_ones_ul.cpp
    M libc/src/stdbit/stdc_leading_ones_ul.h
    M libc/src/stdbit/stdc_leading_ones_ull.cpp
    M libc/src/stdbit/stdc_leading_ones_ull.h
    M libc/src/stdbit/stdc_leading_ones_us.cpp
    M libc/src/stdbit/stdc_leading_ones_us.h
    M libc/src/stdbit/stdc_leading_zeros_uc.cpp
    M libc/src/stdbit/stdc_leading_zeros_uc.h
    M libc/src/stdbit/stdc_leading_zeros_ul.cpp
    M libc/src/stdbit/stdc_leading_zeros_ul.h
    M libc/src/stdbit/stdc_leading_zeros_ull.cpp
    M libc/src/stdbit/stdc_leading_zeros_ull.h
    M libc/src/stdbit/stdc_leading_zeros_us.cpp
    M libc/src/stdbit/stdc_leading_zeros_us.h
    M libc/test/include/stdbit_test.cpp
    M libc/test/src/stdbit/stdc_leading_ones_uc_test.cpp
    M libc/test/src/stdbit/stdc_leading_ones_ui_test.cpp
    M libc/test/src/stdbit/stdc_leading_ones_ul_test.cpp
    M libc/test/src/stdbit/stdc_leading_ones_ull_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_ul_test.cpp
    M libc/test/src/stdbit/stdc_leading_zeros_ull_test.cpp
    M libc/test/src/stdbit/stdc_leading_zeros_us_test.cpp

  Log Message:
  -----------
  [libc][stdbit] fix return types (#80337)

All of the functions I've previously implemented return an unsigned int; not
the parameter type.




More information about the All-commits mailing list