[libcxx-commits] [PATCH] D110994: [libc++] Make test_allocator constexpr-friendly for constexpr string/vector

Nikolas Klauser via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Oct 5 07:06:14 PDT 2021


philnik updated this revision to Diff 377228.
philnik added a comment.

Replaced assert(data_ >= 0) with assert(data_ != destructed_value)
Made the special values constexpr and removed default_value because it was unused


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D110994/new/

https://reviews.llvm.org/D110994

Files:
  libcxx/test/std/containers/associative/map/map.cons/assign_initializer_list.pass.cpp
  libcxx/test/support/test_allocator.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D110994.377228.patch
Type: text/x-patch
Size: 4809 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20211005/0435b039/attachment.bin>


More information about the libcxx-commits mailing list