llvm-project/lldb/source/Symbol
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
..
ArmUnwindInfo.cpp Use llvm::upper_bound (NFC) 2022-09-03 11:17:39 -07:00
Block.cpp [lldb] Rename Logging.h to LLDBLog.h and clean up includes 2022-02-03 14:47:01 +01:00
CMakeLists.txt [lldb] Teach LLDB about Mach-O filesets 2022-08-25 15:24:51 -07:00
CompactUnwindInfo.cpp Use llvm::lower_bound (NFC) 2022-09-03 11:17:37 -07:00
CompileUnit.cpp [lldb] Use std::nullopt instead of None (NFC) 2022-12-04 16:51:25 -08:00
CompilerDecl.cpp
CompilerDeclContext.cpp
CompilerType.cpp [lldb] Use std::nullopt instead of None (NFC) 2022-12-04 16:51:25 -08:00
DWARFCallFrameInfo.cpp [lldb] Use std::nullopt instead of None (NFC) 2022-12-04 16:51:25 -08:00
DebugMacros.cpp
DeclVendor.cpp [lldb][NFC] Remove outdated FIXME 2021-09-20 11:44:20 -07:00
FuncUnwinders.cpp [lldb] Replace default bodies of special member functions with = default; 2021-07-02 11:31:16 -07:00
Function.cpp [lldb] Use std::nullopt instead of None (NFC) 2022-12-04 16:51:25 -08:00
LineEntry.cpp Change PathMappingList::FindFile to return an optional result (NFC) 2021-06-29 15:10:46 -07:00
LineTable.cpp [lldb] Replace default bodies of special member functions with = default; 2021-07-02 11:31:16 -07:00
LocateSymbolFile.cpp [lldb] Remove LLDB reproducers 2022-09-19 14:43:31 -07:00
LocateSymbolFileMacOSX.cpp [lldb] Fix a -Wdeprecated-declarations warning 2022-10-26 13:34:56 -04:00
ObjectContainer.cpp [lldb] Teach LLDB about Mach-O filesets 2022-08-25 15:24:51 -07:00
ObjectFile.cpp [lldb] Change CreateMemoryInstance to take a WritableDataBuffer 2022-04-05 13:46:41 -07:00
PostfixExpression.cpp [lldb] Use std::nullopt instead of None (NFC) 2022-12-04 16:51:25 -08:00
Symbol.cpp Don't create sections for SHN_ABS symbols in ELF files. 2022-08-22 14:46:27 -07:00
SymbolContext.cpp [NFC] Improve FileSpec internal APIs and usage in preparation for adding caching of resolved/absolute. 2022-07-28 13:28:26 -07:00
SymbolFile.cpp Make CompilerType safe 2022-11-16 15:51:26 -08:00
SymbolFileOnDemand.cpp [lldb] Use std::nullopt instead of None (NFC) 2022-12-04 16:51:25 -08:00
SymbolVendor.cpp [lldb] Return StringRef from PluginInterface::GetPluginName 2021-10-18 10:14:42 +02:00
Symtab.cpp [lldb] Allow SymbolTable regex search functions to match mangled name 2022-08-03 10:55:32 -07:00
Type.cpp Make CompilerType safe 2022-11-16 15:51:26 -08:00
TypeList.cpp [lldb/Symbol] Fix null-deref in TypeList::Dump 2022-08-11 22:29:06 -07:00
TypeMap.cpp Remove dead code: TypeMap::RemoveMismatchedTypes(TypeClass type_class) 2022-07-07 20:46:14 +00:00
TypeSystem.cpp [lldb] Use std::nullopt instead of None (NFC) 2022-12-04 16:51:25 -08:00
UnwindPlan.cpp [lldb] Use std::nullopt instead of None (NFC) 2022-12-04 16:51:25 -08:00
UnwindTable.cpp [lldb] Use std::nullopt instead of None (NFC) 2022-12-04 16:51:25 -08:00
Variable.cpp Add the ability to show when variables fails to be available when debug info is valid. 2022-09-12 13:59:05 -07:00
VariableList.cpp [lldb] Replace default bodies of special member functions with = default; 2021-07-02 11:31:16 -07:00