rjmccall added a comment.

Dropping the entire block from the AST on error would be unfortunate for some 
kinds of tooling, but as long as we maintain it with a `RecoveryExpr`, that 
seems like a fine approach to me.

As a general rule, I think we should be tracking basically everything on the 
`BlockDecl` and let `BlockExpr` just have a reference to that on top of the 
baseline `Expr` storage.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D155396

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to