[libcxx-commits] [PATCH] D122534: [WIP][NFC][libc++][format] Prepare unit tests.

Mark de Wever via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Sat Mar 26 12:55:59 PDT 2022


Mordante created this revision.
Herald added a project: All.
Mordante requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

Before implementing P2216 <https://reviews.llvm.org/P2216>'s format-string adjust the unit tests.
After P2216 <https://reviews.llvm.org/P2216> the format* functions require a compile-time string literal.
This changes prepares the tests.

NOTE STILL WIP AND FOR CI TESTING. THE PATCH REQUIRES SOME POLISHING.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D122534

Files:
  libcxx/test/std/utilities/format/format.functions/format.locale.pass.cpp
  libcxx/test/std/utilities/format/format.functions/format.pass.cpp
  libcxx/test/std/utilities/format/format.functions/format_tests.h
  libcxx/test/std/utilities/format/format.functions/format_to.locale.pass.cpp
  libcxx/test/std/utilities/format/format.functions/format_to.pass.cpp
  libcxx/test/std/utilities/format/format.functions/format_to_n.locale.pass.cpp
  libcxx/test/std/utilities/format/format.functions/format_to_n.pass.cpp
  libcxx/test/std/utilities/format/format.functions/formatted_size.locale.pass.cpp
  libcxx/test/std/utilities/format/format.functions/formatted_size.pass.cpp
  libcxx/test/std/utilities/format/format.functions/locale-specific_form.pass.cpp
  libcxx/test/std/utilities/format/format.functions/vformat.locale.pass.cpp
  libcxx/test/std/utilities/format/format.functions/vformat.pass.cpp
  libcxx/test/std/utilities/format/format.functions/vformat_to.locale.pass.cpp
  libcxx/test/std/utilities/format/format.functions/vformat_to.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122534.418414.patch
Type: text/x-patch
Size: 478416 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220326/aa522248/attachment-0001.bin>


More information about the libcxx-commits mailing list