]> granicus.if.org Git - clang/commitdiff
Also update IsUbuntu() with Ubuntu Bionic
authorSylvestre Ledru <sylvestre@debian.org>
Wed, 25 Oct 2017 14:23:27 +0000 (14:23 +0000)
committerSylvestre Ledru <sylvestre@debian.org>
Wed, 25 Oct 2017 14:23:27 +0000 (14:23 +0000)
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

index 6574fbca381f2794b15fd07a779dcea6d9fa993e..f079ceb73ec68f294b6f5c0f5283be06afc49643 100644 (file)
@@ -112,7 +112,7 @@ public:
   }
 
   bool IsUbuntu() const {
-    return DistroVal >= UbuntuHardy && DistroVal <= UbuntuArtful;
+    return DistroVal >= UbuntuHardy && DistroVal <= UbuntuBionic;
   }
 
   /// @}