]> Savannah Git Hosting - gnulib.git/commit
Silence warnings from clang 10 with -Wimplicit-fallthrough.
authorBruno Haible <bruno@clisp.org>
Sun, 9 Aug 2020 18:09:36 +0000 (20:09 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 9 Aug 2020 18:09:36 +0000 (20:09 +0200)
commitd371c5765e07730b544c5b560f2abd40fb4e64b8
tree69c35681dfaea46e7b7a408b508399cbfb23097a
parent85e2c1bf69761131f77e79246e2ec499b829d01b
Silence warnings from clang 10 with -Wimplicit-fallthrough.

* lib/dfa.c (FALLTHROUGH): Use __attribute__ __fallthrough__ also on
clang >= 10.
* lib/fnmatch.c (FALLTHROUGH): Likewise.
* lib/fts.c (FALLTHROUGH): Likewise.
* tests/macros.h (FALLTHROUGH): Likewise.
* lib/regex_internal.h (FALLTHROUGH): Likewise.
* config/srclist.txt: Mark it as needing sync with glibc.
ChangeLog
config/srclist.txt
lib/dfa.c
lib/fnmatch.c
lib/fts.c
lib/regex_internal.h
tests/macros.h