[Lldb-commits] [PATCH] D67378: [Utility] Replace Cleanup by llvm::scope_exit

Jonas Devlieghere via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Sep 9 16:20:19 PDT 2019


JDevlieghere created this revision.
JDevlieghere added reviewers: vsk, davide, teemperor, labath.
JDevlieghere added a project: LLDB.
Herald added subscribers: abidh, mgorny, emaste.
JDevlieghere updated this revision to Diff 219449.

This removes the CleanUp class and replaces its usages with llvm's ScopeExit which has similar semantics.


https://reviews.llvm.org/D67378

Files:
  lldb/include/lldb/Utility/CleanUp.h
  lldb/source/Host/macosx/objcxx/Host.mm
  lldb/source/Plugins/Platform/POSIX/PlatformPOSIX.cpp
  lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
  lldb/source/Symbol/LocateSymbolFileMacOSX.cpp
  lldb/tools/lldb-test/lldb-test.cpp
  lldb/unittests/Utility/CMakeLists.txt
  lldb/unittests/Utility/CleanUpTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67378.219449.patch
Type: text/x-patch
Size: 11559 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20190909/8503d9be/attachment-0001.bin>


More information about the lldb-commits mailing list