File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
cpp/ql/src/semmle/code/cpp/dataflow/internal Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -112,8 +112,6 @@ private module PartialDefinitions {
112112 abstract class PartialDefinition extends Expr {
113113 ControlFlowNode node ;
114114
115- PartialDefinition ( ) { not this instanceof Conversion }
116-
117115 abstract deprecated predicate partiallyDefines ( Variable v ) ;
118116
119117 abstract deprecated predicate partiallyDefinesThis ( ThisExpr e ) ;
@@ -161,6 +159,7 @@ private module PartialDefinitions {
161159
162160 IteratorPartialDefinition ( ) {
163161 exists ( Expr convertedInner |
162+ not this instanceof Conversion and
164163 valueToUpdate ( convertedInner , this .getFullyConverted ( ) , node ) and
165164 innerDefinedExpr = convertedInner .getUnconverted ( ) and
166165 (
@@ -212,6 +211,7 @@ private module PartialDefinitions {
212211 Expr innerDefinedExpr ;
213212
214213 VariablePartialDefinition ( ) {
214+ not this instanceof Conversion and
215215 exists ( Expr convertedInner |
216216 valueToUpdate ( convertedInner , this .getFullyConverted ( ) , node ) and
217217 innerDefinedExpr = convertedInner .getUnconverted ( )
You can’t perform that action at this time.
0 commit comments