[GSYM] Use std::optional in FunctionInfo.cpp (NFC)
authorKazu Hirata <kazu@google.com>
Fri, 25 Nov 2022 19:52:53 +0000 (11:52 -0800)
committerKazu Hirata <kazu@google.com>
Fri, 25 Nov 2022 19:52:53 +0000 (11:52 -0800)
commit367515d4b724444a3b89b9a4021cde336383529c
tree3a8f43793fa10a2fa293b29e059277feb70210c5
parent9f6c1949bb2ea24410eeede33ef21f7a718b9a0f
[GSYM] Use std::optional in FunctionInfo.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/DebugInfo/GSYM/FunctionInfo.cpp