[ProfileData] Use std::optional in InstrProfCorrelator.cpp (NFC)
authorKazu Hirata <kazu@google.com>
Sat, 10 Dec 2022 16:25:50 +0000 (08:25 -0800)
committerKazu Hirata <kazu@google.com>
Sat, 10 Dec 2022 16:25:50 +0000 (08:25 -0800)
commit18fd2aa372430b483558ca671f8aa34fc0be54b0
tree7e1ec2fcfa414c1042f5a2ca35f6ce829bece8f7
parentf555ec57cc01181ce09c802194b6f572f7a3f78a
[ProfileData] Use std::optional in InstrProfCorrelator.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/ProfileData/InstrProfCorrelator.cpp