CodeQL library for C/C++
codeql/cpp-all 1.1.2-dev (changelog, source)

Member predicate Function::isPrototyped

Holds if this function has a prototyped interface.

Functions generally have a prototyped interface, unless they are K&R-style functions either without any forward function declaration, or with all the forward declarations omitting the parameters of the function.

predicate isPrototyped()