[DWARFLinker] Use std::optional in DWARFLinkerCompileUnit.h (NFC)
authorKazu Hirata <kazu@google.com>
Sat, 10 Dec 2022 16:19:36 +0000 (08:19 -0800)
committerKazu Hirata <kazu@google.com>
Sat, 10 Dec 2022 16:19:36 +0000 (08:19 -0800)
commitd5987fe324fcaedcea12914d6f9644cc5329f364
tree2127c395b4688e0d4a988447ca793403f65e7d5b
parent37597e8450be1efa0212050a965c490f4fb5f0bc
[DWARFLinker] Use std::optional in DWARFLinkerCompileUnit.h (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/include/llvm/DWARFLinker/DWARFLinkerCompileUnit.h