llvm-project/mlir/lib/CAPI/IR
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
..
AffineExpr.cpp [mlir][python] improve usability of Python affine construct bindings 2021-11-03 10:48:01 +01:00
AffineMap.cpp [mlir][linalg][python] Add attribute support to the OpDSL. 2021-06-24 09:40:32 +00:00
BuiltinAttributes.cpp [mlir] Add Python bindings for StridedLayoutAttr 2022-09-29 11:03:30 +00:00
BuiltinTypes.cpp Merge kDynamicSize and kDynamicSentinel into one constant. 2022-11-21 13:01:26 +00:00
CMakeLists.txt Plumb write_bytecode to the Python API 2022-09-05 12:02:06 +00:00
Diagnostics.cpp [mlir] Move diagnostic handlers instead of copying 2022-05-21 13:25:24 +02:00
DialectHandle.cpp [mlir][capi] Add DialectRegistry to MLIR C-API 2022-02-01 13:42:06 -07:00
IR.cpp [mlir][AsmPrinter] Allow explicitly disabling debug info 2022-11-18 02:09:57 -08:00
IntegerSet.cpp
Pass.cpp [mlir] Use std::nullopt instead of None (NFC) 2022-12-03 18:50:27 -08:00
Support.cpp [mlir][capi] Add external pass creation to MLIR C-API 2022-04-04 10:27:11 -06:00