[all-commits] [llvm/llvm-project] 026776: [libc++] Refactor the creation of the global and c...

Louis Dionne via All-commits all-commits at lists.llvm.org
Thu Nov 23 07:29:11 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 026776fb60e52be04ea26d3d1d371d9efcb6ae3b
      https://github.com/llvm/llvm-project/commit/026776fb60e52be04ea26d3d1d371d9efcb6ae3b
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2023-11-23 (Thu, 23 Nov 2023)

  Changed paths:
    M libcxx/include/__locale
    M libcxx/src/locale.cpp
    M libcxx/test/std/localization/locales/locale/locale.cons/char_pointer.pass.cpp

  Log Message:
  -----------
  [libc++] Refactor the creation of the global and classic locales (#72581)

The creation of the global and the classic locales was pretty twisty.
This patch refactors how this is done to reduce the amount of
indirections and prepare the terrain for a future where GCC implements
the no_destroy attribute.




More information about the All-commits mailing list