Author: Alex Langford Date: 2023-07-05T08:52:32-07:00 New Revision: 20f99278dbb81e880c23c65688e9752ce7ad019a
URL: https://github.com/llvm/llvm-project/commit/20f99278dbb81e880c23c65688e9752ce7ad019a DIFF: https://github.com/llvm/llvm-project/commit/20f99278dbb81e880c23c65688e9752ce7ad019a.diff LOG: [lldb][NFCI] Deprecate SBValue::GetOpaqueType This method, as far as I can ascertain, is non-trivial to actually use to work with (if not impossible). It doesn't make sense to use from Python and you do not have access to the accompanying TypeSystem, so it doesn't really do anything useful. A possible follow-up is to gut the implementation and have it return `nullptr`. Differential Revision: https://reviews.llvm.org/D153918 Added: Modified: lldb/include/lldb/API/SBValue.h Removed: ################################################################################ diff --git a/lldb/include/lldb/API/SBValue.h b/lldb/include/lldb/API/SBValue.h index e288dbf4c298ae..b66c2d5642b6f9 100644 --- a/lldb/include/lldb/API/SBValue.h +++ b/lldb/include/lldb/API/SBValue.h @@ -283,6 +283,7 @@ class LLDB_API SBValue { uint32_t GetNumChildren(uint32_t max); + LLDB_DEPRECATED("SBValue::GetOpaqueType() is deprecated.") void *GetOpaqueType(); lldb::SBTarget GetTarget(); _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits