erichkeane added a comment.
Herald added a project: All.

Does this break a case like this? https://godbolt.org/z/Tc9Ko7hWY

it seems the problem is with the Expression statements, and I'm not sure why we 
are doing "ActOnCapScopeReturnStmt" when we aren't really in a capture scope 
anymore, right?  I guess we properly diagnose the use of a capture in this 
scope, but I don't think we should be here in the 1st place.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D119609

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

Reply via email to