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

Member predicate DeclarationEntry::getUnspecifiedType

Gets the type associated with this declaration entry after specifiers have been deeply stripped and typedefs have been resolved.

For variable declarations, get the type of the variable. For function declarations, get the return type of the function. For type declarations, get the type being declared.

Type getUnspecifiedType()