This is an archive of the discontinued LLVM Phabricator instance.

[NFC] Remove some boilerplate from SmallVector header
ClosedPublic

Authored by yurai007 on Jul 29 2022, 7:47 AM.

Details

Summary

In SmallVector header we use couple of times exactly same enable_if, in this change we de-duplicate it and declare only once.

Extracted from: https://reviews.llvm.org/D129990

Diff Detail

Event Timeline

yurai007 created this revision.Jul 29 2022, 7:47 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 29 2022, 7:47 AM
yurai007 requested review of this revision.Jul 29 2022, 7:47 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 29 2022, 7:47 AM
dblaikie accepted this revision.Jul 29 2022, 10:17 AM

Sounds good, thanks!

This revision is now accepted and ready to land.Jul 29 2022, 10:17 AM
This revision was landed with ongoing or failed builds.Aug 2 2022, 2:47 AM
This revision was automatically updated to reflect the committed changes.