bind9/bin/confgen
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
..
include Update the copyright information in all files in the repository 2022-01-11 12:22:09 +01:00
unix Update the copyright information in all files in the repository 2022-01-11 12:22:09 +01:00
win32 Update the copyright information in all files in the repository 2022-01-11 12:22:09 +01:00
.gitignore [master] update gitignore files; use rev-parse to get srcid 2014-06-17 13:49:30 -07:00
ddns-confgen.c Simplify way we tag unreachable code with only ISC_UNREACHABLE() 2022-03-25 09:33:51 +01:00
ddns-confgen.rst Split out ddns-confgen and tsig-keygen man pages 2022-03-10 21:56:15 +01:00
keygen.c Update the copyright information in all files in the repository 2022-01-11 12:22:09 +01:00
keygen.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
rndc-confgen.c Update the copyright information in all files in the repository 2022-01-11 12:22:09 +01:00
rndc-confgen.rst Update the copyright information in all files in the repository 2022-01-11 12:22:09 +01:00
tsig-keygen.rst Split out ddns-confgen and tsig-keygen man pages 2022-03-10 21:56:15 +01:00
util.c Update the copyright information in all files in the repository 2022-01-11 12:22:09 +01:00
util.h Update the copyright information in all files in the repository 2022-01-11 12:22:09 +01:00