From d26e800a52facae18ce2324dcd328ba575995c82 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Wed, 25 Oct 2017 14:23:27 +0000 Subject: [PATCH] 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 --- include/clang/Driver/Distro.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } /// @} -- 2.50.1