[clang-tools-extra] [clang-tidy] Add new check misc-use-braced-initialization (PR #184009)
Yanzuo Liu via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 2 21:19:20 PST 2026
https://github.com/zwuis commented:
More tests:
- `[x(1)] {}` (init capture)
- `new int(1)`
- `new auto(1)`
- `auto x = int(1)`
- `auto x = auto(1)` (C++23)
https://github.com/llvm/llvm-project/pull/184009
More information about the cfe-commits
mailing list