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-Tag: llvmorg-6.0.0-rc1~4920 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f8e9ffa56f26bd64057913708cb3ee96508bd799;p=platform%2Fupstream%2Fllvm.git Add support of the next Ubuntu (Ubuntu 18.04 - Bionic Beaver) llvm-svn: 316577 --- diff --git a/clang/include/clang/Driver/Distro.h b/clang/include/clang/Driver/Distro.h index fab4986..6574fbc 100644 --- a/clang/include/clang/Driver/Distro.h +++ b/clang/include/clang/Driver/Distro.h @@ -58,6 +58,7 @@ public: UbuntuYakkety, UbuntuZesty, UbuntuArtful, + UbuntuBionic, UnknownDistro }; diff --git a/clang/lib/Driver/Distro.cpp b/clang/lib/Driver/Distro.cpp index 2df297f..437641b 100644 --- a/clang/lib/Driver/Distro.cpp +++ b/clang/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;