summaryrefslogtreecommitdiffstats
path: root/lib/Driver
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2012-12-22 15:00:54 +0000
committerdim <dim@FreeBSD.org>2012-12-22 15:00:54 +0000
commit5b20025c30d23d521e12c1f33ec8fa6b821952cd (patch)
treed97cbb4c3a7d0c7da83f0baa1fa220f188e9c6df /lib/Driver
parent056abd2059c65a3e908193aeae16fad98017437c (diff)
downloadFreeBSD-src-5b20025c30d23d521e12c1f33ec8fa6b821952cd.zip
FreeBSD-src-5b20025c30d23d521e12c1f33ec8fa6b821952cd.tar.gz
Vendor import of clang tags/RELEASE_32/final r170710 (effectively, 3.2
release): http://llvm.org/svn/llvm-project/cfe/tags/RELEASE_32/final@170710
Diffstat (limited to 'lib/Driver')
-rw-r--r--lib/Driver/ToolChains.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/Driver/ToolChains.cpp b/lib/Driver/ToolChains.cpp
index a2ccb35..7d70cd5 100644
--- a/lib/Driver/ToolChains.cpp
+++ b/lib/Driver/ToolChains.cpp
@@ -1855,6 +1855,8 @@ enum LinuxDistro {
UbuntuNatty,
UbuntuOneiric,
UbuntuPrecise,
+ UbuntuQuantal,
+ UbuntuRaring,
UnknownDistro
};
@@ -1872,7 +1874,7 @@ static bool IsDebian(enum LinuxDistro Distro) {
}
static bool IsUbuntu(enum LinuxDistro Distro) {
- return Distro >= UbuntuHardy && Distro <= UbuntuPrecise;
+ return Distro >= UbuntuHardy && Distro <= UbuntuRaring;
}
static LinuxDistro DetectLinuxDistro(llvm::Triple::ArchType Arch) {
@@ -1894,6 +1896,8 @@ static LinuxDistro DetectLinuxDistro(llvm::Triple::ArchType Arch) {
.Case("natty", UbuntuNatty)
.Case("oneiric", UbuntuOneiric)
.Case("precise", UbuntuPrecise)
+ .Case("quantal", UbuntuQuantal)
+ .Case("raring", UbuntuRaring)
.Default(UnknownDistro);
return Version;
}
OpenPOWER on IntegriCloud