[flang] Use std::nullopt instead of None (NFC)
authorKazu Hirata <kazu@google.com>
Sun, 4 Dec 2022 22:40:10 +0000 (14:40 -0800)
committerKazu Hirata <kazu@google.com>
Sun, 4 Dec 2022 22:40:10 +0000 (14:40 -0800)
commit7f773ce6fc98a31b3466be02c020439414c2da24
tree54b17f001985e699073512e5428f9a928b7f1438
parent004933e46a644a86de52dd9b08d72c43854425fc
[flang] Use std::nullopt instead of None (NFC)

I've verified that every single instance of std::nullopt in this patch
affects generated files and would reduce the number of warnings if
None were deprecated.

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
flang/include/flang/Optimizer/Dialect/FIROps.td