bind9/bin/check
Ondřej Surý 75f9dd8e82 Simplify way we tag unreachable code with only ISC_UNREACHABLE()
Previously, the unreachable code paths would have to be tagged with:

    INSIST(0);
    ISC_UNREACHABLE();

There was also older parts of the code that used comment annotation:

    /* NOTREACHED */

Unify the handling of unreachable code paths to just use:

    UNREACHABLE();

The UNREACHABLE() macro now asserts when reached and also uses
__builtin_unreachable(); when such builtin is available in the compiler.

(cherry picked from commit 584f0d7a7e)
2022-03-25 09:33:51 +01:00
..
win32 Add libssl libraries to Windows build 2020-12-09 10:46:16 +01:00
.gitignore added gitignore, removed cvsignore 2012-03-03 23:10:05 -08:00
check-tool.c Update the copyright information in all files in the repository 2022-01-11 12:22:09 +01:00
check-tool.h Update the copyright information in all files in the repository 2022-01-11 12:22:09 +01:00
Makefile.in Update the copyright information in all files in the repository 2022-01-11 12:22:09 +01:00
named-checkconf.c Simplify way we tag unreachable code with only ISC_UNREACHABLE() 2022-03-25 09:33:51 +01:00
named-checkconf.rst Update the copyright information in all files in the repository 2022-01-11 12:22:09 +01:00
named-checkzone.c Simplify way we tag unreachable code with only ISC_UNREACHABLE() 2022-03-25 09:33:51 +01:00
named-checkzone.rst Refer to RFC 4592 for DNS wildcards 2022-03-10 21:58:36 +01:00
named-compilezone.rst Split out named-compilezone and named-checkzone man pages 2022-03-10 21:58:35 +01:00