[all-commits] [llvm/llvm-project] 4897fc: [lldb] Narrow scope of -Wno-deprecated-declaration...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Thu Oct 17 08:23:19 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4897fc44a918b8da886d48082b6cf004cf3ffe0b
      https://github.com/llvm/llvm-project/commit/4897fc44a918b8da886d48082b6cf004cf3ffe0b
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2024-10-17 (Thu, 17 Oct 2024)

  Changed paths:
    M lldb/cmake/modules/LLDBConfig.cmake
    M lldb/source/Host/macosx/objcxx/CMakeLists.txt

  Log Message:
  -----------
  [lldb] Narrow scope of -Wno-deprecated-declarations (NFC) (#112276)

Currently all of LLDB is being compiled with
-Wno-deprecated-declarations. That's not desirable, especially as part
of the LLVM monorepo, as we miss deprecation warnings from LLVM and
clang.

According to the git history, this was first introduced to suppress
warnings related to auto_ptr. Since then, other things have been
deprecated and gone unnoticed. This patch limits the flag to Host.mm
which uses a handful of LSApplication headers that have no replacement.

rdar://112040718



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