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

Member predicate DeclarationEntry::getType

Gets the type associated with this declaration entry.

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 getType()