Skip to content

Commit 621102c

Browse files
committed
WIP: Test splitting reduction.
1 parent e8ddac0 commit 621102c

File tree

1 file changed

+6
-4
lines changed
  • csharp/ql/lib/semmle/code/csharp/controlflow/internal

1 file changed

+6
-4
lines changed

csharp/ql/lib/semmle/code/csharp/controlflow/internal/Splitting.qll

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,16 @@ private module Cached {
4040
success in [false, true]
4141
} or
4242
TFinallySplit(FinallySplitting::FinallySplitType type, int nestLevel) {
43-
nestLevel = any(Statements::TryStmtTree t).nestLevel()
43+
// nestLevel = any(Statements::TryStmtTree t).nestLevel()
44+
none()
4445
} or
4546
TExceptionHandlerSplit(ExceptionClass ec) or
4647
TBooleanSplit(BooleanSplitting::BooleanSplitSubKind kind, boolean branch) {
47-
kind.startsSplit(_) and
48-
branch in [false, true]
48+
// kind.startsSplit(_) and
49+
// branch in [false, true]
50+
none()
4951
} or
50-
TLoopSplit(LoopSplitting::AnalyzableLoopStmt loop)
52+
TLoopSplit(LoopSplitting::AnalyzableLoopStmt loop) { none() }
5153
}
5254

5355
import Cached

0 commit comments

Comments
 (0)