File tree Expand file tree Collapse file tree 2 files changed +1
-11
lines changed Expand file tree Collapse file tree 2 files changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -48,11 +48,6 @@ class Distro {
4848 Fedora,
4949 Gentoo,
5050 OpenSUSE,
51- UbuntuHardy,
52- UbuntuIntrepid,
53- UbuntuJaunty,
54- UbuntuKarmic,
55- UbuntuLucid,
5651 UbuntuMaverick,
5752 UbuntuNatty,
5853 UbuntuOneiric,
@@ -135,7 +130,7 @@ class Distro {
135130 }
136131
137132 bool IsUbuntu() const {
138- return DistroVal >= UbuntuHardy && DistroVal <= UbuntuQuesting;
133+ return DistroVal >= UbuntuMaverick && DistroVal <= UbuntuQuesting;
139134 }
140135
141136 bool IsAlpineLinux() const { return DistroVal == AlpineLinux; }
Original file line number Diff line number Diff line change @@ -61,11 +61,6 @@ static Distro::DistroType DetectLsbRelease(llvm::vfs::FileSystem &VFS) {
6161 if (Version == Distro::UnknownDistro &&
6262 Line.starts_with("DISTRIB_CODENAME="))
6363 Version = llvm::StringSwitch<Distro::DistroType>(Line.substr(17))
64- .Case("hardy", Distro::UbuntuHardy)
65- .Case("intrepid", Distro::UbuntuIntrepid)
66- .Case("jaunty", Distro::UbuntuJaunty)
67- .Case("karmic", Distro::UbuntuKarmic)
68- .Case("lucid", Distro::UbuntuLucid)
6964 .Case("maverick", Distro::UbuntuMaverick)
7065 .Case("natty", Distro::UbuntuNatty)
7166 .Case("oneiric", Distro::UbuntuOneiric)
You can’t perform that action at this time.
0 commit comments