Part of an ongoing migration from llvm::Optional to std::optional:
https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716
| Paths 
 |  Differential  D139796  
[BOLT][NFC] Use std::optional in BAT ClosedPublic Authored by Amir on Dec 11 2022, 11:54 AM. 
Details Summary Part of an ongoing migration from llvm::Optional to std::optional: https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716 
Diff Detail 
 
Revision Contents 
 
 
Diff 481941 bolt/include/bolt/Profile/BoltAddressTranslation.h
 bolt/include/bolt/Profile/DataAggregator.h
 bolt/lib/Profile/BoltAddressTranslation.cpp
 bolt/lib/Profile/DataAggregator.cpp
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||