This is an archive of the discontinued LLVM Phabricator instance.

[BOLT][NFC] Use std::optional in BAT
ClosedPublic

Authored by Amir on Dec 11 2022, 11:54 AM.

Details

Reviewers
rafauler
maksfb
kazu
Group Reviewers
Restricted Project
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

Event Timeline

Amir created this revision.Dec 11 2022, 11:54 AM
Herald added a reviewer: maksfb. · View Herald Transcript
Herald added a project: Restricted Project. · View Herald Transcript
Amir requested review of this revision.Dec 11 2022, 11:54 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 11 2022, 11:54 AM
kazu accepted this revision.Dec 11 2022, 12:40 PM

Thanks a lot!

This revision is now accepted and ready to land.Dec 11 2022, 12:40 PM