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

Predicate getSecondLevelScope

Gets the second-level scope containing the node n, if any.

Import path

import semmle.code.cpp.ir.dataflow.internal.DataFlowPrivate
DataFlowSecondLevelScope getSecondLevelScope(Node n)