HomePhabricator

[lldb] Code cleanup: Simplify SBCommandReturnObject

Description

[lldb] Code cleanup: Simplify SBCommandReturnObject

A simplification for D67589. m_opaque_up can never be nullptr (unless one calls
a ctor with nullptr or one uses SetLLDBObjectPtr with nullptr).

Also protected SetLLDBObjectPtr is not used anywhere (I haven't found it would
ever be used).

Differential revision: https://reviews.llvm.org/D68083

Details

Committed
jankratochvilSep 26 2019, 6:31 AM
Differential Revision
D68083: Simplify SBCommandReturnObject
Branches
Unknown
Tags
Unknown