We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a41028 commit aa7a0e6Copy full SHA for aa7a0e6
2 files changed
cpp/ql/src/localDefinitions.ql
@@ -4,6 +4,7 @@
4
* for jump-to-definition in the code viewer.
5
* @kind definitions
6
* @id cpp/jump-to-definition
7
+ * @tags local-definitions
8
*/
9
10
import definitions
cpp/ql/src/localReferences.ql
@@ -4,18 +4,17 @@
+ * @tags local-references
11
12
external string selectedSourceFile();
13
14
cached File getEncodedFile(string name) {
- result.getAbsolutePath().replaceAll(":", "_") = name
15
+ result.getAbsolutePath().replaceAll(":", "_") = name
16
}
17
-
18
19
from Top e, Top def, string kind
20
where def = definitionOf(e, kind) and def.getFile() = getEncodedFile(selectedSourceFile())
21
select e, def, kind
0 commit comments