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