1
Description: Update the list of Ubuntu release names
3
Author: Graham Inggs <ginggs@debian.org>
4
Last-Update: 2023-04-29
6
Index: llvm-toolchain-17-17.0.3/clang/include/clang/Driver/Distro.h
7
===================================================================
8
--- llvm-toolchain-17-17.0.3.orig/clang/include/clang/Driver/Distro.h
9
+++ llvm-toolchain-17-17.0.3/clang/include/clang/Driver/Distro.h
21
bool IsUbuntu() const {
22
- return DistroVal >= UbuntuHardy && DistroVal <= UbuntuMantic;
23
+ return DistroVal >= UbuntuHardy && DistroVal <= UbuntuNoble;
26
bool IsAlpineLinux() const { return DistroVal == AlpineLinux; }
27
Index: llvm-toolchain-17-17.0.3/clang/lib/Driver/Distro.cpp
28
===================================================================
29
--- llvm-toolchain-17-17.0.3.orig/clang/lib/Driver/Distro.cpp
30
+++ llvm-toolchain-17-17.0.3/clang/lib/Driver/Distro.cpp
32
.Case("kinetic", Distro::UbuntuKinetic)
33
.Case("lunar", Distro::UbuntuLunar)
34
.Case("mantic", Distro::UbuntuMantic)
35
+ .Case("noble", Distro::UbuntuNoble)
36
.Default(Distro::UnknownDistro);