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

Predicate getNodeEnclosingCallable

Gets the enclosing callable of n. Unlike n.getEnclosingCallable(), this predicate ensures that joins go from n to the result instead of the other way around.

Import path

import semmle.code.cpp.ir.dataflow.internal.DataFlowImplCommon
DataFlowCallable getNodeEnclosingCallable ( Node n )