add a couple of helpers to the Triple class for decoding
authorChris Lattner <sabre@nondot.org>
Wed, 12 Aug 2009 06:19:40 +0000 (06:19 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 12 Aug 2009 06:19:40 +0000 (06:19 +0000)
commitdfc17f75e81250f3dcf06938f164481a77a50d60
tree0f921e90a2ae9cb7c0b24857723645f46964f3b3
parente14463832cd4bebc9c95981c74bf67085a521b60
add a couple of helpers to the Triple class for decoding
the darwin version string.  This should help consolidate
the variety of weird functions we have scattered around the
codebase that do stuff like this.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78792 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/Triple.h
lib/Support/Triple.cpp