[all-commits] [llvm/llvm-project] d5c654: [libc++][RFC] Only include what is required by-ver...

Nikolas Klauser via All-commits all-commits at lists.llvm.org
Sun Apr 14 10:42:20 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d5c654b5b7c8bb81affdc69976ef9bc5ad5b4302
      https://github.com/llvm/llvm-project/commit/d5c654b5b7c8bb81affdc69976ef9bc5ad5b4302
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2024-04-14 (Sun, 14 Apr 2024)

  Changed paths:
    M libcxx/include/algorithm
    M libcxx/include/bit
    M libcxx/include/charconv
    M libcxx/include/chrono
    M libcxx/include/compare
    M libcxx/include/concepts
    M libcxx/include/coroutine
    M libcxx/include/module.modulemap
    M libcxx/include/streambuf
    M libcxx/test/libcxx/algorithms/half_positive.pass.cpp
    M libcxx/test/libcxx/numerics/bit.ops.pass.cpp
    M libcxx/test/libcxx/time/convert_to_tm.pass.cpp
    M libcxx/test/libcxx/transitive_includes/cxx03.csv
    M libcxx/test/libcxx/transitive_includes/cxx11.csv
    M libcxx/test/libcxx/transitive_includes/cxx14.csv
    M libcxx/test/libcxx/transitive_includes/cxx17.csv
    M libcxx/test/libcxx/transitive_includes/cxx20.csv
    M libcxx/test/libcxx/transitive_includes/cxx23.csv
    M libcxx/test/libcxx/transitive_includes/cxx26.csv

  Log Message:
  -----------
  [libc++][RFC] Only include what is required by-version in the umbrella headers (#83740)

This is a relatively low cost way of reducing the include sizes in older
language modes compared to the effect. For example, in C++14 mode the
include time of `<algorithm>` is reduced from 198ms to 127ms.



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