summaryrefslogtreecommitdiffstats
path: root/clang/lib/Driver/Distro.cpp
diff options
context:
space:
mode:
authorSylvestre Ledru <sylvestre@debian.org>2018-05-10 08:45:43 +0000
committerSylvestre Ledru <sylvestre@debian.org>2018-05-10 08:45:43 +0000
commit93dd5dcdf72fa15254ac196a62b033f215509544 (patch)
tree4035c5ba3ceeee2a268db85665f4d36b036a619a /clang/lib/Driver/Distro.cpp
parent327f5f3a92093d195b61ad8df9d3e9581829e005 (diff)
downloadbcm5719-llvm-93dd5dcdf72fa15254ac196a62b033f215509544.tar.gz
bcm5719-llvm-93dd5dcdf72fa15254ac196a62b033f215509544.zip
Add support of the next Ubuntu (Ubuntu 18.10 - Cosmic Canimal)
Patch by Adam Conrad llvm-svn: 331965
Diffstat (limited to 'clang/lib/Driver/Distro.cpp')
-rw-r--r--clang/lib/Driver/Distro.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Driver/Distro.cpp b/clang/lib/Driver/Distro.cpp
index f15c919b9aa..3fbf1637dd5 100644
--- a/clang/lib/Driver/Distro.cpp
+++ b/clang/lib/Driver/Distro.cpp
@@ -49,6 +49,7 @@ static Distro::DistroType DetectDistro(vfs::FileSystem &VFS) {
.Case("zesty", Distro::UbuntuZesty)
.Case("artful", Distro::UbuntuArtful)
.Case("bionic", Distro::UbuntuBionic)
+ .Case("cosmic", Distro::UbuntuCosmic)
.Default(Distro::UnknownDistro);
if (Version != Distro::UnknownDistro)
return Version;
OpenPOWER on IntegriCloud