Run clang-tidy in the Linux Clang build #11
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/JamesCicada--GTAVI-Recomp!11
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/11/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@RavenCurseBurg on GitHub · 2026-11-25 03:28 UTC · original
RavenCurseBurg:ci/clang-tidy-host-tools→main· +49 −18 · 7 files · 1 commits · merged 2026-11-25 12:51 UTCCloses #10.
The Linux Clang job now runs clang-tidy as Ninja compiles the core library, diagnostic probe and tests. The configuration enables Clang's core, C++ and Unix analyzer checks plus checks for dangling handles and use after move. A diagnostic fails the build. Local builds can opt in with CMake's existing
CMAKE_CXX_CLANG_TIDYsetting.The build guide includes the commands to reproduce the check. The Phase 3 entry and generated roadmap charts reflect the change. CI analysis covers the Linux implementation of the host tooling. AnyPS5 builds separately.
Verification
All six jobs passed on the fork, including Linux Clang with clang-tidy enabled, Linux GCC, Windows MSVC and the pinned AnyPS5 relinker suite. The validation branch differs from this PR only in the branch name that triggers CI on push. GitHub Actions run
bugprone-use-after-moveand Ninja exited 1.git diff --check. All passed.AI-assisted with Codex + GPT-6.2 Astra (xhigh).