llvm-project/flang/lib/Optimizer/Dialect
Kazu Hirata 9a41739565 [flang] 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 12:14:21 -08:00
..
CMakeLists.txt [flang] Introduce FortranVariableOpInterface for ops creating variable 2022-10-19 08:56:47 +02:00
FIRAttr.cpp [flang] Add an enum attribute to carry Fortran attributes 2022-10-17 15:42:42 +02:00
FIRDialect.cpp [flang] Remove 'using namespace mlir;` from header files 2022-03-09 10:19:51 +00:00
FIROps.cpp [flang] Use std::nullopt instead of None (NFC) 2022-12-03 12:14:21 -08:00
FIRType.cpp [flang] Avoid verifier error when emboxing trivial type to unlimited polymorphic entity 2022-12-01 14:27:30 +01:00
FortranVariableInterface.cpp [flang] Add hlfir.declare operation 2022-11-14 10:27:12 +01:00
Inliner.cpp [flang][NFC] Move current inliner files in Dialect directory 2022-01-20 13:34:44 +01:00