Skip to content

Commit 32b55f3

Browse files
committed
Add support of the next Ubuntu (Ubuntu 25.04 - Plucky Puffin)
1 parent 29097dd commit 32b55f3

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
@@ -80,6 +80,7 @@ class Distro {
8080
UbuntuMantic,
8181
UbuntuNoble,
8282
UbuntuOracular,
83+
UbuntuPlucky,
8384
UnknownDistro
8485
};
8586

@@ -131,7 +132,7 @@ class Distro {
131132
}
132133

133134
bool IsUbuntu() const {
134-
return DistroVal >= UbuntuHardy && DistroVal <= UbuntuOracular;
135+
return DistroVal >= UbuntuHardy && DistroVal <= UbuntuPlucky;
135136
}
136137

137138
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("mantic", Distro::UbuntuMantic)
9797
.Case("noble", Distro::UbuntuNoble)
9898
.Case("oracular", Distro::UbuntuOracular)
99+
.Case("plucky", Distro::UbuntuPlucky)
99100
.Default(Distro::UnknownDistro);
100101
return Version;
101102
}

0 commit comments

Comments
 (0)