[libcxx-commits] [PATCH] D103670: [libc++][format] Adds bool formatter.

Mark de Wever via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Jul 7 09:18:34 PDT 2021


Mordante added a subscriber: Quuxplusone.
Mordante added inline comments.


================
Comment at: libcxx/test/std/utilities/format/format.functions/tests.inc:487
+    // Helper to embed a \0 in the output string.
+    auto str = [](std::string r) {
+      std::replace(r.begin(), r.end(), '\1', '\0');
----------------
Remove this replacement with the method @Quuxplusone suggested in D96664.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D103670



More information about the libcxx-commits mailing list