summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2015-07-09 15:31:17 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2015-07-09 15:31:17 +0000
commit2d46980ebb6c68a045a99d6ea374d7f34fd21ec2 (patch)
tree074fd700f5c553a0d19098b2d2945e90619a2cac /clang
parenta4f8df0b5e1947430b0b207aa9edd524c6826849 (diff)
downloadbcm5719-llvm-2d46980ebb6c68a045a99d6ea374d7f34fd21ec2.tar.gz
bcm5719-llvm-2d46980ebb6c68a045a99d6ea374d7f34fd21ec2.zip
[Driver] semi-annual ubuntu version bump.
llvm-svn: 241812
Diffstat (limited to 'clang')
-rw-r--r--clang/lib/Driver/ToolChains.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/clang/lib/Driver/ToolChains.cpp b/clang/lib/Driver/ToolChains.cpp
index 463503ba195..8a15a749be7 100644
--- a/clang/lib/Driver/ToolChains.cpp
+++ b/clang/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;
}
OpenPOWER on IntegriCloud