diff options
Diffstat (limited to 'include/clang/Driver/Distro.h')
-rw-r--r-- | include/clang/Driver/Distro.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/clang/Driver/Distro.h b/include/clang/Driver/Distro.h index 4ab4e2ae99370..7b34a0925603e 100644 --- a/include/clang/Driver/Distro.h +++ b/include/clang/Driver/Distro.h @@ -61,6 +61,7 @@ public: UbuntuZesty, UbuntuArtful, UbuntuBionic, + UbuntuCosmic, UnknownDistro }; @@ -114,7 +115,7 @@ public: } bool IsUbuntu() const { - return DistroVal >= UbuntuHardy && DistroVal <= UbuntuBionic; + return DistroVal >= UbuntuHardy && DistroVal <= UbuntuCosmic; } bool IsAlpineLinux() const { |