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 @@ -73,6 +73,7 @@ class Distro {
73
73
UbuntuGroovy,
74
74
UbuntuHirsute,
75
75
UbuntuImpish,
76
+ UbuntuJammy,
76
77
UnknownDistro
77
78
};
78
79
@@ -124,7 +125,7 @@ class Distro {
124
125
}
125
126
126
127
bool IsUbuntu () const {
127
- return DistroVal >= UbuntuHardy && DistroVal <= UbuntuImpish ;
128
+ return DistroVal >= UbuntuHardy && DistroVal <= UbuntuJammy ;
128
129
}
129
130
130
131
bool IsAlpineLinux () const { return DistroVal == AlpineLinux; }
Original file line number Diff line number Diff line change @@ -90,6 +90,7 @@ static Distro::DistroType DetectLsbRelease(llvm::vfs::FileSystem &VFS) {
90
90
.Case (" groovy" , Distro::UbuntuGroovy)
91
91
.Case (" hirsute" , Distro::UbuntuHirsute)
92
92
.Case (" impish" , Distro::UbuntuImpish)
93
+ .Case (" jammy" , Distro::UbuntuJammy)
93
94
.Default (Distro::UnknownDistro);
94
95
return Version;
95
96
}
You can’t perform that action at this time.
0 commit comments