[Lldb-commits] [PATCH] D147736: [lldb] Add an LLDB_DEPRECATED macro similar to LLVM_DEPRECATED
Alex Langford via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Thu Apr 6 14:24:16 PDT 2023
bulbazord accepted this revision.
bulbazord added inline comments.
This revision is now accepted and ready to land.
================
Comment at: lldb/include/lldb/API/SBDefines.h:33
+// supports the attribute.
+#if defined(SWIG) or _cplusplus < 201300
+#undef LLDB_DEPRECATED
----------------
nit: Use `__cplusplus < 201402L` to be more specific.
I got that value from https://en.cppreference.com/w/cpp/preprocessor/replace
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D147736/new/
https://reviews.llvm.org/D147736
More information about the lldb-commits
mailing list