llvm-project/lldb/source/Core
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
..
Address.cpp [lldb] LLVM_FALLTHROUGH => [[fallthrough]]. NFC 2022-08-08 11:31:49 -07:00
AddressRange.cpp [lldb] LLVM_FALLTHROUGH => [[fallthrough]]. NFC 2022-08-08 11:31:49 -07:00
AddressResolver.cpp [lldb] Replace default bodies of special member functions with = default; 2021-07-02 11:31:16 -07:00
AddressResolverFileLine.cpp [lldb] Use value_or instead of getValueOr (NFC) 2022-06-19 09:12:01 -07:00
CMakeLists.txt [lldb] [Core] Split read thread support into ThreadedCommunication 2022-09-06 13:09:42 +02:00
Communication.cpp [lldb] [Core] Split read thread support into ThreadedCommunication 2022-09-06 13:09:42 +02:00
CoreProperties.td [lldb] Introduce dwim-print command 2022-11-29 12:46:20 -08:00
DataFileCache.cpp Reland "[LTO][COFF] Use bitcode file names in lto native object file names." 2022-11-22 13:46:42 -08:00
Debugger.cpp [lldb] Use std::nullopt instead of None (NFC) 2022-12-04 16:51:25 -08:00
DebuggerEvents.cpp [lldb] Emit diagnostic events in the diagnostic dump 2022-10-31 14:40:41 -07:00
Declaration.cpp
Disassembler.cpp [lldb] Silence a GCC warning about missing returns after a fully covered switch. NFC. 2022-08-02 10:57:33 +03:00
DumpDataExtractor.cpp [lldb] Use std::nullopt instead of None (NFC) 2022-12-04 16:51:25 -08:00
DumpRegisterValue.cpp [lldb] Always use APFloat for FP dumping 2022-07-27 14:30:35 +02:00
DynamicLoader.cpp Add mach-o corefile support for platform binaries 2022-09-13 15:46:18 -07:00
EmulateInstruction.cpp [LLDB] Change EmulateInstriction::ReadRegister to return Optional 2022-10-12 08:37:36 +00:00
FileLineResolver.cpp [lldb] Replace default bodies of special member functions with = default; 2021-07-02 11:31:16 -07:00
FileSpecList.cpp Implement better path matching in FileSpecList::FindCompatibleIndex(...). 2022-08-08 15:20:38 -07:00
FormatEntity.cpp [lldb][FormatEntity][NFC] Move function argument parsing code into separate functions 2022-10-31 12:25:18 +00:00
Highlighter.cpp
IOHandler.cpp [lldb] Use std::nullopt instead of None (NFC) 2022-12-04 16:51:25 -08:00
IOHandlerCursesGUI.cpp [lldb] Fixed a number of typos 2022-09-13 10:38:38 -07:00
Mangled.cpp [demangler] Rust demangler buffer return 2022-04-13 08:50:04 -07:00
Module.cpp [lldb] Use std::nullopt instead of None (NFC) 2022-12-04 16:51:25 -08:00
ModuleChild.cpp [lldb] Replace default bodies of special member functions with = default; 2021-07-02 11:31:16 -07:00
ModuleList.cpp [lldb][Module][NFC] Add ModuleList::AnyOf 2022-12-02 10:52:40 +00:00
Opcode.cpp
PluginManager.cpp [trace][intel pt] Simple detection of infinite decoding loops 2022-10-25 10:20:49 -07:00
Progress.cpp
RichManglingContext.cpp [lldb] Use Any::has_value instead of ANy::hasValue (NFC) 2022-08-20 07:28:06 -07:00
SearchFilter.cpp
Section.cpp [lldb] Fix modernize-use-equals-default warnings (NFC) 2022-06-17 15:08:02 -07:00
SourceLocationSpec.cpp [lldb] Use std::nullopt instead of None (NFC) 2022-12-04 16:51:25 -08:00
SourceManager.cpp Check that a FileSpec has a Directory component before using 2022-05-26 11:12:37 -07:00
StreamAsynchronousIO.cpp [lldb] Print diagnostic prefixes (error, warning) in color 2022-04-12 20:28:29 -07:00
StreamFile.cpp [lldb] Rename Logging.h to LLDBLog.h and clean up includes 2022-02-03 14:47:01 +01:00
ThreadedCommunication.cpp [lldb] Use std::nullopt instead of None (NFC) 2022-12-04 16:51:25 -08:00
UserSettingsController.cpp Add SBDebugger::GetSetting() public APIs 2022-09-11 20:50:03 -07:00
Value.cpp [lldb] Use =default in the ValueList class 2022-03-30 09:12:59 +02:00
ValueObject.cpp Add the ability to see when a type in incomplete. 2022-11-23 10:07:12 -08:00
ValueObjectCast.cpp [lldb] Replace default bodies of special member functions with = default; 2021-07-02 11:31:16 -07:00
ValueObjectChild.cpp Use value instead of getValue (NFC) 2022-07-15 20:03:13 -07:00
ValueObjectConstResult.cpp [lldb] Replace default bodies of special member functions with = default; 2021-07-02 11:31:16 -07:00
ValueObjectConstResultCast.cpp [lldb] Replace default bodies of special member functions with = default; 2021-07-02 11:31:16 -07:00
ValueObjectConstResultChild.cpp [lldb] Replace default bodies of special member functions with = default; 2021-07-02 11:31:16 -07:00
ValueObjectConstResultImpl.cpp Remove unused variable. 2021-11-18 15:58:20 -08:00
ValueObjectDynamicValue.cpp [lldb] Change back LLDBLog::Commands->Types in a couple more places 2022-03-16 15:46:17 +01:00
ValueObjectList.cpp
ValueObjectMemory.cpp Make CompilerType safe 2022-11-16 15:51:26 -08:00
ValueObjectRegister.cpp Make CompilerType safe 2022-11-16 15:51:26 -08:00
ValueObjectSyntheticFilter.cpp [lldb] Rename Logging.h to LLDBLog.h and clean up includes 2022-02-03 14:47:01 +01:00
ValueObjectUpdater.cpp
ValueObjectVariable.cpp [LLDB] Pass const RegisterInfo& to RegisterValue::SetValueFromData 2022-10-12 08:19:30 +00:00