llvm-project/llvm/lib/CodeGen/MIRParser
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
..
CMakeLists.txt
MILexer.cpp [CodeGen] Use std::nullopt instead of None (NFC) 2022-12-02 20:36:08 -08:00
MILexer.h [MIR] Support printing and parsing pcsections 2022-09-14 10:30:25 +02:00
MIParser.cpp [CodeGen] Use std::nullopt instead of None (NFC) 2022-12-02 20:36:08 -08:00
MIRParser.cpp [CodeGen] Use std::nullopt instead of None (NFC) 2022-12-02 20:36:08 -08:00