File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
python/ql/lib/semmle/python Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 11/**
22 * Defines entity discard predicates for Python overlay analysis.
33 */
4- overlay [ local?]
5- module ;
64
75import python
86
@@ -143,6 +141,7 @@ private predicate discardVar(@py_base_var n) {
143141 )
144142}
145143
144+ overlay [ local]
146145final 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]
156156final private class DiscardableSsaVar extends DiscardableBaseVar instanceof @py_ssa_var {
157157 override string getPath ( ) {
158158 exists ( DiscardableSsaVar other | result = other .getPath ( ) |
You can’t perform that action at this time.
0 commit comments