[clang-tools-extra] [clang-tidy] Add new check `modernize-use-structured-binding` (PR #158462)

via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 29 03:45:41 PDT 2025


flovent wrote:

> I'd go for what's easier for now (simply ignoring). AFAIK, this case simply don't match right now? Could you add these examples in tests

Sadly it matches, but it can be ignored without much work, just need to check `VarDecl`'s init style.

> P.S. I hope to do another round of review in upcoming days

Thanks!

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


More information about the cfe-commits mailing list