Skip to content

Commit 112ffe7

Browse files
committed
Add support of the next Ubuntu (Ubuntu 25.10 - Questing Quokka)
1 parent 9efd798 commit 112ffe7

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

clang/include/clang/Driver/Distro.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ class Distro {
8181
UbuntuNoble,
8282
UbuntuOracular,
8383
UbuntuPlucky,
84+
UbuntuQuesting,
8485
UnknownDistro
8586
};
8687

@@ -132,7 +133,7 @@ class Distro {
132133
}
133134

134135
bool IsUbuntu() const {
135-
return DistroVal >= UbuntuHardy && DistroVal <= UbuntuPlucky;
136+
return DistroVal >= UbuntuHardy && DistroVal <= UbuntuQuesting;
136137
}
137138

138139
bool IsAlpineLinux() const { return DistroVal == AlpineLinux; }

clang/lib/Driver/Distro.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ static Distro::DistroType DetectLsbRelease(llvm::vfs::FileSystem &VFS) {
9696
.Case("noble", Distro::UbuntuNoble)
9797
.Case("oracular", Distro::UbuntuOracular)
9898
.Case("plucky", Distro::UbuntuPlucky)
99+
.Case("questing", Distro::UbuntuQuesting)
99100
.Default(Distro::UnknownDistro);
100101
return Version;
101102
}

0 commit comments

Comments
 (0)