llvm-project/mlir/test/lib/Dialect/Test
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 Revert "Revert "[mlir][linalg] Replace "string" iterator_types attr with enums in LinalgInterface."" 2022-11-11 10:54:08 +01:00
TestAttrDefs.td [MLIR] Add FieldParser implementation for Optional<> integer types. 2022-11-18 21:22:27 -06:00
TestAttributes.cpp [mlir] Use std::nullopt instead of None (NFC) 2022-12-03 18:50:27 -08:00
TestAttributes.h Revert "Revert "[mlir][linalg] Replace "string" iterator_types attr with enums in LinalgInterface."" 2022-11-11 10:54:08 +01:00
TestDialect.cpp [mlir] Use std::nullopt instead of None (NFC) 2022-12-03 18:50:27 -08:00
TestDialect.h [MLIR] Add mlir::TypedValue 2022-08-28 20:26:37 -07:00
TestDialect.td [mlir] Flip default value of emitAccessorPrefix to kEmitAccessorPrefix_Prefixed 2022-09-06 15:56:57 -07:00
TestEnumDefs.td Revert "Revert "[mlir][linalg] Replace "string" iterator_types attr with enums in LinalgInterface."" 2022-11-11 10:54:08 +01:00
TestInterfaces.cpp
TestInterfaces.h
TestInterfaces.td [MLIR] Move TestDialect to ::test namespace 2021-08-14 13:24:41 -07:00
TestOps.td Revert "Revert "[MLIR] Introduce constraint attributes for DenseArrayAttr"" 2022-12-02 15:00:46 +01:00
TestPatterns.cpp [mlir] Use std::nullopt instead of None (NFC) 2022-12-03 18:50:27 -08:00
TestTraits.cpp [mlir:NFC] Remove the forward declaration of FuncOp in the mlir namespace 2022-04-18 12:01:55 -07:00
TestTraits.h [mlir] Allows to query traits from types and attributes 2021-09-13 06:26:45 +00:00
TestTypeDefs.td [mlir][ods] Generalize default/optional parameters 2022-09-20 11:07:53 -07:00
TestTypes.cpp Use value instead of getValue (NFC) 2022-08-06 11:21:39 -07:00
TestTypes.h [mlir] Remove redundant member initialization (NFC) 2022-08-14 12:51:59 -07:00
lit.local.cfg