File tree Expand file tree Collapse file tree 2 files changed +1
-11
lines changed
swift/ql/test/library-tests/controlflow/graph Expand file tree Collapse file tree 2 files changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -4811,10 +4811,6 @@ cfg.swift:
4811
4811
#-----| -> exit init
4812
4812
4813
4813
# 378| init
4814
- <<<<<<< HEAD
4815
- =======
4816
- #-----| -> TBD (OtherConstructorDeclRefExpr)
4817
- >>>>>>> d532f3b4d5 (Swift: extract system and builtin modules separately)
4818
4814
#-----| -> call to ...
4819
4815
4820
4816
# 379| super
@@ -4829,15 +4825,9 @@ cfg.swift:
4829
4825
# 379| self = ...
4830
4826
#-----| -> return
4831
4827
4832
- # 379| TBD (OtherConstructorDeclRefExpr)
4833
- #-----| -> super
4834
-
4835
- <<<<<<< HEAD
4836
- =======
4837
4828
# 379| call to ...
4838
4829
#-----| -> super
4839
4830
4840
- >>>>>>> d532f3b4d5 (Swift: extract system and builtin modules separately)
4841
4831
# 379| 0
4842
4832
#-----| -> call to ...
4843
4833
Original file line number Diff line number Diff line change @@ -6,5 +6,5 @@ import codeql.swift.controlflow.ControlFlowGraph
6
6
import codeql.swift.controlflow.internal.ControlFlowGraphImpl:: TestOutput
7
7
8
8
class MyRelevantNode extends RelevantNode {
9
- MyRelevantNode ( ) { exists ( this ) }
9
+ MyRelevantNode ( ) { getScope ( ) . getLocation ( ) . getFile ( ) . getName ( ) . matches ( "%swift/ql/test%" ) }
10
10
}
You can’t perform that action at this time.
0 commit comments