summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/tools/clang/lib/Driver/ToolChains.cpp
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2012-12-23 13:04:00 +0000
committerdim <dim@FreeBSD.org>2012-12-23 13:04:00 +0000
commita931043751d62613cff21d7eea760e17669bef4f (patch)
treeb0e228ab641b9204bdb26457f30ee376e0e17fc7 /contrib/llvm/tools/clang/lib/Driver/ToolChains.cpp
parent9e0012da52e98f166c4351de0bd020fbd7b4b49d (diff)
downloadFreeBSD-src-a931043751d62613cff21d7eea760e17669bef4f.zip
FreeBSD-src-a931043751d62613cff21d7eea760e17669bef4f.tar.gz
Upgrade our copy of llvm/clang to 3.2 release.
Release notes for llvm: http://llvm.org/releases/3.2/docs/ReleaseNotes.html Release notes for clang: http://llvm.org/releases/3.2/tools/clang/docs/ReleaseNotes.html MFC after: 2 weeks
Diffstat (limited to 'contrib/llvm/tools/clang/lib/Driver/ToolChains.cpp')
-rw-r--r--contrib/llvm/tools/clang/lib/Driver/ToolChains.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/contrib/llvm/tools/clang/lib/Driver/ToolChains.cpp b/contrib/llvm/tools/clang/lib/Driver/ToolChains.cpp
index a2ccb35..7d70cd5 100644
--- a/contrib/llvm/tools/clang/lib/Driver/ToolChains.cpp
+++ b/contrib/llvm/tools/clang/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