This is an archive of the discontinued LLVM Phabricator instance.

[libc++][NFC] Use _LIBCPP_DEBUG_ASSERT in <vector>
ClosedPublic

Authored by philnik on Jan 15 2022, 10:58 AM.

Details

Summary

Use _LIBCPP_DEBUG_ASSERT in <vector>

Diff Detail

Event Timeline

philnik requested review of this revision.Jan 15 2022, 10:58 AM
philnik created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptJan 15 2022, 10:58 AM
Herald added a reviewer: Restricted Project. · View Herald Transcript
Mordante accepted this revision as: Mordante.Jan 15 2022, 11:16 AM

LGTM module some nits.

libcxx/include/vector
1705

Style nit: Please indent this line like the others. Since it seems to fit for emplace it should fit for insert.
Same for the insert below.

philnik updated this revision to Diff 400310.Jan 15 2022, 11:25 AM
philnik marked an inline comment as done.
  • Indent messages
Quuxplusone accepted this revision.Jan 16 2022, 7:19 AM
This revision is now accepted and ready to land.Jan 16 2022, 7:19 AM
ldionne accepted this revision.Jan 17 2022, 8:49 AM
This revision was automatically updated to reflect the committed changes.