[PATCH] D76764: [AST] Build recovery expressions for nonexistent member exprs.
Sam McCall via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 25 05:22:45 PDT 2020
sammccall accepted this revision.
sammccall added a comment.
This revision is now accepted and ready to land.
Nice!
================
Comment at: clang/lib/Parse/ParseExpr.cpp:2107
+ } else if (OrigLHS && Name.isValid()) {
+ // Preserve the member expr if the LHS is an invalid members.
+ LHS = Actions.CreateRecoveryExpr(OrigLHS->getBeginLoc(),
----------------
preserve the LHS if the RHS is an invalid member?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D76764/new/
https://reviews.llvm.org/D76764
More information about the cfe-commits
mailing list