bind9/bin/dig
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
win32 Add libssl libraries to Windows build 2020-12-09 10:46:16 +01:00
.gitignore [master] update gitignore files; use rev-parse to get srcid 2014-06-17 13:49:30 -07:00
dig.c Simplify way we tag unreachable code with only ISC_UNREACHABLE() 2022-03-25 09:33:51 +01:00
dig.rst Update the copyright information in all files in the repository 2022-01-11 12:22:09 +01:00
dighost.c Simplify way we tag unreachable code with only ISC_UNREACHABLE() 2022-03-25 09:33:51 +01:00
host.c Add FALLTHROUGH macro for __attribute__((fallthrough)) 2022-03-25 09:30:16 +01:00
host.rst Add missing backtick to host.rst 2022-01-16 08:02:26 +01:00
Makefile.in Update the copyright information in all files in the repository 2022-01-11 12:22:09 +01:00
nslookup.c Update the copyright information in all files in the repository 2022-01-11 12:22:09 +01:00
nslookup.rst Update the copyright information in all files in the repository 2022-01-11 12:22:09 +01:00