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 {
78
78
UbuntuKinetic,
79
79
UbuntuLunar,
80
80
UbuntuMantic,
81
+ UbuntuNoble,
81
82
UnknownDistro
82
83
};
83
84
@@ -129,7 +130,7 @@ class Distro {
129
130
}
130
131
131
132
bool IsUbuntu () const {
132
- return DistroVal >= UbuntuHardy && DistroVal <= UbuntuMantic ;
133
+ return DistroVal >= UbuntuHardy && DistroVal <= UbuntuNoble ;
133
134
}
134
135
135
136
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) {
94
94
.Case (" kinetic" , Distro::UbuntuKinetic)
95
95
.Case (" lunar" , Distro::UbuntuLunar)
96
96
.Case (" mantic" , Distro::UbuntuMantic)
97
+ .Case (" noble" , Distro::UbuntuNoble)
97
98
.Default (Distro::UnknownDistro);
98
99
return Version;
99
100
}
You can’t perform that action at this time.
0 commit comments