Skip to content

Commit bc1dd45

Browse files
committed
Dataflow: Make private
1 parent 9429e5c commit bc1dd45

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

shared/dataflow/codeql/dataflow/internal/DataFlowImpl.qll

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2557,7 +2557,7 @@ module MakeImpl<LocationSig Location, InputSig<Location> Lang> {
25572557
predicate isArbitrarySink() { this instanceof TStagePathNodeSinkGrp }
25582558
}
25592559

2560-
class StagePathNodeSrcGrp extends StagePathNodeImpl, TStagePathNodeSrcGrp {
2560+
private class StagePathNodeSrcGrp extends StagePathNodeImpl, TStagePathNodeSrcGrp {
25612561
override string toString() { result = "<any source>" }
25622562

25632563
override Location getLocation() { result.hasLocationInfo("", 0, 0, 0, 0) }
@@ -2567,7 +2567,7 @@ module MakeImpl<LocationSig Location, InputSig<Location> Lang> {
25672567
override FlowState getState() { none() }
25682568
}
25692569

2570-
class StagePathNodeSinkGrp extends StagePathNodeImpl, TStagePathNodeSinkGrp {
2570+
private class StagePathNodeSinkGrp extends StagePathNodeImpl, TStagePathNodeSinkGrp {
25712571
override string toString() { result = "<any sink>" }
25722572

25732573
override Location getLocation() { result.hasLocationInfo("", 0, 0, 0, 0) }
@@ -2577,7 +2577,11 @@ module MakeImpl<LocationSig Location, InputSig<Location> Lang> {
25772577
override FlowState getState() { none() }
25782578
}
25792579

2580-
class StagePathNodeMid extends StagePathNodeImpl, TStagePathNodeMid {
2580+
/**
2581+
* An intermediate flow graph node. This is a tuple consisting of a node,
2582+
* a `FlowState`, a call context, a summary context, a tracked type, and an access path.
2583+
*/
2584+
private class StagePathNodeMid extends StagePathNodeImpl, TStagePathNodeMid {
25812585
NodeEx node;
25822586
FlowState state;
25832587
Cc cc;

0 commit comments

Comments
 (0)