Skip to content

Commit d426f1e

Browse files
committed
Docs: Highlight need for explicit import of DataFlow lib
at least in some langauges
1 parent 4f63584 commit d426f1e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ You should use the following template:
5555
*/
5656
5757
import <language>
58+
// For some languages (Java/C++/Python) you need to explicitly import the data flow library, such as
59+
// import semmle.code.java.dataflow.DataFlow
5860
import DataFlow::PathGraph
5961
...
6062

0 commit comments

Comments
 (0)