aboutsummaryrefslogtreecommitdiff
path: root/contrib/llvm-project/clang/include/clang/Driver/Distro.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/llvm-project/clang/include/clang/Driver/Distro.h')
-rw-r--r--contrib/llvm-project/clang/include/clang/Driver/Distro.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/contrib/llvm-project/clang/include/clang/Driver/Distro.h b/contrib/llvm-project/clang/include/clang/Driver/Distro.h
index 0d2a0939639e..a8de94163e8b 100644
--- a/contrib/llvm-project/clang/include/clang/Driver/Distro.h
+++ b/contrib/llvm-project/clang/include/clang/Driver/Distro.h
@@ -9,8 +9,8 @@
#ifndef LLVM_CLANG_DRIVER_DISTRO_H
#define LLVM_CLANG_DRIVER_DISTRO_H
-#include "llvm/ADT/Triple.h"
#include "llvm/Support/VirtualFileSystem.h"
+#include "llvm/TargetParser/Triple.h"
namespace clang {
namespace driver {
@@ -37,6 +37,8 @@ public:
DebianStretch,
DebianBuster,
DebianBullseye,
+ DebianBookworm,
+ DebianTrixie,
Exherbo,
RHEL5,
RHEL6,
@@ -72,6 +74,11 @@ public:
UbuntuGroovy,
UbuntuHirsute,
UbuntuImpish,
+ UbuntuJammy,
+ UbuntuKinetic,
+ UbuntuLunar,
+ UbuntuMantic,
+ UbuntuNoble,
UnknownDistro
};
@@ -119,11 +126,11 @@ public:
bool IsOpenSUSE() const { return DistroVal == OpenSUSE; }
bool IsDebian() const {
- return DistroVal >= DebianLenny && DistroVal <= DebianBullseye;
+ return DistroVal >= DebianLenny && DistroVal <= DebianTrixie;
}
bool IsUbuntu() const {
- return DistroVal >= UbuntuHardy && DistroVal <= UbuntuImpish;
+ return DistroVal >= UbuntuHardy && DistroVal <= UbuntuNoble;
}
bool IsAlpineLinux() const { return DistroVal == AlpineLinux; }