Skip to content

Commit 6283ffc

Browse files
committed
Add Swift to path query article
1 parent 40df3c0 commit 6283ffc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/codeql/writing-codeql-queries/creating-path-queries.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ You should use the following template:
5656
*/
5757
5858
import <language>
59-
// For some languages (Java/C++/Python) you need to explicitly import the data flow library, such as
60-
// import semmle.code.java.dataflow.DataFlow
59+
// For some languages (Java/C++/Python/Swift) you need to explicitly import the data flow library, such as
60+
// import semmle.code.java.dataflow.DataFlow or import codeql.swift.dataflow.DataFlow
6161
import DataFlow::PathGraph
6262
...
6363

0 commit comments

Comments
 (0)