[all-commits] [llvm/llvm-project] f7efca: [libc++][charconv] Granularizes the header.

Mark de Wever via All-commits all-commits at lists.llvm.org
Wed Mar 15 10:02:08 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f7efcaca77d8218bfd4fa4cda03666417ae944de
      https://github.com/llvm/llvm-project/commit/f7efcaca77d8218bfd4fa4cda03666417ae944de
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2023-03-15 (Wed, 15 Mar 2023)

  Changed paths:
    M libcxx/include/CMakeLists.txt
    A libcxx/include/__charconv/from_chars_integral.h
    A libcxx/include/__charconv/to_chars.h
    A libcxx/include/__charconv/to_chars_floating_point.h
    A libcxx/include/__charconv/to_chars_integral.h
    A libcxx/include/__charconv/traits.h
    M libcxx/include/__format/formatter_integral.h
    M libcxx/include/charconv
    M libcxx/include/module.modulemap.in
    M libcxx/test/libcxx/private_headers.verify.cpp
    M libcxx/test/support/charconv_test_helpers.h
    M libcxx/utils/data/ignore_format.txt

  Log Message:
  -----------
  [libc++][charconv] Granularizes the header.

Having the header granularized makes it possible to remove the
dependency on this header in <format>. This <format> header gets
included in more headers due to more usage of std::formatter in the
library. This should reduce the number of transitive includes.

Note formatting the new headers will be done in a followup patch.

Reviewed By: #libc, ldionne

Differential Revision: https://reviews.llvm.org/D145590




More information about the All-commits mailing list