Author: sylvestre
Date: Wed Oct 25 07:23:27 2017
New Revision: 316578

URL: http://llvm.org/viewvc/llvm-project?rev=316578&view=rev
Log:
Also update IsUbuntu() with Ubuntu Bionic
Follow up of r316577


Modified:
    cfe/trunk/include/clang/Driver/Distro.h

Modified: cfe/trunk/include/clang/Driver/Distro.h
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Driver/Distro.h?rev=316578&r1=316577&r2=316578&view=diff
==============================================================================
--- cfe/trunk/include/clang/Driver/Distro.h (original)
+++ cfe/trunk/include/clang/Driver/Distro.h Wed Oct 25 07:23:27 2017
@@ -112,7 +112,7 @@ public:
   }
 
   bool IsUbuntu() const {
-    return DistroVal >= UbuntuHardy && DistroVal <= UbuntuArtful;
+    return DistroVal >= UbuntuHardy && DistroVal <= UbuntuBionic;
   }
 
   /// @}


_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to