[all-commits] [llvm/llvm-project] 35b784: [libc][stdbit][c23] fixes typos in bit_width, bit_...

Michael Flanders via All-commits all-commits at lists.llvm.org
Sat Mar 9 22:47:01 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 35b784379e707423f3b4f5a2cfedabcfa6f5b47d
      https://github.com/llvm/llvm-project/commit/35b784379e707423f3b4f5a2cfedabcfa6f5b47d
  Author: Michael Flanders <mkf727 at cs.washington.edu>
  Date:   2024-03-10 (Sun, 10 Mar 2024)

  Changed paths:
    M libc/include/llvm-libc-macros/stdbit-macros.h

  Log Message:
  -----------
  [libc][stdbit][c23] fixes typos in bit_width, bit_floor C type-generic macros (#84659)

Fixes #84658.

Assuming these were typos in the first place.

I am unsure of the best way to ensure that both sides of the
preprocessor condition in
`libc/include/llvm-libc-macros/stdbit-macros.h` are tested. Could
someone point me in the right direction for adding test coverage to the
non `__cplusplus` branch? Or maybe it is being tested and I've missed
it.



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