This is an archive of the discontinued LLVM Phabricator instance.

[ADT] Deprecate Any::hasValue
ClosedPublic

Authored by kazu on Aug 20 2022, 8:57 AM.

Details

Summary

This patch deprecates Any::hasValue as I've migrated all known uses of
it to Any::has_value. I'm planning to remove the deprecated method in
3 months or so.

Diff Detail

Event Timeline

kazu created this revision.Aug 20 2022, 8:57 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 20 2022, 8:57 AM
kazu requested review of this revision.Aug 20 2022, 8:57 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 20 2022, 8:57 AM
dblaikie accepted this revision.Aug 20 2022, 9:21 AM

Great :)

This revision is now accepted and ready to land.Aug 20 2022, 9:21 AM
This revision was landed with ongoing or failed builds.Aug 20 2022, 9:34 AM
This revision was automatically updated to reflect the committed changes.