CodeQL library for C/C++
codeql/cpp-all 3.2.1-dev (changelog, source)
Search

Member predicate DeclStmt::getDeclaration

Gets the ith declaration declared by this ‘declaration’ statement.

For example, for

int i, j;

the result of getDeclaration(0) is i.

Declaration getDeclaration(int i)