This is an archive of the discontinued LLVM Phabricator instance.

[ADT] Deperecate llvm::None
ClosedPublic

Authored by kazu on Dec 9 2022, 7:55 PM.

Details

Summary

I've converted all known uses of None to std::nullopt.

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

Diff Detail

Event Timeline

kazu created this revision.Dec 9 2022, 7:55 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 9 2022, 7:55 PM
kazu requested review of this revision.Dec 9 2022, 7:55 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 9 2022, 7:55 PM
dblaikie accepted this revision.Dec 10 2022, 12:03 PM

Great, thanks!

This revision is now accepted and ready to land.Dec 10 2022, 12:03 PM
This revision was automatically updated to reflect the committed changes.