This is an archive of the discontinued LLVM Phabricator instance.

[libc++] Use _LIBCPP_DEBUG_ASSERT in __iterator/wrap_iter.h
ClosedPublic

Authored by philnik on Dec 28 2021, 3:59 PM.

Details

Summary

Use _LIBCPP_DEBUG_ASSERT in __iterator/wrap_iter.h

Diff Detail

Event Timeline

philnik requested review of this revision.Dec 28 2021, 3:59 PM
philnik created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptDec 28 2021, 3:59 PM
Herald added a reviewer: Restricted Project. · View Herald Transcript

Seems reasonable to me. Let's wait until CI is green, though, just in case.

Mordante accepted this revision.Dec 29 2021, 9:59 AM

Nice cleanup! LGTM, please wait for the CI to pass.

This revision is now accepted and ready to land.Dec 29 2021, 9:59 AM
ldionne accepted this revision.Dec 29 2021, 10:07 AM

Indeed, this is an improvement. Thanks!

philnik updated this revision to Diff 397241.Jan 4 2022, 2:47 AM

Poke CI again

philnik updated this revision to Diff 397290.Jan 4 2022, 7:00 AM

Upload correct diff. Oops

ldionne accepted this revision.Jan 4 2022, 2:05 PM

I'm confused by the last comment, but the diff as it is right now seems correct to me at least. Ship it once CI passes (if there's the usual flake you should still ship it).

Also, it might be worth running run-buildbot generic-debug-iterators locally to make sure that works.

I'm confused by the last comment, but the diff as it is right now seems correct to me at least. Ship it once CI passes (if there's the usual flake you should still ship it).

I accidentally uploaded the __hash_table changes previously.

This revision was landed with ongoing or failed builds.Jan 5 2022, 12:17 AM
This revision was automatically updated to reflect the committed changes.