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