llvm-project/mlir/lib/Conversion/PDLToPDLInterp
Kazu Hirata 1a36588ec6 [mlir] 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-03 18:50:27 -08:00
..
CMakeLists.txt [mlir] (NFC) Clean up bazel and CMake target names 2022-06-13 16:24:15 +00:00
PDLToPDLInterp.cpp [mlir] Use std::nullopt instead of None (NFC) 2022-12-03 18:50:27 -08:00
Predicate.cpp [MLIR][PDL] Refactor the positions for multi-root patterns. 2022-01-04 08:03:44 +05:30
Predicate.h [mlir] Use std::nullopt instead of None (NFC) 2022-12-03 18:50:27 -08:00
PredicateTree.cpp [mlir] Use std::nullopt instead of None (NFC) 2022-12-03 18:50:27 -08:00
PredicateTree.h Adjust "end namespace" comment in MLIR to match new agree'd coding style 2021-12-08 06:05:26 +00:00
RootOrdering.cpp [MLIR][PDL] Clear up the terminology in the root ordering graph. 2021-12-22 19:10:29 +00:00
RootOrdering.h [MLIR][PDL] Clear up the terminology in the root ordering graph. 2021-12-22 19:10:29 +00:00