From d426f1efaf37aa44ab1ea2dfacaa23da9d8005ff Mon Sep 17 00:00:00 2001 From: Rasmus Wriedt Larsen Date: Wed, 17 Mar 2021 16:01:20 +0100 Subject: [PATCH] Docs: Highlight need for explicit import of DataFlow lib at least in some langauges --- docs/codeql/writing-codeql-queries/creating-path-queries.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/codeql/writing-codeql-queries/creating-path-queries.rst b/docs/codeql/writing-codeql-queries/creating-path-queries.rst index 836e7d19585..60723f488e1 100644 --- a/docs/codeql/writing-codeql-queries/creating-path-queries.rst +++ b/docs/codeql/writing-codeql-queries/creating-path-queries.rst @@ -55,6 +55,8 @@ You should use the following template: */ import + // For some languages (Java/C++/Python) you need to explicitly import the data flow library, such as + // import semmle.code.java.dataflow.DataFlow import DataFlow::PathGraph ...