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

Member predicate Parameter::getType

Gets the type of this parameter.

Function parameters of array type are a special case in C/C++, as they are syntactic sugar for parameters of pointer type. The result is an array type for such parameters.

Type getType()