PackedVersion already does the correct range checks.
No behavior change.
| Paths 
 |  Differential  D93338  
[mac/lld] simplify code using PackedVersion instead of VersionTuple ClosedPublic Authored by thakis on Dec 15 2020, 1:38 PM. 
Details 
 Summary PackedVersion already does the correct range checks. No behavior change. 
Diff Detail Event TimelineThis revision is now accepted and ready to land.Dec 15 2020, 1:39 PM Closed by commit rG09edd9df6e1f: [mac/lld] simplify code using PackedVersion instead of VersionTuple (authored by thakis).  ·  Explain WhyDec 15 2020, 4:23 PM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
Diff 312020 lld/MachO/Driver.cpp
 lld/test/MachO/dylib-version.s
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||