C++: Fix FP by special-casing compound assignments in 'asExprInternal'.

This commit is contained in:
Mathias Vorreiter Pedersen
2023-12-04 11:29:51 +00:00
parent ce28c9b485
commit 359b15bb60
3 changed files with 2 additions and 3 deletions

View File

@@ -2069,7 +2069,7 @@ module ExprFlowCached {
result = n.asExpr()
or
result = n.asDefinition() and
result instanceof CrementOperation
(result instanceof CrementOperation or result instanceof AssignOperation)
)
}