From 2d46980ebb6c68a045a99d6ea374d7f34fd21ec2 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Thu, 9 Jul 2015 15:31:17 +0000 Subject: [Driver] semi-annual ubuntu version bump. llvm-svn: 241812 --- clang/lib/Driver/ToolChains.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'clang') 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; } -- cgit v1.2.3