This is an archive of the discontinued LLVM Phabricator instance.

Simplify SBCommandReturnObject
ClosedPublic

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

Details

Summary

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).

Diff Detail

Repository
rL LLVM

Event Timeline

jankratochvil created this revision.Sep 26 2019, 6:01 AM
labath accepted this revision.Sep 26 2019, 6:21 AM

cool

This revision is now accepted and ready to land.Sep 26 2019, 6:21 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptSep 26 2019, 6:32 AM