[Lldb-commits] [PATCH] D153928: [lldb] Introduce a macro to mark methods as unsupported with no replacement

Alex Langford via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Jun 27 16:35:09 PDT 2023


bulbazord added inline comments.


================
Comment at: lldb/include/lldb/lldb-defines.h:134-140
+#if defined(__clang__)
+#define LLDB_UNSUPPORTED(MSG)                                                  \
+  __attribute__((deprecated("This method is no longer supported: " MSG, "")))
+#else
+#define LLDB_UNSUPPORTED(MSG)                                                  \
+  [[deprecated("This method is no longer supported: " MSG)]]
+#endif
----------------
mib wrote:
> If we don't have a fix, we should just use the regular `[[deprecated(message)]` synthax.
Ah, good point. Will update.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D153928/new/

https://reviews.llvm.org/D153928



More information about the lldb-commits mailing list