[all-commits] [llvm/llvm-project] 390840: [libc++] Fix UTF-8 decoding in codecvts (#68442)
Dimitrij Mijoski via All-commits
all-commits at lists.llvm.org
Mon Nov 27 09:31:18 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 390840fbdf280b68a5498af952926ffcd678954e
https://github.com/llvm/llvm-project/commit/390840fbdf280b68a5498af952926ffcd678954e
Author: Dimitrij Mijoski <dmjpp at hotmail.com>
Date: 2023-11-27 (Mon, 27 Nov 2023)
Changed paths:
M libcxx/src/locale.cpp
A libcxx/test/std/localization/codecvt_unicode.pass.cpp
Log Message:
-----------
[libc++] Fix UTF-8 decoding in codecvts (#68442)
This patch fixes one case where the decoding member function `in()` was
returning `partial` instead of `error`. Additionally, it adds large
testsuite that tests all `codecvt` facets that were added in C++11 and
in C++20. The testsuite covers this bug.
Fixes #60177.
More information about the All-commits
mailing list