[mlir] Replace None with std::nullopt in comments (NFC)
authorKazu Hirata <kazu@google.com>
Tue, 9 May 2023 03:23:31 +0000 (20:23 -0700)
committerKazu Hirata <kazu@google.com>
Tue, 9 May 2023 03:23:31 +0000 (20:23 -0700)
commitf09b0e35b6d8f19385f37b213b029a7ca9cb6368
treef8a8a4979ac12c6a2922b9b1090b9abf3cc6a11f
parent52e4f9e386ac1bf0e515a50a871231b89d3e28fc
[mlir] Replace None with std::nullopt 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
mlir/include/mlir/Analysis/DataFlow/DeadCodeAnalysis.h
mlir/include/mlir/IR/OpImplementation.h
mlir/include/mlir/Tools/PDLL/AST/Nodes.h
mlir/lib/Analysis/DataFlow/DeadCodeAnalysis.cpp
mlir/lib/Dialect/Affine/IR/AffineOps.cpp
mlir/lib/Dialect/Utils/ReshapeOpsUtils.cpp
mlir/test/lib/Analysis/DataFlow/TestDenseDataFlowAnalysis.cpp