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