File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -78,6 +78,7 @@ class Distro {
7878 UbuntuKinetic,
7979 UbuntuLunar,
8080 UbuntuMantic,
81+ UbuntuNoble,
8182 UnknownDistro
8283 };
8384
@@ -129,7 +130,7 @@ class Distro {
129130 }
130131
131132 bool IsUbuntu () const {
132- return DistroVal >= UbuntuHardy && DistroVal <= UbuntuMantic ;
133+ return DistroVal >= UbuntuHardy && DistroVal <= UbuntuNoble ;
133134 }
134135
135136 bool IsAlpineLinux () const { return DistroVal == AlpineLinux; }
Original file line number Diff line number Diff line change @@ -94,6 +94,7 @@ static Distro::DistroType DetectLsbRelease(llvm::vfs::FileSystem &VFS) {
9494 .Case (" kinetic" , Distro::UbuntuKinetic)
9595 .Case (" lunar" , Distro::UbuntuLunar)
9696 .Case (" mantic" , Distro::UbuntuMantic)
97+ .Case (" noble" , Distro::UbuntuNoble)
9798 .Default (Distro::UnknownDistro);
9899 return Version;
99100}
You can’t perform that action at this time.
0 commit comments