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

Member predicate Node::asVariable

Gets the variable corresponding to this node, if any. This can be used for modeling flow in and out of global variables.

Variable asVariable()