Details
- Reviewers
sammccall
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang/lib/Sema/SemaExprCXX.cpp | ||
---|---|---|
7223 | Sorry, I don't get what's going on here at all - is the idea that if you've already diagnosed an error here, don't fail further based on likely-bad recovery? In that case: (maybe I misunderstood what's going on here) | |
clang/test/AST/ast-dump-recovery.cpp | ||
107 | This test doesn't seem to relate to member expressions, and passes for me without this patch applied. |
clang/test/AST/ast-dump-recovery.cpp | ||
---|---|---|
107 | oops, sorry, you are right, it works at head (I only verified the test after the patch is applied). I was confused by a local modification (which preserves type), the recovery-expr make_incomplete().a will be dropped because we'll hit the above if statement. I'dd address this change in preserving-type patch. |
clang-format suggested style edits found: