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

Med Ismail Bennani via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Jun 27 16:34:11 PDT 2023


mib 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
----------------
If we don't have a fix, we should just use the regular `[[deprecated(message)]` synthax.


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