Use VersionTuple for parsing versions in Triple. This makes it possible to distinguish between "16" and "16.0" after parsing, which previously was not possible.

See also https://github.com/android/ndk/issues/1455.

Differential Revision: https://reviews.llvm.org/D114163

GitOrigin-RevId: 1e8286467036d8ef1a972de723f805a4981b2692
15 files changed