[mlir] Use std::nullopt instead of None in comments (NFC)

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
This commit is contained in:
Kazu Hirata
2022-12-04 19:58:32 -08:00
parent 595f1a6aaf
commit 192d9dd731
41 changed files with 112 additions and 105 deletions

View File

@@ -451,7 +451,8 @@ struct BytecodeOperationName {
BytecodeOperationName(BytecodeDialect *dialect, StringRef name)
: dialect(dialect), name(name) {}
/// The loaded operation name, or None if it hasn't been processed yet.
/// The loaded operation name, or std::nullopt if it hasn't been processed
/// yet.
Optional<OperationName> opName;
/// The dialect that owns this operation name.