diff options
| author | SulfurNitride <SulfurNitride@users.noreply.github.com> | 2026-04-28 22:26:30 -0500 |
|---|---|---|
| committer | SulfurNitride <SulfurNitride@users.noreply.github.com> | 2026-04-28 22:26:30 -0500 |
| commit | b05eb9d9e79121ffd1e697921f6112e306a294c3 (patch) | |
| tree | bec41a6217525eb5cfbd49b4db069fdc6c8a4933 /.clang-tidy | |
| parent | 33015e0393b3aef4a6e129dec5bcf92444321e9c (diff) | |
clang-tidy: apply auto-fixes from safest checks across our authored code
Ran sequentially (not parallel — concurrent fixes corrupt shared headers)
on src/src/ + libs/skse_log_redirector/. The check set:
- modernize-use-override
- modernize-use-nullptr
- modernize-use-default-member-init
- readability-redundant-member-init
- readability-container-contains
- readability-container-size-empty
Net effect: ~108 files updated, 425/426 lines changed (overrides added,
NULL/0 -> nullptr, member-init lists pruned where the same value is
already in the in-class default). Build verified after revert/re-apply.
Also disable readability-redundant-access-specifiers in .clang-tidy:
the check is confused by Qt's `private slots:` specifier and strips the
`private:` that follows it, breaking MOC.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Diffstat (limited to '.clang-tidy')
| -rw-r--r-- | .clang-tidy | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.clang-tidy b/.clang-tidy index ce05d5f..050b3f1 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -22,6 +22,8 @@ # positives in plumbing code. # - misc-include-cleaner / -no-recursion / -non-private-member-variables- # in-classes: noisy and partly redundant with clangd. +# - readability-redundant-access-specifiers: confused by Qt's `private slots:` +# specifier — strips the `private:` that follows it, breaking MOC. Checks: > bugprone-*, performance-*, @@ -43,6 +45,7 @@ Checks: > -readability-uppercase-literal-suffix, -readability-braces-around-statements, -readability-else-after-return, + -readability-redundant-access-specifiers, -bugprone-easily-swappable-parameters, -bugprone-branch-clone, -bugprone-narrowing-conversions, |
