r194198 - Ubuntu has published its Saucy release. 'Trusty Tahr' dev has just started. Add its support in Clang
Sylvestre Ledru
sylvestre at debian.org
Thu Nov 7 01:31:30 PST 2013
Author: sylvestre
Date: Thu Nov 7 03:31:30 2013
New Revision: 194198
URL: http://llvm.org/viewvc/llvm-project?rev=194198&view=rev
Log:
Ubuntu has published its Saucy release. 'Trusty Tahr' dev has just started. Add its support in Clang
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=194198&r1=194197&r2=194198&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/ToolChains.cpp (original)
+++ cfe/trunk/lib/Driver/ToolChains.cpp Thu Nov 7 03:31:30 2013
@@ -2114,6 +2114,7 @@ enum Distro {
UbuntuQuantal,
UbuntuRaring,
UbuntuSaucy,
+ UbuntuTrusty,
UnknownDistro
};
@@ -2130,7 +2131,7 @@ static bool IsDebian(enum Distro Distro)
}
static bool IsUbuntu(enum Distro Distro) {
- return Distro >= UbuntuHardy && Distro <= UbuntuSaucy;
+ return Distro >= UbuntuHardy && Distro <= UbuntuTrusty;
}
static Distro DetectDistro(llvm::Triple::ArchType Arch) {
@@ -2155,6 +2156,7 @@ static Distro DetectDistro(llvm::Triple:
.Case("quantal", UbuntuQuantal)
.Case("raring", UbuntuRaring)
.Case("saucy", UbuntuSaucy)
+ .Case("trusty", UbuntuTrusty)
.Default(UnknownDistro);
return Version;
}
More information about the cfe-commits
mailing list