This is an archive of the discontinued LLVM Phabricator instance.

[flang] Use has_value instead of hasValue (NFC)
ClosedPublic

Authored by kazu on Jul 10 2022, 5:31 PM.

Details

Summary

This patch replaces hasValue with has_value in an effort to deprecate
Optional<X>::hasValue.

Diff Detail

Event Timeline

kazu created this revision.Jul 10 2022, 5:31 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJul 10 2022, 5:31 PM
Herald added a subscriber: mehdi_amini. · View Herald Transcript
kazu requested review of this revision.Jul 10 2022, 5:31 PM
clementval accepted this revision.Jul 10 2022, 11:31 PM

Thanks. Since we are now down with upstreaming I guess you can send these patches as NFC again. It will not be disturbing for us anymore.

This revision is now accepted and ready to land.Jul 10 2022, 11:31 PM
kazu added a comment.Jul 11 2022, 8:17 PM

Thanks. Since we are now down with upstreaming I guess you can send these patches as NFC again. It will not be disturbing for us anymore.

Thank you for letting me know!

This revision was automatically updated to reflect the committed changes.