[all-commits] [llvm/llvm-project] 5d8be4: [libc++] Define an internal locale API as a shim o...

Louis Dionne via All-commits all-commits at lists.llvm.org
Wed Nov 6 06:57:30 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5d8be4c036aa5ce4a94f1f37a9155d5c877e23db
      https://github.com/llvm/llvm-project/commit/5d8be4c036aa5ce4a94f1f37a9155d5c877e23db
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2024-11-06 (Wed, 06 Nov 2024)

  Changed paths:
    M libcxx/include/__locale
    M libcxx/include/__locale_dir/locale_base_api.h
    M libcxx/include/__locale_dir/locale_base_api/apple.h
    M libcxx/include/__locale_dir/locale_base_api/bsd_locale_defaults.h
    M libcxx/include/__locale_dir/locale_base_api/freebsd.h
    M libcxx/include/locale
    M libcxx/src/iostream.cpp
    M libcxx/src/locale.cpp

  Log Message:
  -----------
  [libc++] Define an internal locale API as a shim on top of the current one (#114596)

Our current locale base API is a mix of non-reserved system names that
we incorrectly (re)define and internal functions and macros starting
with __libcpp. This patch introduces a function-based internal interface
to isolate the rest of the code base from that mess, so that we can work
on refactoring how each platform implements the base API in subsequent
patches. This makes it possible to refactor how each platform implements
the base localization API without impacting the rest of the code base.



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