CodeQL library for C/C++
codeql/cpp-all 0.12.6 (changelog, source)
Search

Member predicate Options::exits

Holds if a call to this function will never return.

By default, this holds for exit, _exit, _Exit, abort, __assert_fail, longjmp, __builtin_unreachable and any function with a noreturn or __noreturn__ attribute or noreturn specifier.

predicate exits(Function f)