[all-commits] [llvm/llvm-project] 5de486: [libc++] Improve no wide characters configuration.

mordante via All-commits all-commits at lists.llvm.org
Thu Nov 4 11:35:19 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5de4864f74bd1ec167a77b77b99e05470f3ab578
      https://github.com/llvm/llvm-project/commit/5de4864f74bd1ec167a77b77b99e05470f3ab578
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2021-11-04 (Thu, 04 Nov 2021)

  Changed paths:
    M libcxx/src/locale.cpp
    M libcxx/test/std/localization/locale.categories/category.monetary/locale.money.get/locale.money.get.members/get_long_double_fr_FR.pass.cpp
    M libcxx/test/std/localization/locale.categories/category.monetary/locale.money.put/locale.money.put.members/put_long_double_fr_FR.pass.cpp
    M libcxx/test/std/localization/locale.categories/category.monetary/locale.moneypunct.byname/thousands_sep.pass.cpp
    M libcxx/test/std/localization/locale.categories/facet.numpunct/locale.numpunct.byname/thousands_sep.pass.cpp

  Log Message:
  -----------
  [libc++] Improve no wide characters configuration.

When wide characters are supported libc++ manually translates a
`narrow non-breaking space` and a `non-breaking space` to a space.
This behaviour wasn't available when wide characters were disabled.
This enables an emulation for that configuration.

Updating the libc++ Docker image to Ubuntu Focal caused some breakage.
This was temporary disabled in D112737. This re-enables four of these
tests.

Reviewed By: ldionne, #libc

Differential Revision: https://reviews.llvm.org/D113133




More information about the All-commits mailing list