CodeQL library for C/C++
Search

Member predicate MessageExpr::getNumberOfArguments

Gets the number of arguments passed by this message expression.

In most cases, this equals the number of colons in the selector, but this needn’t be the case for variadic methods like “-initWithFormat:”, which can have more than one argument.

int getNumberOfArguments()