diff options
| author | Nick Desaulniers <nickdesaulniers@users.noreply.github.com> | 2024-03-12 08:44:06 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-12 08:44:06 -0700 |
| commit | 0ebf511ad011a83022edb171e044c98d9d16b1fa (patch) | |
| tree | d9ffd56fa0e0ebfd1747791518f2b09a6a2e147b /libc/src/stdbit/stdc_count_zeros_ull.cpp | |
| parent | 261e5648e70b363aecf86acfcd7fb416eb48fb7b (diff) | |
[libc] move non <bit> functions to math_extras (#84818)
As per TODOs added in
https://github.com/llvm/llvm-project/pull/84035/commits/48b0bc837085a38ff1de33010d9222363f70238f.
Diffstat (limited to 'libc/src/stdbit/stdc_count_zeros_ull.cpp')
| -rw-r--r-- | libc/src/stdbit/stdc_count_zeros_ull.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/src/stdbit/stdc_count_zeros_ull.cpp b/libc/src/stdbit/stdc_count_zeros_ull.cpp index 2f57f727a691..6a9c8f04a799 100644 --- a/libc/src/stdbit/stdc_count_zeros_ull.cpp +++ b/libc/src/stdbit/stdc_count_zeros_ull.cpp @@ -8,13 +8,13 @@ #include "src/stdbit/stdc_count_zeros_ull.h" -#include "src/__support/CPP/bit.h" #include "src/__support/common.h" +#include "src/__support/math_extras.h" namespace LIBC_NAMESPACE { LLVM_LIBC_FUNCTION(unsigned, stdc_count_zeros_ull, (unsigned long long value)) { - return static_cast<unsigned>(cpp::count_zeros(value)); + return static_cast<unsigned>(count_zeros(value)); } } // namespace LIBC_NAMESPACE |
