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

[libc++][NFC] Use std::has_single_bit instead of std::popcount(v) == 1 #181787

philnik777
tbaederr tbaederr changed the title [libc++] Use std::has_single_bit instead of std::popcount(v) == 0 [libc++] Use std::has_single_bit instead of std::popcount(v) == 1 18 days ago
philnik777 [libc++] Use std::has_single_bit instead of std::popcount(v) == 0
3cf958a8
philnik777 philnik777 force pushed from 72ce0205 to 3cf958a8 17 days ago
philnik777 philnik777 changed the title [libc++] Use std::has_single_bit instead of std::popcount(v) == 1 [libc++][NFC] Use std::has_single_bit instead of std::popcount(v) == 1 16 days ago
philnik777 philnik777 marked this pull request as ready for review 16 days ago
philnik777 philnik777 requested a review 16 days ago
philnik777 philnik777 merged 5b9b25b9 into main 16 days ago
philnik777 philnik777 deleted the atomic_unique_lock_use_has_single_bit branch 16 days ago
llvmbot llvmbot added libc++
llvmbot

Login to write a write a comment.

Login via GitHub

Reviewers
No reviews
Assignees
No one assigned
Labels
Milestone