Use the triple directly, rather then getTriple().

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156501 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Driver/ToolChains.cpp b/lib/Driver/ToolChains.cpp
index 12f292d..395d22e 100644
--- a/lib/Driver/ToolChains.cpp
+++ b/lib/Driver/ToolChains.cpp
@@ -61,7 +61,7 @@
   DarwinVersion[2] = 0;
 
   // Compute the initial iOS version from the triple
-  getTriple().getiOSVersion(Major, Minor, Micro);
+  Triple.getiOSVersion(Major, Minor, Micro);
   llvm::raw_string_ostream(iOSVersionMin)
     << Major << '.' << Minor << '.' << Micro;
 }