llvm-project/lldb/source/Host/macosx
Pavel Labath 0a39a9c2cb Modernize and simplify HostInfo::GetOSKernelDescription
Replace bool+by-ref argument with llvm::Optional, and move the common
implementation into HostInfoPOSIX. Based on my (simple) experiment,
the uname and the sysctl approach return the same value on MacOS, so
there's no need for a mac-specific implementation of this functionality.

Differential Revision: https://reviews.llvm.org/D112457
2021-10-26 11:17:02 +02:00
..
cfcpp [lldb] Replace default bodies of special member functions with = default; 2021-07-02 11:31:16 -07:00
objcxx Modernize and simplify HostInfo::GetOSKernelDescription 2021-10-26 11:17:02 +02:00