[all-commits] [llvm/llvm-project] f90125: [libc++] Remove libc++'s own <limits.h> (#65472)

Louis Dionne via All-commits all-commits at lists.llvm.org
Tue Oct 10 11:06:56 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f901254341592afeb0eb1bf1307b19b332e6279f
      https://github.com/llvm/llvm-project/commit/f901254341592afeb0eb1bf1307b19b332e6279f
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2023-10-10 (Tue, 10 Oct 2023)

  Changed paths:
    M libcxx/include/CMakeLists.txt
    M libcxx/include/__std_clang_module
    M libcxx/include/climits
    R libcxx/include/limits.h
    M libcxx/include/module.modulemap.in
    M libcxx/test/std/depr/depr.c.headers/limits_h.compile.pass.cpp
    M libcxx/utils/data/ignore_format.txt

  Log Message:
  -----------
  [libc++] Remove libc++'s own <limits.h> (#65472)

We do not define anything beyond the C Library's limits.h, so it
shouldn't be needed. This removes the need for a GCC-specific
workaround, see [1].

[1]: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107795

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




More information about the All-commits mailing list