[all-commits] [llvm/llvm-project] f3c2a3: [libc++] Mark static variables of locale::id as co...

Louis Dionne via All-commits all-commits at lists.llvm.org
Mon Sep 11 11:22:26 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f3c2a3de843027eee0951cd4a424d39efec9dc77
      https://github.com/llvm/llvm-project/commit/f3c2a3de843027eee0951cd4a424d39efec9dc77
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2023-09-11 (Mon, 11 Sep 2023)

  Changed paths:
    M libcxx/src/locale.cpp

  Log Message:
  -----------
  [libc++] Mark static variables of locale::id as constinit (#65783)

The dylib contains multiple global variables of type locale::id. Those
can be marked as constinit to make it clear that static initialization
is performed.




More information about the All-commits mailing list