We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2b0ad2d + 50b0d42 commit a981350Copy full SHA for a981350
cpp/ql/src/semmle/code/cpp/dataflow/internal/DataFlowUtil.qll
@@ -655,7 +655,7 @@ private module FieldFlow {
655
exists(FieldConfiguration cfg | cfg.hasFlow(node1, node2)) and
656
// This configuration should not be able to cross function boundaries, but
657
// we double-check here just to be sure.
658
- node1.getFunction() = node2.getFunction()
+ node1.getEnclosingCallable() = node2.getEnclosingCallable()
659
}
660
661
0 commit comments