[libcxx-commits] [PATCH] D145800: [libc++] Granularizes vector.

Mark de Wever via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Sat Mar 11 07:08:25 PST 2023


Mordante created this revision.
Herald added a project: All.
Mordante updated this revision to Diff 504178.
Mordante added a comment.
Herald added a subscriber: arichardson.
Mordante updated this revision to Diff 504204.
Mordante updated this revision to Diff 504217.
Mordante updated this revision to Diff 504236.
Mordante updated this revision to Diff 504256.
Mordante updated this revision to Diff 504348.
Mordante updated this revision to Diff 504349.
Mordante updated this revision to Diff 504353.
Mordante published this revision for review.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

CI fixes.


Mordante added a comment.

CI fixes.


Mordante added a comment.

CI fixes.


Mordante added a comment.

CI fixes.


Mordante added a comment.

CI fixes.


Mordante added a comment.

CI fixes


Mordante added a comment.

CI fixes.


Mordante added a comment.

CI fixes.


https://llvm.org/PR61314 reports a missing include in vector.
Unfortunately adding that include causes a circular reference.
__format/buffer.h uses vector<charT>, which is included by vector
to fix the bug.

The intention is to only let __format/buffer.h use the granularized
header, this will not use vector<bool> so it's clear which
specialization is needed. For other headers this might be possible too,
but it's not planned.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D145800

Files:
  libcxx/include/CMakeLists.txt
  libcxx/include/__format/buffer.h
  libcxx/include/__numeric/accumulate.h
  libcxx/include/__random/discrete_distribution.h
  libcxx/include/__random/seed_seq.h
  libcxx/include/__vector/bool.h
  libcxx/include/__vector/vector.h
  libcxx/include/libcxx.imp
  libcxx/include/module.modulemap.in
  libcxx/include/vector
  libcxx/test/libcxx/containers/sequences/vector/robust_against_adl.pass.cpp
  libcxx/test/libcxx/private_headers.verify.cpp
  libcxx/test/std/containers/sequences/vector.bool/ctor_exceptions.pass.cpp
  libcxx/test/std/containers/sequences/vector.bool/reference/assign_copy.pass.cpp
  libcxx/test/std/containers/sequences/vector/vector.cons/assign_move.addressof.compile.pass.cpp
  libcxx/test/std/containers/sequences/vector/vector.cons/deduct.pass.cpp
  libcxx/test/std/containers/sequences/vector/vector.cons/exceptions.pass.cpp
  libcxx/test/std/containers/sequences/vector/vector.cons/move.addressof.compile.pass.cpp
  libcxx/test/std/ranges/range.adaptors/range.as.rvalue/ctor.pass.cpp
  libcxx/test/std/utilities/optional/optional.object/optional.object.assign/emplace_initializer_list.pass.cpp
  libcxx/test/std/utilities/optional/optional.object/optional.object.ctor/initializer_list.pass.cpp
  libcxx/test/support/nasty_containers.h
  libcxx/utils/data/ignore_format.txt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D145800.504353.patch
Type: text/x-patch
Size: 233919 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230311/3f019e31/attachment-0001.bin>


More information about the libcxx-commits mailing list