llvm-project/mlir/unittests/IR
Kazu Hirata 3a77eb6698 [mlir/unittests] 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 19:07:59 -08:00
..
AttributeTest.cpp [mlir] Fix DenseElementsAttr treatment of bool splat of "true" 2022-09-13 11:39:20 -07:00
BlockAndValueMapping.cpp [mlir] Fix asan leak in BlockAndValueMapping test 2022-09-09 15:09:57 -07:00
CMakeLists.txt [MLIR] Improve interaction of TypedValue with BlockAndValueMapping 2022-09-09 08:55:05 -07:00
DialectTest.cpp [mlir] Rework the implementation of TypeID 2022-04-04 13:52:26 -07:00
InterfaceAttachmentTest.cpp [mlir] Refactor DialectRegistry delayed interface support into a general DialectExtension mechanism 2022-03-16 22:15:25 -07:00
InterfaceTest.cpp [mlir] Define proper DenseMapInfo for Interfaces 2022-07-06 12:27:44 +02:00
OperationSupportTest.cpp [mlir/unittests] Use std::nullopt instead of None (NFC) 2022-12-03 19:07:59 -08:00
PatternMatchTest.cpp [mlir][ir] OpRewritePattern should accept generatedNames 2021-12-10 19:35:05 +00:00
ShapedTypeTest.cpp [mlir] Refactor ShapedType into an interface 2022-01-12 14:12:09 -08:00
SubElementInterfaceTest.cpp [mlir] Infer SubElementInterface implementations using the storage KeyTy 2022-11-04 18:15:03 -07:00
TypeTest.cpp Apply clang-tidy fixes for llvm-include-order in TypeTest.cpp (NFC) 2022-09-15 13:23:35 +00:00