From: Benjamin Kramer Date: Thu, 9 Jul 2015 15:31:17 +0000 (+0000) Subject: [Driver] semi-annual ubuntu version bump. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d78173ddbc601b52b7daecbd5ba55572e77f43b7;p=clang [Driver] semi-annual ubuntu version bump. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@241812 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Driver/ToolChains.cpp b/lib/Driver/ToolChains.cpp index 463503ba19..8a15a749be 100644 --- a/lib/Driver/ToolChains.cpp +++ b/lib/Driver/ToolChains.cpp @@ -2882,6 +2882,7 @@ enum Distro { UbuntuTrusty, UbuntuUtopic, UbuntuVivid, + UbuntuWily, UnknownDistro }; @@ -2896,7 +2897,7 @@ static bool IsDebian(enum Distro Distro) { } static bool IsUbuntu(enum Distro Distro) { - return Distro >= UbuntuHardy && Distro <= UbuntuVivid; + return Distro >= UbuntuHardy && Distro <= UbuntuWily; } static Distro DetectDistro(llvm::Triple::ArchType Arch) { @@ -2925,6 +2926,7 @@ static Distro DetectDistro(llvm::Triple::ArchType Arch) { .Case("trusty", UbuntuTrusty) .Case("utopic", UbuntuUtopic) .Case("vivid", UbuntuVivid) + .Case("wily", UbuntuWily) .Default(UnknownDistro); return Version; }