This is an archive of the discontinued LLVM Phabricator instance.

[AST] Build recovery expressions for nonexistent member exprs.
ClosedPublic

Authored by hokein on Mar 25 2020, 4:48 AM.

Details

Summary

Previously, we dropped the AST node for nonexistent member exprs.

Diff Detail

Event Timeline

hokein created this revision.Mar 25 2020, 4:48 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 25 2020, 4:48 AM
sammccall accepted this revision.Mar 25 2020, 5:22 AM

Nice!

clang/lib/Parse/ParseExpr.cpp
2109

preserve the LHS if the RHS is an invalid member?

This revision is now accepted and ready to land.Mar 25 2020, 5:22 AM
hokein updated this revision to Diff 252559.Mar 25 2020, 6:45 AM
hokein marked an inline comment as done.

address comment and fix a failing testcase.

This revision was automatically updated to reflect the committed changes.