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