bind9/bin/tools
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 Remove genrandom command and all usage of specific random files throughout the system test suite 2018-05-16 09:54:35 +02:00
arpaname.c Update the copyright information in all files in the repository 2022-01-11 12:22:09 +01:00
arpaname.rst Update the copyright information in all files in the repository 2022-01-11 12:22:09 +01:00
dnstap-read.c Update the copyright information in all files in the repository 2022-01-11 12:22:09 +01:00
dnstap-read.rst 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
mdig.c Simplify way we tag unreachable code with only ISC_UNREACHABLE() 2022-03-25 09:33:51 +01:00
mdig.rst Update the copyright information in all files in the repository 2022-01-11 12:22:09 +01:00
named-journalprint.c Update the copyright information in all files in the repository 2022-01-11 12:22:09 +01:00
named-journalprint.rst Update the copyright information in all files in the repository 2022-01-11 12:22:09 +01:00
named-nzd2nzf.c Update the copyright information in all files in the repository 2022-01-11 12:22:09 +01:00
named-nzd2nzf.rst Update the copyright information in all files in the repository 2022-01-11 12:22:09 +01:00
named-rrchecker.c Update the copyright information in all files in the repository 2022-01-11 12:22:09 +01:00
named-rrchecker.rst Update the copyright information in all files in the repository 2022-01-11 12:22:09 +01:00
nsec3hash.c Update the copyright information in all files in the repository 2022-01-11 12:22:09 +01:00
nsec3hash.rst Update the copyright information in all files in the repository 2022-01-11 12:22:09 +01:00