Files
Alexey MilovidovandClaude Opus 4.6 88bc477a83 Enable cppcoreguidelines-init-variables and cppcoreguidelines-pro-type-member-init clang-tidy checks
Enable two clang-tidy checks globally that warn about uninitialized
variables and class members where the default constructor does not
initialize them:

- `cppcoreguidelines-init-variables`: local variables of POD types
- `cppcoreguidelines-pro-type-member-init` (and its alias `hicpp-member-init`):
  struct/class members of POD types

All existing warnings are fixed by adding default initializers (`{}`,
`= 0`, `= false`, `= nullptr`). The compiler will optimize away
redundant initializations.

NOLINT annotations are added for reasonable exceptions:
- Anonymous unions used for type-punning
- `std::type_index` members (no default constructor)

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
2026-03-22 23:01:27 +00:00
..
…
…

https://github.com/imneme/pcg-cpp
0ca2e8ea6ba212bdfbc6219c2313c45917e34b8d