From: Sylvestre Ledru Date: Wed, 25 Oct 2017 14:21:33 +0000 (+0000) Subject: Add support of the next Ubuntu (Ubuntu 18.04 - Bionic Beaver) X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c995e069f7d65eaec90a380e6977248bad6c3dc6;p=clang Add support of the next Ubuntu (Ubuntu 18.04 - Bionic Beaver) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@316577 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Driver/Distro.h b/include/clang/Driver/Distro.h index fab49862a4..6574fbca38 100644 --- a/include/clang/Driver/Distro.h +++ b/include/clang/Driver/Distro.h @@ -58,6 +58,7 @@ public: UbuntuYakkety, UbuntuZesty, UbuntuArtful, + UbuntuBionic, UnknownDistro }; diff --git a/lib/Driver/Distro.cpp b/lib/Driver/Distro.cpp index 2df297f3cf..437641b23d 100644 --- a/lib/Driver/Distro.cpp +++ b/lib/Driver/Distro.cpp @@ -48,6 +48,7 @@ static Distro::DistroType DetectDistro(vfs::FileSystem &VFS) { .Case("yakkety", Distro::UbuntuYakkety) .Case("zesty", Distro::UbuntuZesty) .Case("artful", Distro::UbuntuArtful) + .Case("bionic", Distro::UbuntuBionic) .Default(Distro::UnknownDistro); if (Version != Distro::UnknownDistro) return Version;