]> git.ipfire.org Git - thirdparty/glibc.git/commit
Annotate swtich fall-through
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Tue, 28 Oct 2025 17:08:30 +0000 (14:08 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Wed, 29 Oct 2025 15:54:01 +0000 (12:54 -0300)
commit970364dac00b38333e5b2d91c90d11e80141d265
treed377fe0f387866a60bdbbc4d2e54b10e45b438d4
parent543ddd628f731ef2080c07f7abe3476b3fc86d11
Annotate swtich fall-through

The clang default to warning for missing fall-through and it does
not support all comment-like annotation that gcc does.  Use C23
[[fallthrough]] annotation instead.
proper attribute instead.

Reviewed-by: Collin Funk <collin.funk1@gmail.com>
41 files changed:
elf/dl-exception.c
elf/dl-find_object.h
elf/dl-lookup.c
elf/ldconfig.c
elf/rtld.c
iconv/gconv_charset.c
iconvdata/cns11643.h
inet/ruserpass.c
intl/Makefile
locale/programs/charmap-kw.h
locale/programs/charmap.c
locale/programs/locfile-kw.h
locale/programs/repertoire.c
malloc/mcheck-impl.c
misc/mntent_r.c
nis/nis_call.c
nptl/pthread_mutex_trylock.c
nptl/pthread_mutex_unlock.c
nss/digits_dots.c
nss/nss_hash.c
posix/execvpe.c
posix/fnmatch.c
posix/regex_internal.h
posix/wordexp.c
resolv/base64.c
resolv/ns_ttl.c
resolv/nss_dns/dns-host.c
resolv/res_hconf.c
resolv/res_query.c
stdio-common/printf-parsemb.c
stdio-common/vfscanf-internal.c
sunrpc/svc_tcp.c
sunrpc/svc_unix.c
sunrpc/xdr.c
sysdeps/aarch64/fpu/fpu_control.h
sysdeps/ieee754/ldbl-96/e_lgammal_r.c
sysdeps/x86/cpu-features.c
sysdeps/x86/readelflib.c
sysdeps/x86_64/dl-machine.h
time/strftime_l.c
time/strptime_l.c