[libc++] Fix incorrect guard against the presence of wide characters
authorLouis Dionne <ldionne.2@gmail.com>
Mon, 28 Nov 2022 16:49:23 +0000 (11:49 -0500)
committerLouis Dionne <ldionne.2@gmail.com>
Mon, 28 Nov 2022 22:33:49 +0000 (14:33 -0800)
commit5935db6ebda9d931f9b37db30f8a51bd577ba9dd
tree937d356039ef9ede92583d6b4a99e5e04aaa3565
parentdf47f3ea0dcb5c483db67d4a620cf6cd8fe3badb
[libc++] Fix incorrect guard against the presence of wide characters

TEST_HAS_NO_WIDE_CHARACTERS should only be used in the tests.

Differential Revision: https://reviews.llvm.org/D138828
libcxx/include/__format/unicode.h