[all-commits] [llvm/llvm-project] fafdf9: [libc++] Simplify vector<bool>::flip() and add new...

Peng Liu via All-commits all-commits at lists.llvm.org
Thu Dec 19 08:49:12 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fafdf97047b1d9622ffbb59919d2422e062882f2
      https://github.com/llvm/llvm-project/commit/fafdf97047b1d9622ffbb59919d2422e062882f2
  Author: Peng Liu <winner245 at hotmail.com>
  Date:   2024-12-19 (Thu, 19 Dec 2024)

  Changed paths:
    M libcxx/include/__vector/vector_bool.h
    A libcxx/test/std/containers/sequences/vector.bool/flip.pass.cpp

  Log Message:
  -----------
  [libc++] Simplify vector<bool>::flip() and add new tests (#119607)

This PR simplifies the internal bitwise logic of the `flip()` function
for `vector<bool>`, and creates new tests to validate the changes.



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