Add Triple::getiOSVersion.
[oota-llvm.git] / include / llvm / ADT / Triple.h
index edbbdc51f69d3a4b1fec71a4c3dbad047955d090..957c5819767a3e524516b353e476d216c91d1115 100644 (file)
@@ -196,6 +196,11 @@ public:
   bool getMacOSXVersion(unsigned &Major, unsigned &Minor,
                         unsigned &Micro) const;
 
+  /// getiOSVersion - Parse the version number as with getOSVersion.  This should
+  /// only be called with IOS triples.
+  void getiOSVersion(unsigned &Major, unsigned &Minor,
+                     unsigned &Micro) const;
+
   /// @}
   /// @name Direct Component Access
   /// @{