Skip to content

Pass --allow-no-checks to clang-tidy 19+ - #5079

Open
gamesh411 wants to merge 1 commit into
Ericsson:masterfrom
gamesh411:allow-no-checks-clang-tidy-19
Open

Pass --allow-no-checks to clang-tidy 19+#5079
gamesh411 wants to merge 1 commit into
Ericsson:masterfrom
gamesh411:allow-no-checks-clang-tidy-19

Conversation

@gamesh411

Copy link
Copy Markdown
Contributor

When checks come from the config, no -checks is passed. clang-tidy 19+
treats the resulting empty check set as a fatal error ("no checks
enabled"). Add --allow-no-checks on those versions only.

Checks can come from config with no -checks flag. clang-tidy 19+ errors
on the empty check set. Opt out on those versions.
@gamesh411
gamesh411 marked this pull request as ready for review September 8, 2026 08:04
@gamesh411
gamesh411 requested a review from bruntib as a code owner September 8, 2026 08:04
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.

1 participant