[cfe-commits] r156501 - /cfe/trunk/lib/Driver/ToolChains.cpp

Chad Rosier mcrosier at apple.com
Wed May 9 11:51:13 PDT 2012


Author: mcrosier
Date: Wed May  9 13:51:13 2012
New Revision: 156501

URL: http://llvm.org/viewvc/llvm-project?rev=156501&view=rev
Log:
Use the triple directly, rather then getTriple().

Modified:
    cfe/trunk/lib/Driver/ToolChains.cpp

Modified: cfe/trunk/lib/Driver/ToolChains.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/ToolChains.cpp?rev=156501&r1=156500&r2=156501&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/ToolChains.cpp (original)
+++ cfe/trunk/lib/Driver/ToolChains.cpp Wed May  9 13:51:13 2012
@@ -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;
 }





More information about the cfe-commits mailing list