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