This is an archive of the discontinued LLVM Phabricator instance.

[ADT] Rename value to val (NFC)
ClosedPublic

Authored by kazu on Jun 18 2022, 2:25 PM.

Details

Summary

I'd like to introduce functions, such as value, value_or, has_value,
etc to make llvm::Optional look more like std::optional. Renaming
value to val avoids name conflicts.

Diff Detail

Event Timeline

kazu created this revision.Jun 18 2022, 2:25 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 18 2022, 2:25 PM
kazu requested review of this revision.Jun 18 2022, 2:25 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 18 2022, 2:25 PM
dblaikie accepted this revision.Jun 18 2022, 5:20 PM

Sure, sounds like a great direction, thanks!

This revision is now accepted and ready to land.Jun 18 2022, 5:20 PM
This revision was landed with ongoing or failed builds.Jun 18 2022, 8:19 PM
This revision was automatically updated to reflect the committed changes.