This is an archive of the discontinued LLVM Phabricator instance.

[ExprConstant] Unify handling of array init with lvalues.
AbandonedPublic

Authored by efriedma on Jan 23 2019, 7:19 PM.

Details

Reviewers
rsmith
Summary

This should have no functional effect; evaluation is still generating the same result. But the assertions and comments should make it more clear what's actually happening. Part of a fix to https://bugs.llvm.org/show_bug.cgi?id=40430.

It's possible that instead of doing this, we should fix the AST so we don't have "lvalues" which aren't really lvalues.

Diff Detail

Repository
rC Clang

Event Timeline

efriedma created this revision.Jan 23 2019, 7:19 PM
efriedma abandoned this revision.Jan 24 2019, 7:02 PM

I'm now convinced this is the wrong approach.