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

llvm-svn: 316578

clang/include/clang/Driver/Distro.h

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