From c995e069f7d65eaec90a380e6977248bad6c3dc6 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Wed, 25 Oct 2017 14:21:33 +0000 Subject: [PATCH] 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 --- include/clang/Driver/Distro.h | 1 + lib/Driver/Distro.cpp | 1 + 2 files changed, 2 insertions(+) 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; -- 2.40.0