This is an archive of the discontinued LLVM Phabricator instance.

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

Authored by philnik on Dec 14 2021, 4:34 PM.

Details

Summary

Use _LIBCPP_DEBUG_ASSERT instead of _LIBCPP_ASSERT and guarding it with LIBCPP_DEBUG_LEVEL == 2

Diff Detail

Event Timeline

philnik requested review of this revision.Dec 14 2021, 4:34 PM
philnik created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptDec 14 2021, 4:34 PM
Herald added a reviewer: Restricted Project. · View Herald Transcript
ldionne accepted this revision.Dec 14 2021, 4:42 PM
This revision is now accepted and ready to land.Dec 14 2021, 4:42 PM
This revision was automatically updated to reflect the committed changes.