This is an archive of the discontinued LLVM Phabricator instance.

[IPO] Restore a call to has_value (NFC)
ClosedPublic

Authored by kazu on Jul 10 2022, 1:18 PM.

Details

Summary

This patch restores a call to has_value to make it clear that we are
checking the presence of an optional value, not the underlying value.

This patch partially reverts d08f34b592ff06ccb1f36da88ec09aa926427a4d.

Diff Detail

Event Timeline

kazu created this revision.Jul 10 2022, 1:18 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 10 2022, 1:18 PM
kazu requested review of this revision.Jul 10 2022, 1:18 PM
Herald added a reviewer: sstefan1. · View Herald Transcript
Herald added a project: Restricted Project. · View Herald Transcript
This revision is now accepted and ready to land.Jul 10 2022, 2:14 PM
This revision was landed with ongoing or failed builds.Jul 20 2022, 9:40 AM
This revision was automatically updated to reflect the committed changes.