r316578 - Also update IsUbuntu() with Ubuntu Bionic
Sylvestre Ledru via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 25 07:23:27 PDT 2017
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;
}
/// @}
More information about the cfe-commits
mailing list