CodeQL library for C/C++

Member predicate Parameter::getNameInBlock

Gets the name of this parameter in the given block (which should be the body of a function with which the parameter is associated).

DEPRECATED: this method was used in a previous implementation of getName, but is no longer in use.

string getNameInBlock(BlockStmt b)