[mlir] Use std::optional instead of None in comments (NFC)
authorKazu Hirata <kazu@google.com>
Sun, 11 Dec 2022 01:11:23 +0000 (17:11 -0800)
committerKazu Hirata <kazu@google.com>
Sun, 11 Dec 2022 01:11:23 +0000 (17:11 -0800)
commit4f81805a3f8874ad055586724c3985c190bca801
treedeb57b6d9ee06e5a5194f20a6b3a6e1b5bc9f83e
parent3eebbaf0e2de3f9a5af2f86a1c9264132c059215
[mlir] Use std::optional 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
17 files changed:
mlir/include/mlir/Analysis/Presburger/IntegerRelation.h
mlir/include/mlir/Analysis/Presburger/Simplex.h
mlir/include/mlir/Dialect/Affine/Analysis/Utils.h
mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
mlir/include/mlir/IR/OperationSupport.h
mlir/include/mlir/IR/SubElementInterfaces.h
mlir/include/mlir/Interfaces/ControlFlowInterfaces.h
mlir/include/mlir/TableGen/Attribute.h
mlir/include/mlir/TableGen/Builder.h
mlir/include/mlir/Transforms/DialectConversion.h
mlir/lib/Analysis/Presburger/IntegerRelation.cpp
mlir/lib/Bytecode/Reader/BytecodeReader.cpp
mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
mlir/lib/IR/SymbolTable.cpp
mlir/lib/TableGen/Attribute.cpp
mlir/lib/Transforms/Utils/DialectConversion.cpp
mlir/tools/mlir-tblgen/OpFormatGen.cpp