[all-commits] [llvm/llvm-project] df2af9: [libc++][format] Add a CMake Unicode option.
mordante via All-commits
all-commits at lists.llvm.org
Sat Sep 4 02:55:26 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: df2af9936ca096d5bfbf3395c661c2d5a354f673
https://github.com/llvm/llvm-project/commit/df2af9936ca096d5bfbf3395c661c2d5a354f673
Author: Mark de Wever <koraq at xs4all.nl>
Date: 2021-09-04 (Sat, 04 Sep 2021)
Changed paths:
M libcxx/CMakeLists.txt
A libcxx/cmake/caches/Generic-no-unicode.cmake
M libcxx/docs/ReleaseNotes.rst
M libcxx/utils/ci/buildkite-pipeline.yml
M libcxx/utils/ci/run-buildbot
M libcxx/utils/libcxx/test/features.py
Log Message:
-----------
[libc++][format] Add a CMake Unicode option.
This option is used to select between the format headers output column
width option. This option should be independent of the locale setting.
It's encouraged to default to Unicode unless the platform doesn't offer
that option.
[format.string.std]/10
```
For the purposes of width computation, a string is assumed to be in a
locale-independent, implementation-defined encoding. Implementations
should use a Unicode encoding on platforms capable of displaying Unicode
```
Reviewed By: #libc, ldionne, vitaut
Differential Revision: https://reviews.llvm.org/D103379
More information about the All-commits
mailing list