[Lldb-commits] [PATCH] D153918: [lldb][NFCI] Deprecate SBValue::GetOpaqueType

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


bulbazord added inline comments.


================
Comment at: lldb/include/lldb/API/SBValue.h:286
 
+  LLDB_DEPRECATED("SBValue::GetOpaqueType() is deprecated. Do not use.", "")
   void *GetOpaqueType();
----------------
mib wrote:
> JDevlieghere wrote:
> > Similar comment as in D153900: The "Do not use." part is redundant and implied by the deprecation. 
> Should we add a macro like for `LLDB_INVALID_*` to act as the `FIX` argument ? It feels wrong to pass an empty string.
Yeah, I think it would be useful to distinguish between deprecations for "we have a better way to do this now" and "we probably shouldn't be exposing this method". I'll submit a separate change for that.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D153918



More information about the lldb-commits mailing list