This removes the CleanUp class and replaces its usages with llvm's ScopeExit which has similar semantics.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
lldb/source/Plugins/Platform/POSIX/PlatformPOSIX.cpp | ||
---|---|---|
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? |
Comment Actions
This pattern repeated a couple of times north or the one you fixed. Can you get those too?
Comment Actions
Thanks, I missed those. I believe I covered all the cases that were multi-line originally.