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
| Paths 
 |  Differential  D130779  
[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 TimelineThis 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 Closed by commit rG78650b786188: [NFC] Remove some boilerplate from SmallVector header (authored by yurai007).  ·  Explain Why This revision was automatically updated to reflect the committed changes. 
Revision Contents 
Diff 449235 llvm/include/llvm/ADT/SmallVector.h
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||