[all-commits] [llvm/llvm-project] 09addf: [libc++][format] Fixes UTF-8 continuation.
Mark de Wever via All-commits
all-commits at lists.llvm.org
Tue Jun 20 10:28:20 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 09addf9cbe0a5a8ba9d5666b6e25e6308c441ae2
https://github.com/llvm/llvm-project/commit/09addf9cbe0a5a8ba9d5666b6e25e6308c441ae2
Author: Mark de Wever <koraq at xs4all.nl>
Date: 2023-06-20 (Tue, 20 Jun 2023)
Changed paths:
M libcxx/include/__format/unicode.h
M libcxx/test/std/utilities/format/format.functions/escaped_output.unicode.pass.cpp
M libcxx/test/std/utilities/format/format.functions/unicode.pass.cpp
Log Message:
-----------
[libc++][format] Fixes UTF-8 continuation.
The mask used to check whether a code unit is a valid continuation was
incorrect and accepts non-continuation code points. This fixes the
issue.
Reviewed By: ldionne, tahonermann, #libc
Differential Revision: https://reviews.llvm.org/D149672
More information about the All-commits
mailing list