llvm-project/llvm/lib/CodeGen/LiveDebugValues
Kazu Hirata 998960ee1f [CodeGen] 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-02 20:36:08 -08:00
..
InstrRefBasedImpl.cpp [CodeGen] Use std::nullopt instead of None (NFC) 2022-12-02 20:36:08 -08:00
InstrRefBasedImpl.h [CodeGen] Use std::nullopt instead of None (NFC) 2022-12-02 20:36:08 -08:00
LiveDebugValues.cpp Cleanup codegen includes 2022-03-16 08:43:00 +01:00
LiveDebugValues.h Cleanup codegen includes 2022-03-16 08:43:00 +01:00
VarLocBasedImpl.cpp [CodeGen] Use std::nullopt instead of None (NFC) 2022-12-02 20:36:08 -08:00