Skip to content

Commit 6d1122c

Browse files
committed
JS: Mass overlay[local?]
1 parent 1e74091 commit 6d1122c

File tree

294 files changed

+642
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

294 files changed

+642
-1
lines changed

javascript/ql/lib/Customizations.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,7 @@
88
* `FileSystemAccess`, or the `Source` and `Sink` classes associated with the security queries
99
* to model frameworks that are not covered by the standard library.
1010
*/
11+
overlay[local?]
12+
module;
1113

1214
import javascript

javascript/ql/lib/Declarations/Declarations.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
* Provides predicates for finding variable references and declarations
33
* in a given function or toplevel.
44
*/
5+
overlay[local?]
6+
module;
57

68
import javascript
79

javascript/ql/lib/Declarations/UnusedVariable.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/**
22
* Provides classes and predicates for the 'js/unused-local-variable' query.
33
*/
4+
overlay[local?]
5+
module;
46

57
import javascript
68
import LanguageFeatures.UnusedIndexVariable

javascript/ql/lib/Expressions/DOMProperties.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/**
22
* Provides predicates for working with the DOM type hierarchy.
33
*/
4+
overlay[local?]
5+
module;
46

57
import semmle.javascript.Externs
68

javascript/ql/lib/IDEContextual.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/**
22
* Provides shared predicates related to contextual queries in the code viewer.
33
*/
4+
overlay[local?]
5+
module;
46

57
import semmle.files.FileSystem
68
private import codeql.util.FileSystem

javascript/ql/lib/LanguageFeatures/UnusedIndexVariable.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* Provides a predicate for identifying unused index variables in loops.
33
*/
4-
overlay[local]
4+
overlay[local?]
55
module;
66

77
import javascript

javascript/ql/lib/default.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,7 @@
33
*
44
* Provides classes for working with JavaScript programs, as well as JSON, YAML and HTML.
55
*/
6+
overlay[local?]
7+
module;
68

79
import javascript

javascript/ql/lib/definitions.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
* Provides classes and predicates related to jump-to-definition links
33
* in the code viewer.
44
*/
5+
overlay[local?]
6+
module;
57

68
import javascript
79
import IDEContextual

javascript/ql/lib/external/ExternalArtifact.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/**
22
* Provides classes for working with external data.
33
*/
4+
overlay[local?]
5+
module;
46

57
import semmle.javascript.Locations
68

javascript/ql/lib/javascript.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/**
22
* Provides classes for working with JavaScript programs, as well as JSON, YAML and HTML.
33
*/
4+
overlay[local?]
5+
module;
46

57
import Customizations
68
import semmle.javascript.Aliases

0 commit comments

Comments
 (0)