diff options
| author | SulfurNitride <SulfurNitride@users.noreply.github.com> | 2026-04-28 23:47:26 -0500 |
|---|---|---|
| committer | SulfurNitride <SulfurNitride@users.noreply.github.com> | 2026-04-28 23:47:26 -0500 |
| commit | 4504259a634648d690c68231b29e88b3047a8658 (patch) | |
| tree | 137faaad6b0062f5129e872517ef0bde4325c82c /lint.sh | |
| parent | 9b64c818424a79803c517d98f8803baf0055c049 (diff) | |
clang-tidy: third auto-fix pass
Sequentially applied a tighter set of safer checks:
- modernize-return-braced-init-list
- modernize-use-equals-default
- modernize-use-noexcept
- modernize-use-using
- modernize-raw-string-literal
- readability-enum-initial-value
- readability-make-member-function-const
- readability-convert-member-functions-to-static
- readability-redundant-member-init
- readability-container-contains
- readability-container-size-empty
One file (mainwindow.h) had to be hand-fixed: extractProgress was
auto-marked static by readability-convert-member-functions-to-static,
but it's bound via boost::bind(&MainWindow::extractProgress, this,
...) — making it static breaks the bind. Restored to a non-static
member.
Build verified.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'lint.sh')
| -rwxr-xr-x | lint.sh | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -101,6 +101,8 @@ printf '%s\n' "${CONTAINER_PATHS[@]}" | \ trap "rm -rf $TIDY_DIR" EXIT sed "s| -mno-direct-extern-access||g" /src/build/compile_commands.json \ > "$TIDY_DIR/compile_commands.json" - xargs -P '"${JOBS}"' -I{} clang-tidy '"${FIX_FLAG[*]:-}"' \ + # stdbuf -oL forces line-buffered stdout so output flushes through + # the podman pipe instead of being held until container exit. + xargs -P '"${JOBS}"' -I{} stdbuf -oL clang-tidy '"${FIX_FLAG[*]:-}"' \ -p "$TIDY_DIR" --quiet {} ' |
