[all-commits] [llvm/llvm-project] 648981: [libc] Build with -Wdeprecated, fix some warnings ...

Roland McGrath via All-commits all-commits at lists.llvm.org
Sat Feb 1 18:22:39 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 648981f913431749c4656268ed670677a88511f6
      https://github.com/llvm/llvm-project/commit/648981f913431749c4656268ed670677a88511f6
  Author: Roland McGrath <mcgrathr at google.com>
  Date:   2025-02-01 (Sat, 01 Feb 2025)

  Changed paths:
    M libc/cmake/modules/LLVMLibCCompileOptionRules.cmake
    M libc/src/__support/CPP/span.h
    M libc/test/src/setjmp/CMakeLists.txt
    M libc/test/src/setjmp/setjmp_test.cpp

  Log Message:
  -----------
  [libc] Build with -Wdeprecated, fix some warnings (#125373)

While GCC's -Wdeprecated is on by default and doesn't do much,
Clang's -Wdeprecated enables many more things.  More apply in
C++20, so switch a test file that tickled one to using that.  In
future, C++20 should probably be made the baseline for compiling
all the libc code.



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