Author: sylvestre Date: Wed Oct 25 07:21:33 2017 New Revision: 316577 URL: http://llvm.org/viewvc/llvm-project?rev=316577&view=rev Log: Add support of the next Ubuntu (Ubuntu 18.04 - Bionic Beaver)
Modified: cfe/trunk/include/clang/Driver/Distro.h cfe/trunk/lib/Driver/Distro.cpp Modified: cfe/trunk/include/clang/Driver/Distro.h URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Driver/Distro.h?rev=316577&r1=316576&r2=316577&view=diff ============================================================================== --- cfe/trunk/include/clang/Driver/Distro.h (original) +++ cfe/trunk/include/clang/Driver/Distro.h Wed Oct 25 07:21:33 2017 @@ -58,6 +58,7 @@ public: UbuntuYakkety, UbuntuZesty, UbuntuArtful, + UbuntuBionic, UnknownDistro }; Modified: cfe/trunk/lib/Driver/Distro.cpp URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/Distro.cpp?rev=316577&r1=316576&r2=316577&view=diff ============================================================================== --- cfe/trunk/lib/Driver/Distro.cpp (original) +++ cfe/trunk/lib/Driver/Distro.cpp Wed Oct 25 07:21:33 2017 @@ -48,6 +48,7 @@ static Distro::DistroType DetectDistro(v .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; _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits