Skip to content

Enable clang-tidy checks explicitly#622

Merged
jgm merged 1 commit into
commonmark:masterfrom
nwellnhof:clang-tidy-checks
Jun 10, 2026
Merged

Enable clang-tidy checks explicitly#622
jgm merged 1 commit into
commonmark:masterfrom
nwellnhof:clang-tidy-checks

Conversation

@nwellnhof

@nwellnhof nwellnhof commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

clang 22 removed clang-analyzer-* from the default checks, see

This makes clang-tidy 22 abort with 'Error: no checks enabled'. Enable these checks explicitly.

clang 22 removed clang-analyzer-* from the default checks, see

- llvm/llvm-project#146482
- https://releases.llvm.org/22.1.0/tools/clang/tools/extra/docs/ReleaseNotes.html#potentially-breaking-changes

This makes clang-tidy 22 abort with 'Error: no checks enabled'. Enable
these checks explicitly.
@nwellnhof nwellnhof force-pushed the clang-tidy-checks branch from 7578bcd to 79fc6b8 Compare June 10, 2026 08:57
@jgm jgm merged commit db6c23a into commonmark:master Jun 10, 2026
15 checks passed
@nwellnhof nwellnhof deleted the clang-tidy-checks branch June 10, 2026 09:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants