llvm-project/mlir/lib/CAPI
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
..
Conversion [mlir] Overhaul C/Python registration APIs to properly scope registration/loading activities. 2022-07-16 17:27:50 -07:00
Debug [mlir] Add MLIR-C dylib. 2021-11-11 22:58:13 -08:00
Dialect [mlir][sparse] Use the runtime DimLevelType instead of a separate tablegen enum 2022-10-18 13:45:26 -07:00
ExecutionEngine [mlir] Fix and test python bindings for dump_to_object_file 2022-10-20 15:53:16 +02:00
IR [mlir] Use std::nullopt instead of None (NFC) 2022-12-03 18:50:27 -08:00
Interfaces Remove redundant initialization of Optional (NFC) 2022-08-20 21:18:28 -07:00
RegisterEverything [mlir] Overhaul C/Python registration APIs to properly scope registration/loading activities. 2022-07-16 17:27:50 -07:00
Transforms [mlir] Add MLIR-C dylib. 2021-11-11 22:58:13 -08:00
CMakeLists.txt [MLIR] Fix checks for native arch 2022-08-04 11:10:08 +02:00