This is an archive of the discontinued LLVM Phabricator instance.

[libcxx] [test] Mark bucket() assertions as nonportable.
ClosedPublic

Authored by STL_MSFT on Jul 8 2016, 12:22 PM.

Details

Summary

Mark bucket() assertions as nonportable.

The Standard doesn't guarantee what bucket an element will land in, even if you control the hash. All such assertions are inherently nonportable and should be marked accordingly.

Diff Detail

Event Timeline

STL_MSFT updated this revision to Diff 63285.Jul 8 2016, 12:22 PM
STL_MSFT retitled this revision from to [libcxx] [test] Mark bucket() assertions as nonportable..
STL_MSFT updated this object.
STL_MSFT added reviewers: EricWF, mclow.lists.
STL_MSFT added a subscriber: cfe-commits.
EricWF accepted this revision.Jul 24 2016, 4:41 PM
EricWF edited edge metadata.
This revision is now accepted and ready to land.Jul 24 2016, 4:41 PM
EricWF closed this revision.Jul 24 2016, 4:41 PM

r276584.