This is an archive of the discontinued LLVM Phabricator instance.

[libcxx] span: Remove unneeded comparison
ClosedPublic

Authored by miscco on Dec 30 2019, 5:15 AM.

Details

Summary

size_t is always greater than 0 so remove the artifact from the old index_type

Diff Detail

Event Timeline

miscco created this revision.Dec 30 2019, 5:15 AM
Herald added a project: Restricted Project. · View Herald Transcript
miscco updated this revision to Diff 235587.Dec 30 2019, 5:37 AM

Do not change the comment...

Ping trivially correct change

ldionne accepted this revision.Feb 11 2020, 2:37 AM

Thanks for the patch!

This revision is now accepted and ready to land.Feb 11 2020, 2:37 AM
This revision was automatically updated to reflect the committed changes.