From: Chad Rosier Date: Wed, 9 May 2012 18:51:13 +0000 (+0000) Subject: Use the triple directly, rather then getTriple(). X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8c990274ae17cf7c56048ee453b0566515633b7f;p=clang 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 12f292d554..395d22ec6b 100644 --- a/lib/Driver/ToolChains.cpp +++ b/lib/Driver/ToolChains.cpp @@ -61,7 +61,7 @@ Darwin::Darwin(const Driver &D, const llvm::Triple& Triple) 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; }