[clang] [CodeGen] Fix cleanup attribute for C89 for-loop init variables (PR #156643)

Jongmyeong Choi via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 3 03:53:03 PDT 2025


jongmyeong-choi wrote:

I've implemented the change using a deferred cleanup approach.
Initially, I considered pushing cleanups to the EHStack while manipulating PrologueCleanupDepth, but I felt this approach was too hacky.
If there's a better approach for this fix, please let me know.

https://github.com/llvm/llvm-project/pull/156643


More information about the cfe-commits mailing list