This removes the CleanUp class and replaces its usages with llvm's ScopeExit which has similar semantics.
|901–902 ↗||(On Diff #219449)|
This seems an undesirable cleanup. Now it is going to be hard to just put a breakpoint on the cleanup code, which seems worth the one extra line (and not related to replacing CleanUp with scope_exit. Ditto the one on 826. Is clang-format doing this for you?