CodeQL library for C/C++
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)