[libcxx-commits] [libcxx] 76dba2e - [libcxx] Fix a comment link for the unicode NBSP char. NFC. (#139692)
via libcxx-commits
libcxx-commits at lists.llvm.org
Tue May 13 14:11:05 PDT 2025
Author: Martin Storsjö
Date: 2025-05-14T00:11:02+03:00
New Revision: 76dba2ea02048b587d10ccdf777b0875369f362c
URL: https://github.com/llvm/llvm-project/commit/76dba2ea02048b587d10ccdf777b0875369f362c
DIFF: https://github.com/llvm/llvm-project/commit/76dba2ea02048b587d10ccdf777b0875369f362c.diff
LOG: [libcxx] Fix a comment link for the unicode NBSP char. NFC. (#139692)
Added:
Modified:
libcxx/src/locale.cpp
Removed:
################################################################################
diff --git a/libcxx/src/locale.cpp b/libcxx/src/locale.cpp
index 9ea59a3a19ca4..b3ec28950008a 100644
--- a/libcxx/src/locale.cpp
+++ b/libcxx/src/locale.cpp
@@ -3957,7 +3957,7 @@ static bool is_narrow_non_breaking_space(const char* ptr) {
}
static bool is_non_breaking_space(const char* ptr) {
- // https://www.fileformat.info/info/unicode/char/0a/index.htm
+ // https://www.fileformat.info/info/unicode/char/a0/index.htm
return ptr[0] == '\xc2' && ptr[1] == '\xa0';
}
#endif // _LIBCPP_HAS_WIDE_CHARACTERS
More information about the libcxx-commits
mailing list