llvm-project/flang/lib/Lower
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
..
.clang-format
.clang-tidy
Allocatable.cpp [flang] Use std::nullopt instead of None (NFC) 2022-12-03 12:14:21 -08:00
Bridge.cpp [flang] Use std::nullopt instead of None (NFC) 2022-12-03 12:14:21 -08:00
CMakeLists.txt [flang][NFC] move genCallOpAndResult into new ConvertCall.cpp file 2022-11-24 12:38:53 +01:00
CallInterface.cpp [flang] Use std::nullopt instead of None (NFC) 2022-12-03 12:14:21 -08:00
Coarray.cpp
ComponentPath.cpp
ConvertCall.cpp [flang] Use std::nullopt instead of None (NFC) 2022-12-03 12:14:21 -08:00
ConvertConstant.cpp [flang] Use std::nullopt instead of None (NFC) 2022-12-03 12:14:21 -08:00
ConvertExpr.cpp [flang] Use std::nullopt instead of None (NFC) 2022-12-03 12:14:21 -08:00
ConvertExprToHLFIR.cpp [flang] Use std::nullopt instead of None (NFC) 2022-12-03 12:14:21 -08:00
ConvertType.cpp [flang][NFC] add genType(FunctionRef<T>) entry points in lowering 2022-11-30 14:44:27 +01:00
ConvertVariable.cpp [flang] Use std::nullopt instead of None (NFC) 2022-12-03 12:14:21 -08:00
CustomIntrinsicCall.cpp
DumpEvaluateExpr.cpp
HostAssociations.cpp [flang] Use std::nullopt instead of None (NFC) 2022-12-03 12:14:21 -08:00
IO.cpp [flang] Use std::nullopt instead of None (NFC) 2022-12-03 12:14:21 -08:00
IntrinsicCall.cpp Revert "[flang] Use proper attributes for runtime calls with 'i1' arguments/returns." 2022-12-01 10:32:33 -08:00
IterationSpace.cpp [flang] Use std::nullopt instead of None (NFC) 2022-12-03 12:14:21 -08:00
LoweringOptions.cpp [flang] Configure FirOpBuilder based on math driver options. 2022-11-07 09:26:46 -08:00
Mangler.cpp [flang] Use std::nullopt instead of None (NFC) 2022-12-03 12:14:21 -08:00
OpenACC.cpp
OpenMP.cpp [mlir][OpenMP] Add order clause definition to simd construct 2022-11-18 06:08:04 -06:00
PFTBuilder.cpp [flang] Fix controlSuccessor chain for select rank construct 2022-11-06 09:56:46 +01:00
Runtime.cpp [flang] Use std::nullopt instead of None (NFC) 2022-12-03 12:14:21 -08:00
SymbolMap.cpp [flang] Use std::nullopt instead of None (NFC) 2022-12-03 12:14:21 -08:00
VectorSubscripts.cpp [flang] Use std::nullopt instead of None (NFC) 2022-12-03 12:14:21 -08:00