llvm-project/mlir/lib/Support
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] Rework the implementation of TypeID 2022-04-04 13:52:26 -07:00
DebugCounter.cpp [mlir] Use C++17 structured bindings instead of std::tie where applicable. NFCI 2022-08-09 13:34:17 +02:00
FileUtilities.cpp [mlir] Use std::nullopt instead of None (NFC) 2022-12-03 18:50:27 -08:00
IndentedOstream.cpp [mlir] Generate C++ doc comments for interfaces 2022-08-10 15:12:29 +02:00
InterfaceSupport.cpp [mlir] Move InterfaceMap::InterfaceMap to the cpp file 2022-03-17 20:14:24 +01:00
StorageUniquer.cpp Fix more clang-tidy cleanups in mlir/ (NFC) 2021-12-22 20:53:11 +00:00
Timing.cpp [mlir] Use std::nullopt instead of None (NFC) 2022-12-03 18:50:27 -08:00
ToolUtilities.cpp [mlir] Add `enableSplitting` and `insertMarkerInOutput` options to `splitAndProcessBuffer` 2022-06-28 15:42:35 -07:00
TypeID.cpp [mlir] Fix the error message for missing explicit TypeID 2022-05-18 21:08:09 +00:00