We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 262cb99 + 6df9bc8 commit d6f6d67Copy full SHA for d6f6d67
cpp/ql/src/semmle/code/cpp/valuenumbering/GlobalValueNumbering.qll
@@ -312,7 +312,7 @@ private predicate analyzableLocalScopeVariable(VariableAccess access) {
312
strictcount (SsaDefinition def, Variable v | def.getAUse(v) = access | v) = 1 and
313
count (SsaDefinition def, Variable v
314
| def.getAUse(v) = access
315
- | def.getDefiningValue(v)) <= 1 and
+ | def.getDefiningValue(v).getFullyConverted()) <= 1 and
316
not analyzableConst(access)
317
}
318
0 commit comments