llvm-project/lldb/source/Host
Neal (nealsid) 5826aa48f0 Migrate to llvm::unique_function instead of static member functions for callbacks
A few cleanups suggested in another patch review's comments:

1. Use llvm:unique_function for storing & invoking callbacks from
   Editline to IOHandler
2. Change return type of one of the callback setters from bool to void,
   since it's return value was never used
3. Moved the callback setters inline & made them nonstatic, since that's
   more consistent with other setter definitions
4. Removed the baton parameter since we no longer need it anymore

Differential revision: https://reviews.llvm.org/D50299
2021-03-02 16:13:54 -08:00
..
android [lldb][NFC] Fix all formatting errors in .cpp file headers 2020-01-24 08:52:55 +01:00
common Migrate to llvm::unique_function instead of static member functions for callbacks 2021-03-02 16:13:54 -08:00
freebsd [lldb] [Host/freebsd] Set Arg0 for 'platform process list -v' 2020-11-09 12:09:12 +01:00
linux [lldb] Fix shared library directory computation on windows 2021-02-18 15:37:52 +01:00
macosx [lldb] Add scoped timer to HostInfoMacOSX::GetXcodeSDKPath 2021-03-01 14:57:42 -08:00
netbsd [lldb] [Host/{free,net}bsd] Fix process matching by name 2020-11-03 09:45:50 +01:00
openbsd [lldb/Reproducers] Intercept the FindProcesses API 2020-03-13 09:31:35 -07:00
posix [lldb] Remove some nanosleep preprocessor magic 2021-02-16 21:07:57 +01:00
windows [lldb] Fix shared library directory computation on windows 2021-02-18 15:37:52 +01:00
CMakeLists.txt Build a flat LLDB.framework for embedded Darwin targets 2020-08-12 13:34:29 -07:00