Skip to content

Commit 5285bc1

Browse files
committed
Fix typo
1 parent ce7a278 commit 5285bc1

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

libcxx/include/__bit/countl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
// ToDo: __builtin_clzg is available since Clang 19 and GCC 14. When support for older versions is dropped, we can
9+
// TODO: __builtin_clzg is available since Clang 19 and GCC 14. When support for older versions is dropped, we can
1010
// refactor this code to exclusively use __builtin_clzg.
1111

1212
#ifndef _LIBCPP___BIT_COUNTL_H

libcxx/include/__bit/countr.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
// ToDo: __builtin_ctzg is available since Clang 19 and GCC 14. When support for older versions is dropped, we can
9+
// TODO: __builtin_ctzg is available since Clang 19 and GCC 14. When support for older versions is dropped, we can
1010
// refactor this code to exclusively use __builtin_ctzg.
1111

1212
#ifndef _LIBCPP___BIT_COUNTR_H
@@ -45,7 +45,7 @@ _LIBCPP_NODISCARD _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX14 int __coun
4545
if (__t == 0)
4646
return numeric_limits<_Tp>::digits;
4747

48-
return __builtin_ctz(__t);
48+
return __builtin_ctzg(__t);
4949
}
5050

5151
#else // __has_builtin(__builtin_ctzg)

libcxx/include/__bit/popcount.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
// ToDo: __builtin_popcountg is available since Clang 19 and GCC 14. When support for older versions is dropped, we can
9+
// TODO: __builtin_popcountg is available since Clang 19 and GCC 14. When support for older versions is dropped, we can
1010
// refactor this code to exclusively use __builtin_popcountg.
1111

1212
#ifndef _LIBCPP___BIT_POPCOUNT_H

libcxx/src/include/ryu/ryu.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@
4343
// Avoid formatting to keep the changes with the original code minimal.
4444
// clang-format off
4545

46-
#include <__bit/countr.h>
4746
#include <__charconv/chars_format.h>
4847
#include <__charconv/to_chars_result.h>
4948
#include <__config>

0 commit comments

Comments
 (0)