[PATCH] D109865: [NFC] `goto fail` has failed us in the past...

David Blaikie via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 21 19:52:44 PDT 2021


dblaikie added a comment.

In D109865#3014106 <https://reviews.llvm.org/D109865#3014106>, @beanz wrote:

> I was talking with @lhames the other day about building a `doWithCleanup` abstraction that could take a labmda to perform and a lambda to cleanup on failure.
>
> I was thinking I may take a stab at that this week.

Sure, would be nice - though I'd probably still argue that a 400 line lambda might be a bit unwieldy/unclear.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D109865/new/

https://reviews.llvm.org/D109865



More information about the cfe-commits mailing list