[PATCH] D101429: PR45879: Use LValue object to evaluate active union members

2021-05-31 Thread Serge Pavlov via Phabricator via cfe-commits
sepavloff abandoned this revision. sepavloff added a comment. Alternative implementation in in https://reviews.llvm.org/D103395. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D101429/new/ https://reviews.llvm.org/D101429 ___

[PATCH] D101429: PR45879: Use LValue object to evaluate active union members

2021-04-30 Thread Richard Smith - zygoloid via Phabricator via cfe-commits
rsmith requested changes to this revision. rsmith added a comment. This revision now requires changes to proceed. This change is not correct. The language rules only apply to particular syntactic forms, so we need to check for those exact syntactic forms here. Repository: rG LLVM Github Monor

[PATCH] D101429: PR45879: Use LValue object to evaluate active union members

2021-04-28 Thread Serge Pavlov via Phabricator via cfe-commits
sepavloff created this revision. sepavloff added a reviewer: rsmith. sepavloff requested review of this revision. Herald added a project: clang. The function HandleUnionActiveMemberChange determined union members that become active by analyzing LHS expression. It works for assignment operator but