Skip to content

Commit 60f08c5

Browse files
committed
Dataflow: Remove diff from overlay informed dataflow.
1 parent 73356e8 commit 60f08c5

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

shared/dataflow/codeql/dataflow/internal/DataFlowImplStage1.qll

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -189,13 +189,6 @@ module MakeImplStage1<LocationSig Location, InputSig<Location> Lang> {
189189
// If we are in global evaluation with an overlay present, restrict
190190
// sources to those visible in the overlay or
191191
isOverlayNode(source)
192-
or
193-
// those from files in the diff. The diff is a subset of the overlay
194-
// in the common case, but this is not guaranteed. Including the diff here
195-
// ensures that we re-evaluate flow that passes from a file in the
196-
// diff (but in the base), through a file in the overlay with
197-
// possibly important changes, back to the base.
198-
isDiffFileNode(source)
199192
)
200193
}
201194

@@ -215,8 +208,6 @@ module MakeImplStage1<LocationSig Location, InputSig<Location> Lang> {
215208
not isEvaluatingInOverlay()
216209
or
217210
isOverlayNode(sink)
218-
or
219-
isDiffFileNode(sink)
220211
)
221212
}
222213

0 commit comments

Comments
 (0)