llvm-project/lldb/unittests/Utility
Kazu Hirata d2a6114f27 [lldb/unittests] 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:27 -08:00
..
Inputs [lldb/Utility] Add GetDescription(Stream&) to StructureData::* 2022-11-03 14:44:53 -07:00
AnsiTerminalTest.cpp
ArchSpecTest.cpp [lldb] Remove LLDB reproducers 2022-09-19 14:43:31 -07:00
ArgsTest.cpp [lldb] Remove LLDB reproducers 2022-09-19 14:43:31 -07:00
BroadcasterTest.cpp
CMakeLists.txt [lldb/Utility] Add GetDescription(Stream&) to StructureData::* 2022-11-03 14:44:53 -07:00
CompletionRequestTest.cpp
ConstStringTest.cpp [lldb] Remove LLDB reproducers 2022-09-19 14:43:31 -07:00
DataBufferTest.cpp [lldb] Refactor DataBuffer so we can map files as read-only 2022-04-05 13:46:37 -07:00
DataEncoderTest.cpp Fix buildbots after https://reviews.llvm.org/D115073. 2021-12-07 12:19:00 -08:00
DataExtractorTest.cpp
EnvironmentTest.cpp
EventTest.cpp
FileSpecTest.cpp [lldb/unittests] Use std::nullopt instead of None (NFC) 2022-12-04 16:51:27 -08:00
FlagsTest.cpp
ListenerTest.cpp [lldb/unittests] Use std::nullopt instead of None (NFC) 2022-12-04 16:51:27 -08:00
LogTest.cpp [lldb] Actually support more than 32 logging categories 2022-09-19 22:31:20 -07:00
NameMatchesTest.cpp
OptionsWithRawTest.cpp
PredicateTest.cpp [lldb/unittests] Use std::nullopt instead of None (NFC) 2022-12-04 16:51:27 -08:00
ProcessInfoTest.cpp
ProcessInstanceInfoTest.cpp [lldb/unittests] Use std::nullopt instead of None (NFC) 2022-12-04 16:51:27 -08:00
RangeMapTest.cpp [LLDB][NativePDB] Add support for S_DEFRANGE_REGISTER and S_DEFRANGE_SUBFIELD_REGISTER 2022-03-10 12:40:31 -08:00
RangeTest.cpp
RegisterValueTest.cpp [lldb/unittests] Use std::nullopt instead of None (NFC) 2022-12-04 16:51:27 -08:00
RegularExpressionTest.cpp
ScalarTest.cpp Include <cmath> before using std::pow() 2022-09-28 17:35:35 -07:00
SharedClusterTest.cpp
StateTest.cpp
StatusTest.cpp [lldb] Use std::size instead of llvm::array_lengthof 2022-09-08 14:21:55 -06:00
StreamTeeTest.cpp
StreamTest.cpp [lldb] Don't rely on wrapping in PutRawBytes/PutBytesAsRawHex8 2022-02-15 20:38:25 -08:00
StringExtractorGDBRemoteTest.cpp [lldb/unittests] Use std::nullopt instead of None (NFC) 2022-12-04 16:51:27 -08:00
StringExtractorTest.cpp
StringLexerTest.cpp
StringListTest.cpp
StructuredDataTest.cpp [lldb/test] Fix StructuredDataTest::GetDescriptionEmpty warning (NFC) 2022-11-04 22:05:58 -07:00
SubsystemRAIITest.cpp
TildeExpressionResolverTest.cpp
TimeoutTest.cpp [lldb/unittests] Use std::nullopt instead of None (NFC) 2022-12-04 16:51:27 -08:00
TimerTest.cpp
TraceGDBRemotePacketsTest.cpp Fix TraceGDBRemotePacketsTest 2022-06-16 11:53:13 -07:00
UUIDTest.cpp Change the meaning of a UUID with all zeros for data. 2022-08-30 10:17:58 -07:00
UriParserTest.cpp [lldb/unittests] Use std::nullopt instead of None (NFC) 2022-12-04 16:51:27 -08:00
UserIDResolverTest.cpp [lldb/unittests] Use std::nullopt instead of None (NFC) 2022-12-04 16:51:27 -08:00
VASprintfTest.cpp
VMRangeTest.cpp
XcodeSDKTest.cpp