[all-commits] [llvm/llvm-project] 20f992: [lldb][NFCI] Deprecate SBValue::GetOpaqueType

Alex via All-commits all-commits at lists.llvm.org
Wed Jul 5 08:54:04 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 20f99278dbb81e880c23c65688e9752ce7ad019a
  Author: Alex Langford <alangford at apple.com>
  Date:   2023-07-05 (Wed, 05 Jul 2023)

  Changed paths:
    M lldb/include/lldb/API/SBValue.h

  Log Message:
  [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

More information about the All-commits mailing list