[Lldb-commits] [lldb] [lldb] Disable warning about codecvt_utf8 deprecation (NFC) (PR #112446)

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Wed Oct 16 01:06:31 PDT 2024


================
@@ -57,6 +57,26 @@
 
 #include "llvm/ADT/FunctionExtras.h"
 
+#if defined(__clang__) && defined(__has_warning)
+#if __has_warning("-Wimplicit-fallthrough")
+#define EL_DISABLE_DEPRECATED_DECLARATION_WARNINGS                             \
----------------
labath wrote:

Since these are still our (lldb) macro, they should use the LLDB prefix
E.g. LLDB_EDITLINE_DISABLE_DEPRECATED_DECLARATION_WARNINGS (or something shorter)

https://github.com/llvm/llvm-project/pull/112446


More information about the lldb-commits mailing list