This is an archive of the discontinued LLVM Phabricator instance.

[flang] Use value instead of getValue (NFC)
ClosedPublic

Authored by kazu on Jul 19 2022, 10:05 PM.

Details

Summary

Flang C++ Style Guide tells us to use x.value() when no presence test
is obviously protecting the reference. Since assert can be disabled,
I don't count it as "protection" here.

Diff Detail

Event Timeline

kazu created this revision.Jul 19 2022, 10:05 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJul 19 2022, 10:05 PM
Herald added a subscriber: mehdi_amini. · View Herald Transcript
kazu requested review of this revision.Jul 19 2022, 10:05 PM
This revision is now accepted and ready to land.Jul 20 2022, 2:05 AM
This revision was automatically updated to reflect the committed changes.