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