[flang] Fix dereference of std::optional with no value
authorJay Foad <jay.foad@amd.com>
Thu, 26 Jan 2023 17:27:56 +0000 (17:27 +0000)
committerJay Foad <jay.foad@amd.com>
Thu, 26 Jan 2023 17:36:44 +0000 (17:36 +0000)
commit6772966dcdf5175c517832c1b2352b4fcd1d6b16
treec70860206384e5a50353b5df9052aeca82030095
parentded3644a3f8ef5c34a956267004bdd6e936bae18
[flang] Fix dereference of std::optional with no value

Differential Revision: https://reviews.llvm.org/D142648
flang/lib/Optimizer/Builder/Character.cpp