File tree Expand file tree Collapse file tree 2 files changed +5
-9
lines changed
python/ql/src/experimental/typetracking Expand file tree Collapse file tree 2 files changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -78,12 +78,6 @@ module StepSummary {
7878 }
7979}
8080
81- /** Holds if it's reasonable to expect the data flow step from `nodeFrom` to `nodeTo` to preserve types. */
82- private predicate typePreservingStep ( Node nodeFrom , Node nodeTo ) {
83- simpleLocalFlowStep ( nodeFrom , nodeTo ) or
84- jumpStep ( nodeFrom , nodeTo )
85- }
86-
8781/**
8882 * A utility class that is equivalent to `boolean` but does not require type joining.
8983 */
Original file line number Diff line number Diff line change @@ -6,9 +6,11 @@ class Node = DataFlowPublic::Node;
66
77class LocalSourceNode = DataFlowPublic:: LocalSourceNode ;
88
9- predicate jumpStep = DataFlowPrivate:: jumpStep / 2 ;
10-
11- predicate simpleLocalFlowStep = DataFlowPrivate:: simpleLocalFlowStep / 2 ;
9+ /** Holds if it's reasonable to expect the data flow step from `nodeFrom` to `nodeTo` to preserve types. */
10+ predicate typePreservingStep ( Node nodeFrom , Node nodeTo ) {
11+ DataFlowPrivate:: simpleLocalFlowStep ( nodeFrom , nodeTo ) or
12+ DataFlowPrivate:: jumpStep ( nodeFrom , nodeTo )
13+ }
1214
1315/**
1416 * Gets the name of a possible piece of content. This will usually include things like
You can’t perform that action at this time.
0 commit comments