@@ -54,40 +54,40 @@ int getCfgInconsistencyCounts(string type) {
54
54
// - `codeql.rust.controlflow.internal.CfgConsistency` (this file)
55
55
// - `shared.controlflow.codeql.controlflow.Cfg`
56
56
type = "Non-unique set representation" and
57
- result = count ( CfgImpl:: Splits ss | Consistency :: nonUniqueSetRepresentation ( ss , _) | ss )
57
+ result = count ( CfgImpl:: Splits ss | nonUniqueSetRepresentation ( ss , _) | ss )
58
58
or
59
59
type = "Splitting invariant 2" and
60
- result = count ( AstNode n | Consistency :: breakInvariant2 ( n , _, _, _, _, _) | n )
60
+ result = count ( AstNode n | breakInvariant2 ( n , _, _, _, _, _) | n )
61
61
or
62
62
type = "Splitting invariant 3" and
63
- result = count ( AstNode n | Consistency :: breakInvariant3 ( n , _, _, _, _, _) | n )
63
+ result = count ( AstNode n | breakInvariant3 ( n , _, _, _, _, _) | n )
64
64
or
65
65
type = "Splitting invariant 4" and
66
- result = count ( AstNode n | Consistency :: breakInvariant4 ( n , _, _, _, _, _) | n )
66
+ result = count ( AstNode n | breakInvariant4 ( n , _, _, _, _, _) | n )
67
67
or
68
68
type = "Splitting invariant 5" and
69
- result = count ( AstNode n | Consistency :: breakInvariant5 ( n , _, _, _, _, _) | n )
69
+ result = count ( AstNode n | breakInvariant5 ( n , _, _, _, _, _) | n )
70
70
or
71
71
type = "Multiple successors of the same type" and
72
- result = count ( CfgNode n | Consistency :: multipleSuccessors ( n , _, _) | n )
72
+ result = count ( CfgNode n | multipleSuccessors ( n , _, _) | n )
73
73
or
74
74
type = "Simple and normal successors" and
75
- result = count ( CfgNode n | Consistency :: simpleAndNormalSuccessors ( n , _, _, _, _) | n )
75
+ result = count ( CfgNode n | simpleAndNormalSuccessors ( n , _, _, _, _) | n )
76
76
or
77
77
type = "Dead end" and
78
- result = count ( CfgNode n | Consistency :: deadEnd ( n ) | n )
78
+ result = count ( CfgNode n | deadEnd ( n ) | n )
79
79
or
80
80
type = "Non-unique split kind" and
81
- result = count ( CfgImpl:: SplitImpl si | Consistency :: nonUniqueSplitKind ( si , _) | si )
81
+ result = count ( CfgImpl:: SplitImpl si | nonUniqueSplitKind ( si , _) | si )
82
82
or
83
83
type = "Non-unique list order" and
84
- result = count ( CfgImpl:: SplitKind sk | Consistency :: nonUniqueListOrder ( sk , _) | sk )
84
+ result = count ( CfgImpl:: SplitKind sk | nonUniqueListOrder ( sk , _) | sk )
85
85
or
86
86
type = "Multiple toStrings" and
87
- result = count ( CfgNode n | Consistency :: multipleToString ( n , _) | n )
87
+ result = count ( CfgNode n | multipleToString ( n , _) | n )
88
88
or
89
89
type = "CFG scope lacks initial AST node" and
90
- result = count ( CfgScope s | Consistency :: scopeNoFirst ( s ) | s )
90
+ result = count ( CfgScope s | scopeNoFirst ( s ) | s )
91
91
or
92
92
type = "Non-PostOrderTree Expr node" and
93
93
result = count ( Expr e | nonPostOrderExpr ( e , _) | e )
0 commit comments