[all-commits] [llvm/llvm-project] 47218e: [lldb] Use -Wno-documentation-deprecated-sync if a...
Kazu Hirata via All-commits
all-commits at lists.llvm.org
Wed May 7 11:14:49 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 47218eadd8adf1926ced879caa50b8885d1b070d
https://github.com/llvm/llvm-project/commit/47218eadd8adf1926ced879caa50b8885d1b070d
Author: Kazu Hirata <kazu at google.com>
Date: 2025-05-07 (Wed, 07 May 2025)
Changed paths:
M lldb/unittests/API/CMakeLists.txt
Log Message:
-----------
[lldb] Use -Wno-documentation-deprecated-sync if available (#138909)
report_fatal_error has been marked "@deprecated" in its comment, but
the function itself is not marked with [[deprecated]] yet. This
causes warnings like:
llvm/include/llvm/Support/ErrorHandling.h:61:6: error: declaration
is marked with '@deprecated' command but does not have a deprecation
attribute [-Werror,-Wdocumentation-deprecated-sync]
llvm/include/llvm/Support/Error.h:738:6: error: declaration is
marked with '@deprecated' command but does not have a deprecation
attribute [-Werror,-Wdocumentation-deprecated-sync]
This patch disables the warning while we migrate away from
report_fatal_error.
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