HomePhabricator

[lldb] Code cleanup: Simplify SBCommandReturnObject

Authored by jankratochvil on Sep 26 2019, 6:31 AM.

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

llvm-svn: 372976

Details

Committed
jankratochvilSep 26 2019, 6:31 AM
Differential Revision
D68083: Simplify SBCommandReturnObject
Parents
rG6c22eda1600c: [OpenCL] Add -Wconversion to fdeclare-opencl-builtins test
Branches
Unknown
Tags
Unknown