From 4504259a634648d690c68231b29e88b3047a8658 Mon Sep 17 00:00:00 2001 From: SulfurNitride Date: Tue, 28 Apr 2026 23:47:26 -0500 Subject: clang-tidy: third auto-fix pass MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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) --- lint.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lint.sh') diff --git a/lint.sh b/lint.sh index 1b879e7..545032a 100755 --- a/lint.sh +++ b/lint.sh @@ -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 {} ' -- cgit v1.3.1