[PATCH] D76831: [AST] Preserve the DeclRefExpr when it refers to an invalid decl.
Sam McCall via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 18 01:55:41 PDT 2020
sammccall added a comment.
@hokein I think this patch is obsolete, right?
Richard's last comment is basically what's currently implemented: if lookup doesn't yield any valid results, we create a recoveryexpr for the failed lookup. It doesn't have a pointer to the invalid decl (which would be neat) but it doesn't seem like we're planning to fix that.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D76831/new/
https://reviews.llvm.org/D76831
More information about the cfe-commits
mailing list