bind9/doc/dev
Ondřej Surý 673e53f81d Add FALLTHROUGH macro for __attribute__((fallthrough))
Gcc 7+ and Clang 10+ have implemented __attribute__((fallthrough)) which
is explicit version of the /* FALLTHROUGH */ comment we are currently
using.

Add and apply FALLTHROUGH macro that uses the attribute if available,
but does nothing on older compilers.

In one case (lib/dns/zone.c), using the macro revealed that we were
using the /* FALLTHROUGH */ comment in wrong place, remove that comment.

(cherry picked from commit fe7ce629f4)
2022-03-25 09:30:16 +01:00
..
autoconf Update the copyright information in all files in the repository 2022-01-11 12:22:09 +01:00
cvs-usage Update the copyright information in all files in the repository 2022-01-11 12:22:09 +01:00
DBC Update the copyright information in all files in the repository 2022-01-11 12:22:09 +01:00
dev.md Update the copyright information in all files in the repository 2022-01-11 12:22:09 +01:00
HOW-ADB-WORKS.txt Update the copyright information in all files in the repository 2022-01-11 12:22:09 +01:00
magic_numbers Update the copyright information in all files in the repository 2022-01-11 12:22:09 +01:00
rdata.md Update the copyright information in all files in the repository 2022-01-11 12:22:09 +01:00
release Update the copyright information in all files in the repository 2022-01-11 12:22:09 +01:00
results Update the copyright information in all files in the repository 2022-01-11 12:22:09 +01:00
style.md Add FALLTHROUGH macro for __attribute__((fallthrough)) 2022-03-25 09:30:16 +01:00
tests Update the copyright information in all files in the repository 2022-01-11 12:22:09 +01:00
unexpected Update the copyright information in all files in the repository 2022-01-11 12:22:09 +01:00