[Lldb-commits] [PATCH] D43662: [Utility] Simplify and generalize the CleanUp helper, NFC
Vedant Kumar via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Thu Feb 22 17:29:27 PST 2018
vsk created this revision.
vsk added reviewers: zturner, labath, davide, JDevlieghere.
Removing the template arguments and most of the mutating methods from
CleanUp makes it easier to understand and reuse.
In its present state, CleanUp would be too cumbersome to adapt to cases
where multiple objects need to be released. Take for example this change
This change is simple to express with the new CleanUp, but not so simple
with the old version.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 18851 bytes
Desc: not available
More information about the lldb-commits