This is an archive of the discontinued LLVM Phabricator instance.

[NFC] Reorder fields of VersionTuple to reduce size
ClosedPublic

Authored by erik.pilkington on May 4 2016, 1:20 PM.

Details

Summary

Previously, clang::VersionTuple's fields were laid out in an unfortunate way that made the object larger than it ought to have been. This patch just reorders the fields, reducing the size.

Diff Detail

Event Timeline

erik.pilkington retitled this revision from to [NFC] Reorder fields of VersionTuple to reduce size.
erik.pilkington updated this object.
erik.pilkington added a reviewer: rsmith.
erik.pilkington added a subscriber: cfe-commits.
manmanren accepted this revision.Jul 11 2016, 11:53 AM
manmanren edited edge metadata.

LGTM.

Manman

This revision is now accepted and ready to land.Jul 11 2016, 11:53 AM
This revision was automatically updated to reflect the committed changes.