[AsmPrinter] Use std::optional in DwarfCompileUnit.cpp (NFC)
authorKazu Hirata <kazu@google.com>
Sat, 26 Nov 2022 22:16:31 +0000 (14:16 -0800)
committerKazu Hirata <kazu@google.com>
Sat, 26 Nov 2022 22:16:31 +0000 (14:16 -0800)
commit15bb5c92533f52d6db44e06675fcdb5916fd9766
treee631d53c86253cc335d6cba0e518f90419e946c9
parentfb2f3b30b2ab2494aedf54940f80258e073f0486
[AsmPrinter] Use std::optional in DwarfCompileUnit.cpp (NFC)

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
llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp