[PATCH] D141798: Drop the ZeroBehavior parameter from countLeadingZeros and the like (NFC)

Kazu Hirata via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 18 19:44:08 PST 2023


kazu marked an inline comment as done.
kazu added inline comments.


================
Comment at: llvm/include/llvm/Support/MathExtras.h:225
 ///
 /// \param ZB the behavior on an input of 0. Only ZB_Max and ZB_Undefined are
 ///   valid arguments.
----------------
jrtc27 wrote:
> A bunch of functions still have this documentation, but these are now the only possible values, so this seems redundant
I've adjusted the redundant comments on two functions - `findFirstSet` and `findLastSet`.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D141798/new/

https://reviews.llvm.org/D141798



More information about the cfe-commits mailing list