This is an archive of the discontinued LLVM Phabricator instance.

[libcxx] NFC. Add missed articles in _LIBCPP_ASSERT debug messages
ClosedPublic

Authored by krisb on May 10 2021, 1:38 PM.

Diff Detail

Event Timeline

krisb requested review of this revision.May 10 2021, 1:38 PM
krisb created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptMay 10 2021, 1:38 PM
Herald added a reviewer: Restricted Project. · View Herald Transcript

Seems fine to me % comments. A little churn-y, but moving in a good direction IMO.

libcxx/include/deque
2724

As long as we're changing this wording, let's make it "called on an empty deque."

libcxx/include/iterator
1390

"...outside its valid range"? Or just "...outside its range"?

libcxx/include/list
1775

"...called on an empty list"

libcxx/include/optional
881

"optional::operator-> called on a disengaged optional"

libcxx/include/vector
677

"called on" throughout

krisb updated this revision to Diff 344330.May 11 2021, 2:20 AM
krisb marked 5 inline comments as done.

Replaced 'with' / 'for' -> 'on', 'outside of valid range' -> 'outside its valid range'.

This revision was not accepted when it landed; it landed in state Needs Review.May 12 2021, 4:51 AM
This revision was automatically updated to reflect the committed changes.