[all-commits] [llvm/llvm-project] af9d7d: [libc++] Fix stray usage of _LIBCPP_HAS_NO_WIDE_CH...

Louis Dionne via All-commits all-commits at lists.llvm.org
Fri Feb 21 14:09:32 PST 2025


  Branch: refs/heads/release/20.x
  Home:   https://github.com/llvm/llvm-project
  Commit: af9d7dda2125c2ab10758ce6b5a968fd56af5048
      https://github.com/llvm/llvm-project/commit/af9d7dda2125c2ab10758ce6b5a968fd56af5048
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2025-02-21 (Fri, 21 Feb 2025)

  Changed paths:
    M libcxx/include/__locale_dir/support/windows.h

  Log Message:
  -----------
  [libc++] Fix stray usage of _LIBCPP_HAS_NO_WIDE_CHARACTERS on Windows

(cherry picked from commit bcfd9f81e1bc9954d616ffbb8625099916bebd5b)


  Commit: 43a04b1db60414089bc7f864feb7cd8be7600498
      https://github.com/llvm/llvm-project/commit/43a04b1db60414089bc7f864feb7cd8be7600498
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2025-02-21 (Fri, 21 Feb 2025)

  Changed paths:
    M libcxx/include/__locale_dir/locale_base_api.h
    M libcxx/include/__locale_dir/support/bsd_like.h
    M libcxx/include/__locale_dir/support/fuchsia.h
    M libcxx/include/__locale_dir/support/no_locale/characters.h
    M libcxx/include/__locale_dir/support/windows.h
    A libcxx/test/libcxx/xopen_source.gen.py

  Log Message:
  -----------
  [libc++] Reduce the dependency of the locale base API on the base system from the headers (#117764)

Many parts of the locale base API are only required when building the
shared/static library, but not from the headers. Document those
functions and carve out a few of those that don't work when
_XOPEN_SOURCE is defined to something old.

Fixes #117630

(cherry picked from commit f00b32e2d0ee666d32f1ddd0c687e269fab95b44)


Compare: https://github.com/llvm/llvm-project/compare/b84ffb9f3b34...43a04b1db604

To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list