bind9/lib/isccfg
Ondřej Surý 128c550a95 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 08:42:16 +01:00
..
include add a CFG_CLAUSEFLAG_NODOC flag for use with outdated terms 2022-02-25 16:51:44 -08:00
tests Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
aclconf.c Simplify way we tag unreachable code with only ISC_UNREACHABLE() 2022-03-25 08:42:16 +01:00
dnsconf.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
kaspconf.c Check dnssec-policy key roles for validity 2022-03-08 14:28:53 +11:00
log.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
Makefile.am tls and http configuration code was unnecessarily complex 2021-02-03 12:06:17 +01:00
namedconf.c Simplify way we tag unreachable code with only ISC_UNREACHABLE() 2022-03-25 08:42:16 +01:00
parser.c Simplify way we tag unreachable code with only ISC_UNREACHABLE() 2022-03-25 08:42:16 +01:00