[cfe-commits] r155860 - /cfe/trunk/lib/Driver/ToolChains.cpp
Douglas Gregor
dgregor at apple.com
Mon Apr 30 16:45:14 PDT 2012
Bill, please pull this into the release branch.
- Doug
On Apr 30, 2012, at 4:42 PM, Douglas Gregor <dgregor at apple.com> wrote:
> Author: dgregor
> Date: Mon Apr 30 18:42:57 2012
> New Revision: 155860
>
> URL: http://llvm.org/viewvc/llvm-project?rev=155860&view=rev
> Log:
> Add support for openSUSE 12.2, from Ismail Donmez!
>
> 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=155860&r1=155859&r2=155860&view=diff
> ==============================================================================
> --- cfe/trunk/lib/Driver/ToolChains.cpp (original)
> +++ cfe/trunk/lib/Driver/ToolChains.cpp Mon Apr 30 18:42:57 2012
> @@ -1866,6 +1866,7 @@
> OpenSuse11_3,
> OpenSuse11_4,
> OpenSuse12_1,
> + OpenSuse12_2,
> UbuntuHardy,
> UbuntuIntrepid,
> UbuntuJaunty,
> @@ -1884,7 +1885,7 @@
> }
>
> static bool IsOpenSuse(enum LinuxDistro Distro) {
> - return Distro >= OpenSuse11_3 && Distro <= OpenSuse12_1;
> + return Distro >= OpenSuse11_3 && Distro <= OpenSuse12_2;
> }
>
> static bool IsDebian(enum LinuxDistro Distro) {
> @@ -1961,6 +1962,7 @@
> .StartsWith("openSUSE 11.3", OpenSuse11_3)
> .StartsWith("openSUSE 11.4", OpenSuse11_4)
> .StartsWith("openSUSE 12.1", OpenSuse12_1)
> + .StartsWith("openSUSE 12.2", OpenSuse12_2)
> .Default(UnknownDistro);
>
> bool Exists;
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
More information about the cfe-commits
mailing list