CodeQL library for C/C++
codeql/cpp-all 0.12.10 (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()