llvm-project
5b9b25b9 - [libc++][NFC] Use std::has_single_bit instead of std::popcount(v) == 1 (#181787)

Commit
5 days ago
[libc++][NFC] Use std::has_single_bit instead of std::popcount(v) == 1 (#181787) We have a function that specifically checks if a single bit is set. Use that instad of a `popcount`.
Author
Parents
Loading