File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
swift/ql/lib/codeql/swift/dataflow/internal Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -106,12 +106,6 @@ private module Cached {
106
106
//or
107
107
// step from previous read to Phi node
108
108
localFlowSsaInput ( nodeFrom , def , nodeTo .asDefinition ( ) )
109
- or
110
- // flow through `try!` and similar constructs
111
- nodeFrom .asExpr ( ) = nodeTo .asExpr ( ) .( AnyTryExpr ) .getSubExpr ( )
112
- or
113
- // flow through `!`
114
- nodeFrom .asExpr ( ) = nodeTo .asExpr ( ) .( ForceValueExpr ) .getSubExpr ( )
115
109
)
116
110
or
117
111
exists ( ParamReturnKind kind , ExprCfgNode arg |
@@ -120,6 +114,12 @@ private module Cached {
120
114
)
121
115
or
122
116
nodeFrom .asExpr ( ) = nodeTo .asExpr ( ) .( InOutExpr ) .getSubExpr ( )
117
+ or
118
+ // flow through `try!` and similar constructs
119
+ nodeFrom .asExpr ( ) = nodeTo .asExpr ( ) .( AnyTryExpr ) .getSubExpr ( )
120
+ or
121
+ // flow through `!`
122
+ nodeFrom .asExpr ( ) = nodeTo .asExpr ( ) .( ForceValueExpr ) .getSubExpr ( )
123
123
}
124
124
125
125
/**
You can’t perform that action at this time.
0 commit comments