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

Predicate var_definition

Extended version of definition that also includes parameters.

Import path

import cpp
predicate var_definition(StackVariable v, ControlFlowNode node)