[all-commits] [llvm/llvm-project] 2194bc: [libc++] Granularize `range_format` and `format_ki...

William Tran-Viet via All-commits all-commits at lists.llvm.org
Thu Jul 17 00:43:33 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2194bca2b78cf1ada2aa539e2a3ad8128a80f63a
      https://github.com/llvm/llvm-project/commit/2194bca2b78cf1ada2aa539e2a3ad8128a80f63a
  Author: William Tran-Viet <wtranviet at proton.me>
  Date:   2025-07-17 (Thu, 17 Jul 2025)

  Changed paths:
    M libcxx/include/CMakeLists.txt
    M libcxx/include/__format/range_default_formatter.h
    A libcxx/include/__format/range_format.h
    M libcxx/include/module.modulemap.in

  Log Message:
  -----------
  [libc++] Granularize `range_format` and `format_kind` declarations (#148876)

While working on #105430 I ran into an issue implementing
[[optional.syn]](https://eel.is/c++draft/optional.syn) because of a
circular include that looked like the following: `optional ->
__format/range_default_formatter.h -> __format/range_formatter.h ->
__format/format_context.h -> optional`. Only `format_kind` and
`range_format` are needed, and so they looked like candidates to be put
into an internal header.



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