[llvm-commits] [llvm] r156492 - /llvm/trunk/lib/Support/Triple.cpp
Chad Rosier
mcrosier at apple.com
Wed May 9 12:32:56 PDT 2012
On May 9, 2012, at 11:28 AM, Chandler Carruth wrote:
> On Wed, May 9, 2012 at 11:23 AM, Chad Rosier <mcrosier at apple.com> wrote:
> Author: mcrosier
> Date: Wed May 9 13:23:00 2012
> New Revision: 156492
>
> URL: http://llvm.org/viewvc/llvm-project?rev=156492&view=rev
> Log:
> Set the default iOS version to 3.0.
>
> Unittest for this?
Committed revision 156507. Thanks, Chandler.
Chad
>
>
> Modified:
> llvm/trunk/lib/Support/Triple.cpp
>
> Modified: llvm/trunk/lib/Support/Triple.cpp
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/Triple.cpp?rev=156492&r1=156491&r2=156492&view=diff
> ==============================================================================
> --- llvm/trunk/lib/Support/Triple.cpp (original)
> +++ llvm/trunk/lib/Support/Triple.cpp Wed May 9 13:23:00 2012
> @@ -606,13 +606,15 @@
> // the clang driver combines OS X and IOS support into a common Darwin
> // toolchain that wants to know the iOS version number even when targeting
> // OS X.
> - Major = 0;
> + Major = 3;
> Minor = 0;
> Micro = 0;
> break;
> case IOS:
> getOSVersion(Major, Minor, Micro);
> - // Default to 0.0.
> + // Default to 3.0.
> + if (Major == 0)
> + Major = 3;
> break;
> }
> }
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120509/b0f0eeb6/attachment.html>
More information about the llvm-commits
mailing list