[libc++][format] Fixes escaping string literals.
authorMark de Wever <koraq@xs4all.nl>
Sun, 1 Jan 2023 16:17:47 +0000 (17:17 +0100)
committerMark de Wever <koraq@xs4all.nl>
Wed, 11 Jan 2023 16:48:08 +0000 (17:48 +0100)
commit580cc9dd7a852ecf7790ef2bb3904b176bfeea56
treed17700f5cc3bcf887842578c5d285051bdf1573c
parent521ab024584f39442725ed271ee224a01df8d3f5
[libc++][format] Fixes escaping string literals.

D140653 has the same fix, without the extra tests.

Fixes PR59763

Reviewed By: ldionne, #libc

Differential Revision: https://reviews.llvm.org/D140819
libcxx/include/__format/formatter_string.h
libcxx/test/std/utilities/format/format.tuple/format.functions.tests.h