From: Sylvestre Ledru Date: Wed, 25 Oct 2017 14:23:27 +0000 (+0000) Subject: Also update IsUbuntu() with Ubuntu Bionic X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d26e800a52facae18ce2324dcd328ba575995c82;p=clang Also update IsUbuntu() with Ubuntu Bionic Follow up of r316577 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@316578 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Driver/Distro.h b/include/clang/Driver/Distro.h index 6574fbca38..f079ceb73e 100644 --- a/include/clang/Driver/Distro.h +++ b/include/clang/Driver/Distro.h @@ -112,7 +112,7 @@ public: } bool IsUbuntu() const { - return DistroVal >= UbuntuHardy && DistroVal <= UbuntuArtful; + return DistroVal >= UbuntuHardy && DistroVal <= UbuntuBionic; } /// @}