Skip to content

Commit f465402

Browse files
committed
Overlay.qll: remove overlay[local?] module; in favour of explicit annotations
1 parent db58135 commit f465402

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python/ql/lib/semmle/python/Overlay.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
/**
22
* Defines entity discard predicates for Python overlay analysis.
33
*/
4-
overlay[local?]
5-
module;
64

75
import python
86

@@ -143,6 +141,7 @@ private predicate discardVar(@py_base_var n) {
143141
)
144142
}
145143

144+
overlay[local]
146145
final private class DiscardableVar extends DiscardableBaseVar instanceof @py_variable {
147146
override string getPath() {
148147
exists(Discardable parent | result = parent.getPath() |
@@ -153,6 +152,7 @@ final private class DiscardableVar extends DiscardableBaseVar instanceof @py_var
153152
}
154153
}
155154

155+
overlay[local]
156156
final private class DiscardableSsaVar extends DiscardableBaseVar instanceof @py_ssa_var {
157157
override string getPath() {
158158
exists(DiscardableSsaVar other | result = other.getPath() |

0 commit comments

Comments
 (0)