Function ASTtools::getNumArgs#
Defined in File ASTtools.hh
Function Documentation#
-
size_t ASTtools::getNumArgs(const SgFunctionDeclaration *func)#
Returns the number of function arguments, including ‘this’ for member functions.
Examples: void foo (void); // 0 args void A::foo (void); // 1 arg, including ‘this’
void foo (int); // 1 arg void A::foo (int); // 2 args, including ‘this’