CodeQL library for C/C++
codeql/cpp-all 0.7.2 ( changelog , source )

Member predicate Parameter :: getName

Gets the canonical name, or names, of this parameter.

The canonical names are the first non-empty category from the following list:

  1. The name given to the parameter at the function’s definition or (for catch block parameters) at the catch block.
  2. A name given to the parameter at a function declaration.
  3. The name “(unnamed parameter i)” where i is the index of the parameter.
string getName ( )