From 8c990274ae17cf7c56048ee453b0566515633b7f Mon Sep 17 00:00:00 2001 From: Chad Rosier Date: Wed, 9 May 2012 18:51:13 +0000 Subject: [PATCH] Use the triple directly, rather then getTriple(). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156501 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Driver/ToolChains.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.40.0