[libcxx-commits] [libcxx] [libc++] Fix ambiguous call in {ranges, std}::find (PR #122641)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Wed Feb 26 09:49:31 PST 2025


================
@@ -38,29 +40,45 @@ _LIBCPP_BEGIN_NAMESPACE_STD
   return __builtin_ctzll(__x);
----------------
ldionne wrote:

For a follow-up patch, we should replace uses of `__libcpp_ctz` in the codebase by calls to `__countr_zero` (there's only a few). This will eventually allow us to clean up `__libcpp_ctz` altogether.

https://github.com/llvm/llvm-project/pull/122641


More information about the libcxx-commits mailing list