[clang-tools-extra] [clang-tidy] Add modernize-use-init-statement check (PR #182005)

Denis Mikhailov via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 20 08:11:28 PST 2026


denzor200 wrote:

> Thanks for the heads up! #171086 by @denzor200 handles important safety cases mine doesn't (lifetime extension, dangling reference prevention, structured bindings, name conflicts). Closing this in favor of that PR.

Yap, this is NOT as simple checker as I expected having started to work on it :)

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


More information about the cfe-commits mailing list