summaryrefslogtreecommitdiffstats
path: root/clang/include/clang/Driver/Distro.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang/include/clang/Driver/Distro.h')
-rw-r--r--clang/include/clang/Driver/Distro.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/include/clang/Driver/Distro.h b/clang/include/clang/Driver/Distro.h
index 67dc764fb7d..da8f819dee9 100644
--- a/clang/include/clang/Driver/Distro.h
+++ b/clang/include/clang/Driver/Distro.h
@@ -65,6 +65,7 @@ public:
UbuntuCosmic,
UbuntuDisco,
UbuntuEoan,
+ UbuntuFocal,
UnknownDistro
};
@@ -118,7 +119,7 @@ public:
}
bool IsUbuntu() const {
- return DistroVal >= UbuntuHardy && DistroVal <= UbuntuEoan;
+ return DistroVal >= UbuntuHardy && DistroVal <= UbuntuFocal;
}
bool IsAlpineLinux() const {
OpenPOWER on IntegriCloud