@@ -15,7 +15,7 @@ private import DataFlowImplStage1
1515
1616module MakeImpl< LocationSig Location, InputSig< Location > Lang> {
1717 private import Lang
18- private import DataFlowMakeCore < Location , Lang >
18+ private import DataFlowMake < Location , Lang >
1919 private import MakeImplStage1< Location , Lang >
2020 private import DataFlowImplCommon:: MakeImplCommon< Location , Lang >
2121 private import DataFlowImplCommonPublic
@@ -145,7 +145,8 @@ module MakeImpl<LocationSig Location, InputSig<Location> Lang> {
145145
146146 /**
147147 * Holds if sources and sinks should be filtered to only include those that
148- * are in the overlay database. This only has an effect when running
148+ * may lead to a flow path with either a source or a sink in the overlay database.
149+ * This only has an effect when running
149150 * in overlay-informed incremental mode. This should be used in conjunction
150151 * with the `OverlayImpl` implementation to merge the base results back in.
151152 */
@@ -184,22 +185,22 @@ module MakeImpl<LocationSig Location, InputSig<Location> Lang> {
184185 * an initial stage 1 pruning with merging of overlay and base results.
185186 */
186187 module OverlayImpl< FullStateConfigSig Config, Stage1Output< Config:: FlowState > Stage1> {
187- module Base = Impl< Config , Stage1 > ;
188+ private module Flow = Impl< Config , Stage1 > ;
188189
189- import Base
190+ import Flow
190191
191192 /**
192193 * Holds if data can flow from `source` to `sink`.
193194 *
194195 * This is a local predicate that only has results local to the overlay/base database.
195196 */
196- predicate flowLocal ( Node source , Node sink ) = forceLocal( Base :: flow / 2 ) ( source , sink )
197+ private predicate flowLocal ( Node source , Node sink ) = forceLocal( Flow :: flow / 2 ) ( source , sink )
197198
198199 /**
199200 * Holds if data can flow from `source` to `sink`.
200201 */
201202 predicate flow ( Node source , Node sink ) {
202- Base :: flow ( source , sink )
203+ Flow :: flow ( source , sink )
203204 or
204205 // If we are overlay informed (i.e. we are not diff-informed), we
205206 // merge in the local results which includes the base database results.
@@ -208,15 +209,15 @@ module MakeImpl<LocationSig Location, InputSig<Location> Lang> {
208209
209210 /**
210211 * Holds if data can flow from some source to `sink`.
211- * This predicate that only has results local to the overlay/base database.
212+ * This is a local predicate that only has results local to the overlay/base database.
212213 */
213- predicate flowToLocal ( Node sink ) = forceLocal( Base :: flowTo / 1 ) ( sink )
214+ predicate flowToLocal ( Node sink ) = forceLocal( Flow :: flowTo / 1 ) ( sink )
214215
215216 /**
216217 * Holds if data can flow from some source to `sink`.
217218 */
218219 predicate flowTo ( Node sink ) {
219- Base :: flowTo ( sink )
220+ Flow :: flowTo ( sink )
220221 or
221222 // If we are overlay informed (i.e. we are not diff-informed), we
222223 // merge in the local results which includes the base database results.
0 commit comments