]> granicus.if.org Git - clang/commitdiff
[Driver] semi-annual ubuntu version bump.
authorBenjamin Kramer <benny.kra@googlemail.com>
Thu, 9 Jul 2015 15:31:17 +0000 (15:31 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Thu, 9 Jul 2015 15:31:17 +0000 (15:31 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@241812 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Driver/ToolChains.cpp

index 463503ba1954015d96c06700255dc8f8eb351b0b..8a15a749be7f3991e2fad83dd7ed76333f9f789d 100644 (file)
@@ -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;
   }