Page MenuHomePhabricator

PR45879: Keep evaluated expression in LValue object
Needs ReviewPublic

Authored by sepavloff on May 31 2021, 4:09 AM.

Details

Reviewers
rsmith
Summary

Class LValue keeps result of lvalue evaluation. In some analyses it is
also necessary to have access to the original expression. This change
adds new member to LValue to keep the expression and initializes this
member when an lvalue is evaluated using LValueExprEvaluator.

With this change LHS expression becomes available in
HandleUnionActiveMemberChange and it becomes possible to fix PR45879.

Diff Detail