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

Predicate nodeGetEnclosingCallable

Gets the callable in which this node occurs.

Import path

import semmle.code.cpp.ir.dataflow.internal.DataFlowPrivate
DataFlowCallable nodeGetEnclosingCallable(Node n)