[clang] [Clang][Sema] Add -Wredundant-defer to diagnose redundant `_Defer`s (PR #225748)

via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 6 00:01:29 PDT 2026


Expertcoderz wrote:

> #226101 has been merged, so you should be able to move some of the checks into `CheckLoopBody()` now

Thanks for merging; I've moved the redundant defer checks out of `ActOnForStmt`/`ActOnWhileStmt` into `CheckLoopBody()`.

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


More information about the cfe-commits mailing list