r241812 - [Driver] semi-annual ubuntu version bump.
Benjamin Kramer
benny.kra at googlemail.com
Thu Jul 9 08:31:18 PDT 2015
Author: d0k
Date: Thu Jul 9 10:31:17 2015
New Revision: 241812
URL: http://llvm.org/viewvc/llvm-project?rev=241812&view=rev
Log:
[Driver] semi-annual ubuntu version bump.
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=241812&r1=241811&r2=241812&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/ToolChains.cpp (original)
+++ cfe/trunk/lib/Driver/ToolChains.cpp Thu Jul 9 10:31:17 2015
@@ -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:
.Case("trusty", UbuntuTrusty)
.Case("utopic", UbuntuUtopic)
.Case("vivid", UbuntuVivid)
+ .Case("wily", UbuntuWily)
.Default(UnknownDistro);
return Version;
}
More information about the cfe-commits
mailing list