[all-commits] [llvm/llvm-project] 7e6bcb: [libc++][format] Fixes vector<bool> requirements.

Mark de Wever via All-commits all-commits at lists.llvm.org
Sat May 6 05:07:50 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7e6bcb35a8116a653e4cdf660643e80459c5efce
      https://github.com/llvm/llvm-project/commit/7e6bcb35a8116a653e4cdf660643e80459c5efce
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2023-05-06 (Sat, 06 May 2023)

  Changed paths:
    M libcxx/docs/ReleaseNotes.rst
    M libcxx/include/mutex
    M libcxx/include/string
    M libcxx/include/string_view
    M libcxx/include/vector
    M libcxx/test/libcxx/transitive_includes/cxx03.csv
    M libcxx/test/libcxx/transitive_includes/cxx11.csv
    M libcxx/test/libcxx/transitive_includes/cxx14.csv
    M libcxx/test/libcxx/transitive_includes/cxx17.csv
    M libcxx/test/libcxx/transitive_includes/cxx20.csv
    M libcxx/test/libcxx/transitive_includes/cxx2b.csv
    A libcxx/test/std/containers/sequences/vector.bool/vector.bool.fmt/types.compile.pass.cpp

  Log Message:
  -----------
  [libc++][format] Fixes vector<bool> requirements.

Makes sure the formatter for the vector<bool>::reference is enabled
when only the header <vector> is included. Before this change it
required <vector> and <format> to be included. This violated the
requirements in the Standard.

Fixes: https://llvm.org/PR61314

Reviewed By: #libc, ldionne

Differential Revision: https://reviews.llvm.org/D149543




More information about the All-commits mailing list