This is an archive of the discontinued LLVM Phabricator instance.

[ADT] Simplify determining size for joining items
ClosedPublic

Authored by jloser on Nov 19 2022, 9:21 PM.

Details

Summary

join_items_size uses recursive function templates for determining the total
items size. Instead, use fold expressions since we have C++17 available now.

Diff Detail

Event Timeline

jloser created this revision.Nov 19 2022, 9:21 PM
Herald added a project: Restricted Project. · View Herald TranscriptNov 19 2022, 9:21 PM
Herald added a subscriber: StephenFan. · View Herald Transcript
jloser requested review of this revision.Nov 19 2022, 9:21 PM
Herald added a project: Restricted Project. · View Herald TranscriptNov 19 2022, 9:21 PM
MaskRay accepted this revision.Nov 19 2022, 9:32 PM
This revision is now accepted and ready to land.Nov 19 2022, 9:32 PM
This revision was landed with ongoing or failed builds.Nov 20 2022, 10:55 AM
This revision was automatically updated to reflect the committed changes.