[PATCH] D120812: [AST] Use RecoveryExpr to model a DeclRefExpr which refers to an invalid Decl.

Sam McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 3 02:01:40 PST 2022


sammccall added a comment.

To preserve the decl, we could consider as a next step building a recoveryexpr wrapping a declrefexpr pointing at the invalid decl.

This was discussed in the patch you linked, but I don't think it was tried?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D120812/new/

https://reviews.llvm.org/D120812



More information about the cfe-commits mailing list