[all-commits] [llvm/llvm-project] 63eb40: [libc++] Deprecate and remove meaningless `<cxxx>`...

A. Jiang via All-commits all-commits at lists.llvm.org
Tue Oct 29 18:49:47 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 63eb40eeb1b7aac57a181f6b5f9170ea94cef738
      https://github.com/llvm/llvm-project/commit/63eb40eeb1b7aac57a181f6b5f9170ea94cef738
  Author: A. Jiang <de34 at live.cn>
  Date:   2024-10-30 (Wed, 30 Oct 2024)

  Changed paths:
    M libcxx/docs/ReleaseNotes/20.rst
    M libcxx/docs/Status/Cxx20Papers.csv
    M libcxx/include/CMakeLists.txt
    M libcxx/include/ccomplex
    M libcxx/include/ciso646
    M libcxx/include/complex.h
    A libcxx/include/cstdalign
    M libcxx/include/cstdbool
    M libcxx/include/ctgmath
    M libcxx/include/module.modulemap
    M libcxx/include/tgmath.h
    M libcxx/test/libcxx/clang_modules_include.gen.py
    M libcxx/test/libcxx/double_include.gen.py
    M libcxx/test/libcxx/header_inclusions.gen.py
    M libcxx/test/libcxx/include_as_c.sh.cpp
    M libcxx/test/libcxx/libcpp_version.gen.py
    M libcxx/test/libcxx/no_assert_include.gen.py
    M libcxx/test/libcxx/system_reserved_names.gen.py
    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
    M libcxx/test/std/depr/depr.c.headers/ciso646.compile.pass.cpp
    A libcxx/test/std/depr/depr.c.headers/stdalign_h.compile.pass.cpp
    A libcxx/test/std/depr/depr.cpp.headers/ccomplex.verify.cpp
    A libcxx/test/std/depr/depr.cpp.headers/ciso646.verify.cpp
    A libcxx/test/std/depr/depr.cpp.headers/cstdalign.verify.cpp
    A libcxx/test/std/depr/depr.cpp.headers/cstdbool.verify.cpp
    A libcxx/test/std/depr/depr.cpp.headers/ctgmath.verify.cpp
    A libcxx/test/std/language.support/support.runtime/cstdalign.compile.pass.cpp
    M libcxx/test/std/language.support/support.runtime/cstdbool.pass.cpp
    M libcxx/test/std/numerics/c.math/ctgmath.pass.cpp
    M libcxx/test/std/numerics/complex.number/ccmplx/ccomplex.pass.cpp
    M libcxx/utils/libcxx/header_information.py
    M llvm/utils/gn/secondary/libcxx/include/BUILD.gn

  Log Message:
  -----------
  [libc++] Deprecate and remove meaningless `<cxxx>` headers (#111615)

This PR deprecates `<ccomplex>`, `<cstdbool>`, `<ctgmath>`, and
`<ciso646>` in C++17 and "removes" them in C++20 by special deprecation
warnings.

`<cstdalign>` is previously missing. This PR also tries to add them, and
then deprecates and "removes" `<cstdalign>`.

Papers:
- https://wg21.link/P0063R3
- https://wg21.link/P0619R4

Closes #99985.

---------

Co-authored-by: Louis Dionne <ldionne.2 at gmail.com>



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