diff options
author | Chad Rosier <mcrosier@apple.com> | 2012-05-09 18:51:13 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@apple.com> | 2012-05-09 18:51:13 +0000 |
commit | 8c990274ae17cf7c56048ee453b0566515633b7f (patch) | |
tree | 0e361bd2f6efbbfbff5bf6f98f65f3998615acee /lib/Driver/ToolChains.cpp | |
parent | 50e8a270cf58770fef90f9b8f610a007a800380b (diff) |
Use the triple directly, rather then getTriple().
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156501 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/ToolChains.cpp')
-rw-r--r-- | lib/Driver/ToolChains.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |