llvm-project/llvm/lib/CodeGen/MIRParser
Kazu Hirata 34bcadc38c Use std::nullopt_t instead of NoneType (NFC)
This patch replaces those occurrences of NoneType that would trigger
an error if the definition of NoneType were missing in None.h.

To keep this patch focused, I am deliberately not replacing None with
std::nullopt in this patch or updating comments.  They will be
addressed in subsequent patches.

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

Differential Revision: https://reviews.llvm.org/D138539
2022-11-23 14:16:04 -08:00
..
CMakeLists.txt
MILexer.cpp Use std::nullopt_t instead of NoneType (NFC) 2022-11-23 14:16:04 -08:00
MILexer.h [MIR] Support printing and parsing pcsections 2022-09-14 10:30:25 +02:00
MIParser.cpp [MIR] Support printing and parsing pcsections 2022-09-14 10:30:25 +02:00
MIRParser.cpp [CodeGen] Qualify auto variables in for loops (NFC) 2022-07-17 01:33:28 -07:00