llvm-project/lldb/source/Host/common
Kazu Hirata 343523d040 [lldb] Use std::nullopt instead of None (NFC)
This patch mechanically replaces None with std::nullopt where the
compiler would warn if None were deprecated.  The intent is to reduce
the amount of manual work required in migrating from Optional to
std::optional.

This is part of an effort to migrate from llvm::Optional to
std::optional:

https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716
2022-12-04 16:51:25 -08:00
..
Editline.cpp [lldb] Use std::nullopt instead of None (NFC) 2022-12-04 16:51:25 -08:00
File.cpp [lldb] Use std::nullopt instead of None (NFC) 2022-12-04 16:51:25 -08:00
FileAction.cpp [NFC] Improve FileSpec internal APIs and usage in preparation for adding caching of resolved/absolute. 2022-07-28 13:28:26 -07:00
FileCache.cpp
FileSystem.cpp [NFC] Improve FileSpec internal APIs and usage in preparation for adding caching of resolved/absolute. 2022-07-28 13:28:26 -07:00
GetOptInc.cpp [lldb][NFC] Use C++ versions of the deprecated C standard library headers 2021-05-26 12:46:12 +02:00
Host.cpp [lldb] Remove LLDB reproducers 2022-09-19 14:43:31 -07:00
HostInfoBase.cpp [lldb] Use std::nullopt instead of None (NFC) 2022-12-04 16:51:25 -08:00
HostNativeThreadBase.cpp [LLDB] Applying clang-tidy modernize-use-default-member-init over LLDB 2022-03-14 13:32:03 -07:00
HostProcess.cpp [lldb/host] Remove monitor_signals argument from process monitoring functions 2022-02-24 11:12:59 +01:00
HostThread.cpp
LZMA.cpp
LockFileBase.cpp [lldb] Remove some anonymous namespaces 2021-10-05 08:35:18 +02:00
MainLoopBase.cpp [lldb] Enable the insertion of "pending callbacks" to MainLoops from other threads 2022-09-06 10:56:10 +02:00
MonitoringProcessLauncher.cpp [lldb/host] Remove monitor_signals argument from process monitoring functions 2022-02-24 11:12:59 +01:00
NativeProcessProtocol.cpp [lldb] Use std::nullopt instead of None (NFC) 2022-12-04 16:51:25 -08:00
NativeRegisterContext.cpp [LLDB] Change RegisterValue::SetFromMemoryData to const RegisterInfo& 2022-10-12 08:10:24 +00:00
NativeThreadProtocol.cpp
NativeWatchpointList.cpp
OptionParser.cpp
PipeBase.cpp
ProcessLaunchInfo.cpp [LLDB] Applying clang-tidy modernize-use-default-member-init over LLDB 2022-03-14 13:32:03 -07:00
ProcessRunLock.cpp [LLDB][NFC] Suppress spurious static inspection warnings 2022-08-17 16:12:42 -07:00
PseudoTerminal.cpp [lldb] Fix an unused function warning 2022-05-25 09:49:05 -07:00
Socket.cpp [lldb] Rename Logging.h to LLDBLog.h and clean up includes 2022-02-03 14:47:01 +01:00
SocketAddress.cpp [lldb] Replace default bodies of special member functions with = default; 2021-07-02 11:31:16 -07:00
TCPSocket.cpp [lldb] Use the NativeSock type instead of plain 'int' 2022-08-30 10:07:44 +03:00
Terminal.cpp [lldb] Use std::nullopt instead of None (NFC) 2022-12-04 16:51:25 -08:00
ThreadLauncher.cpp [lldb] Modernize ThreadLauncher 2022-02-23 14:25:59 +01:00
UDPSocket.cpp [lldb] Rename Logging.h to LLDBLog.h and clean up includes 2022-02-03 14:47:01 +01:00
XML.cpp [lldb] fix memory leak in "GetGDBServerRegisterInfoXMLAndProcess" 2022-01-10 14:33:09 -08:00