bind9/doc/dev
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
..
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 Simplify way we tag unreachable code with only ISC_UNREACHABLE() 2022-03-25 09:33:51 +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