[all-commits] [llvm/llvm-project] 4ad230: [libc++] Refactor bitset::{any, all} (#128445)

Peng Liu via All-commits all-commits at lists.llvm.org
Wed May 28 09:11:08 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4ad230bebd1dcdf09f445181f34e8fa92e970412
      https://github.com/llvm/llvm-project/commit/4ad230bebd1dcdf09f445181f34e8fa92e970412
  Author: Peng Liu <winner245 at hotmail.com>
  Date:   2025-05-28 (Wed, 28 May 2025)

  Changed paths:
    M libcxx/include/bitset

  Log Message:
  -----------
  [libc++] Refactor bitset::{any, all} (#128445)

This patch refactors the `all()` and `any()` methods in `bitset` to
eliminate redundant code while preserving the performance. Code
generation remains unchanged, as verified on Compiler
Explorer: https://godbolt.org/z/xx8hb4sPM.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list