This is an archive of the discontinued LLVM Phabricator instance.

[ADT] Add drop_end.
ClosedPublic

Authored by curdeius on Mar 18 2022, 8:19 AM.

Details

Summary

This patch adds drop_end that is analogical to drop_begin.
It tries to fill the functional gap where one could drop first elements but not the last ones.
The need for it came in when refactoring clang-format.

Diff Detail

Event Timeline

curdeius created this revision.Mar 18 2022, 8:19 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 18 2022, 8:19 AM
Herald added a subscriber: dexonsmith. · View Herald Transcript
curdeius requested review of this revision.Mar 18 2022, 8:19 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 18 2022, 8:19 AM
dblaikie accepted this revision.Mar 18 2022, 10:26 AM

Sounds good

This revision is now accepted and ready to land.Mar 18 2022, 10:26 AM
This revision was landed with ongoing or failed builds.Mar 21 2022, 1:43 AM
Closed by commit rGdf4da5f37de3: [ADT] Add drop_end. (authored by curdeius). · Explain Why
This revision was automatically updated to reflect the committed changes.