llvm-project/lldb/source/Plugins/Language/CPlusPlus
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
..
BlockPointer.cpp Make CompilerType safe 2022-11-16 15:51:26 -08:00
BlockPointer.h
CMakeLists.txt [lldb][DataFormatter] Add std::ranges::ref_view formatter 2022-11-30 14:39:39 +00:00
CPlusPlusLanguage.cpp [lldb][DataFormatter] Add std::ranges::ref_view formatter 2022-11-30 14:39:39 +00:00
CPlusPlusLanguage.h [lldb][CPlusPlus] Implement CPlusPlusLanguage::GetFunctionDisplayName 2022-10-31 12:25:19 +00:00
CPlusPlusNameParser.cpp [lldb] Use std::nullopt instead of None (NFC) 2022-12-04 16:51:25 -08:00
CPlusPlusNameParser.h [lldb][CPlusPlus] Introduce CPlusPlusLanguage::MethodName::GetReturnType 2022-10-31 12:25:18 +00:00
Coroutines.cpp Revert "[LLDB] Recognize `std::noop_coroutine()` in `std::coroutine_handle` pretty printer" 2022-11-25 12:32:33 -08:00
Coroutines.h Revert "[LLDB] Do not dereference promise pointer in `coroutine_handle` pretty printer" 2022-11-25 12:22:58 -08:00
CxxStringTypes.cpp [lldb] (Partially) enable formatting of utf strings before the program is started 2021-11-18 14:45:17 +01:00
CxxStringTypes.h
Generic.h Ensure newlines at the end of files (NFC) 2021-12-12 11:04:44 -08:00
GenericBitset.cpp Fix "not all control paths return a value" warning. NFC. 2022-01-23 15:14:10 +00:00
GenericOptional.cpp Unify libstdcpp and libcxx formatters for `std::optional` 2021-12-09 13:10:43 -08:00
LibCxx.cpp Make CompilerType safe 2022-11-16 15:51:26 -08:00
LibCxx.h [lldb][DataFormatter] Add std::ranges::ref_view formatter 2022-11-30 14:39:39 +00:00
LibCxxAtomic.cpp [LLDB] Applying clang-tidy modernize-use-default-member-init over LLDB 2022-03-14 13:32:03 -07:00
LibCxxAtomic.h
LibCxxInitializerList.cpp [LLDB] Applying clang-tidy modernize-use-default-member-init over LLDB 2022-03-14 13:32:03 -07:00
LibCxxList.cpp [LLDB][NFC][Reliability] Fix uninitialized variables from Coverity scan 2022-07-20 14:50:48 -07:00
LibCxxMap.cpp Make CompilerType safe 2022-11-16 15:51:26 -08:00
LibCxxQueue.cpp
LibCxxRangesRefView.cpp [lldb][DataFormatter] Add std::ranges::ref_view formatter 2022-11-30 14:39:39 +00:00
LibCxxSpan.cpp Adapt LLDB dataformatters for libcxx change D129386 2022-09-09 15:58:55 -07:00
LibCxxTuple.cpp
LibCxxUnorderedMap.cpp [lldb] Don't assume name of libc++ inline namespace in LibCxxUnorderedMap 2022-11-11 11:59:36 -08:00
LibCxxVariant.cpp [DataFormatter] Fix variant npos with `_LIBCPP_ABI_VARIANT_INDEX_TYPE_OPTIMIZATION` enabled. 2022-11-30 13:20:13 -08:00
LibCxxVariant.h Adapt LLDB dataformatters for libcxx change D129386 2022-09-09 15:58:55 -07:00
LibCxxVector.cpp [lldb] Refactor DataBuffer so we can map files as read-only 2022-04-05 13:46:37 -07:00
LibStdcpp.cpp Adapt LLDB dataformatters for libcxx change D129386 2022-09-09 15:58:55 -07:00
LibStdcpp.h Unify libstdcpp and libcxx formatters for `std::optional` 2021-12-09 13:10:43 -08:00
LibStdcppTuple.cpp
LibStdcppUniquePointer.cpp
MSVCUndecoratedNameParser.cpp [LLDB][NativePDB] Global ctor and dtor should be global decls. 2022-09-15 22:35:58 -07:00
MSVCUndecoratedNameParser.h