[libcxx-commits] [PATCH] D138828: [libc++] Fix incorrect guard against the presence of wide characters
Louis Dionne via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Nov 28 14:34:28 PST 2022
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG5935db6ebda9: [libc++] Fix incorrect guard against the presence of wide characters (authored by ldionne).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D138828/new/
https://reviews.llvm.org/D138828
Files:
libcxx/include/__format/unicode.h
Index: libcxx/include/__format/unicode.h
===================================================================
--- libcxx/include/__format/unicode.h
+++ libcxx/include/__format/unicode.h
@@ -210,7 +210,7 @@
const char* __last_;
};
-# ifndef TEST_HAS_NO_WIDE_CHARACTERS
+# ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS
_LIBCPP_HIDE_FROM_ABI constexpr bool __is_surrogate_pair_high(wchar_t __value) {
return __value >= 0xd800 && __value <= 0xdbff;
}
@@ -294,7 +294,7 @@
const wchar_t* __first_;
const wchar_t* __last_;
};
-# endif
+# endif // _LIBCPP_HAS_NO_WIDE_CHARACTERS
_LIBCPP_HIDE_FROM_ABI constexpr bool __at_extended_grapheme_cluster_break(
bool& __ri_break_allowed,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D138828.478378.patch
Type: text/x-patch
Size: 701 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20221128/33da2f5f/attachment.bin>
More information about the libcxx-commits
mailing list