CodeQL library for C/C++
codeql/cpp-all 0.12.10 (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)