Skip to content

Commit 97127fa

Browse files
Address a comment.
1 parent 13e266b commit 97127fa

File tree

1 file changed

+1
-1
lines changed
  • llvm/include/llvm/ADT

1 file changed

+1
-1
lines changed

llvm/include/llvm/ADT/bit.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ template <typename T> [[nodiscard]] constexpr int bit_width_constexpr(T Value) {
304304
int Width = 0;
305305
while (Value > 0) {
306306
Value >>= 1;
307-
Width++;
307+
++Width;
308308
}
309309
return Width;
310310
}

0 commit comments

Comments
 (0)