Skip to content

Commit 4684bc9

Browse files
committed
C#: Add QL doc to startsSplits()
1 parent 3182274 commit 4684bc9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

csharp/ql/src/semmle/code/csharp/controlflow/ControlFlowGraph.qll

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2967,6 +2967,11 @@ module Internal {
29672967

29682968
/** Provides logic for calculating reachable control flow nodes. */
29692969
module Reachability {
2970+
/**
2971+
* Holds if `cfe` is a control flow element where the set of possible splits may
2972+
* be different from the set of possible splits for one of `cfe`'s predecessors.
2973+
* That is, `cfe` starts a new block of elements with the same set of splits.
2974+
*/
29702975
private predicate startsSplits(ControlFlowElement cfe) {
29712976
cfe = succEntry(_)
29722977
or

0 commit comments

Comments
 (0)