https://github.com/efriedma-quic commented:

"End of the function" is not really correct. It's still the end of the scope... 
just the scope in question is different.  This matters if you have, for 
example, a nested loop.

Probably need to change CodeGenFunction::EmitForStmt to push the scope at the 
right point.

https://github.com/llvm/llvm-project/pull/156643
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to