llvm-project/flang/lib/Optimizer/CodeGen
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
..
BoxedProcedure.cpp [MLIR] Update pass declarations to new autogenerated files 2022-08-31 12:28:45 +02:00
CGOps.cpp [flang] Accept BaseBoxType in couple of fir.array_* operations 2022-11-21 16:54:47 +01:00
CGOps.h [flang] Remove 'using namespace mlir;` from header files 2022-03-09 10:19:51 +00:00
CMakeLists.txt [Flang] Add MLIRComplexToLLVM, MLIRComplexToStandard in link libs 2022-10-26 17:21:22 +00:00
CodeGen.cpp [flang] Use std::nullopt instead of None (NFC) 2022-12-03 12:14:21 -08:00
DescriptorModel.h [fir] Add fir.extract_value and fir.insert_value conversion 2021-11-07 21:59:01 +01:00
PassDetail.h
PreCGRewrite.cpp [flang] Use std::nullopt instead of None (NFC) 2022-12-03 12:14:21 -08:00
Target.cpp Revert "[flang] Use proper attributes for runtime calls with 'i1' arguments/returns." 2022-12-01 10:32:33 -08:00
Target.h Revert "[flang] Use proper attributes for runtime calls with 'i1' arguments/returns." 2022-12-01 10:32:33 -08:00
TargetRewrite.cpp Revert "[flang] Use proper attributes for runtime calls with 'i1' arguments/returns." 2022-12-01 10:32:33 -08:00
TypeConverter.h [flang] Use std::nullopt instead of None (NFC) 2022-12-03 12:14:21 -08:00