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