Skip to content

Commit 36f980f

Browse files
committed
Swift: Hide summarized nodes from paths.
1 parent 277dbdf commit 36f980f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

swift/ql/lib/codeql/swift/dataflow/internal/DataFlowPrivate.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ private predicate hasPatternNode(PatternCfgNode n, Pattern p) {
282282
import Cached
283283

284284
/** Holds if `n` should be hidden from path explanations. */
285-
predicate nodeIsHidden(Node n) { none() }
285+
predicate nodeIsHidden(Node n) { n instanceof FlowSummaryNode }
286286

287287
private module ParameterNodes {
288288
abstract class ParameterNodeImpl extends NodeImpl {

0 commit comments

Comments
 (0)