Skip to content

clang-tidy 22 outputs "Error: no checks enabled." by default #14391

@sean-mcmanus

Description

@sean-mcmanus

clang-tidy 22 removed clang-analyzer-* as a default check and clang-diagnostic-* doesn't count due to llvm/llvm-project#34763 .

We can add --allow-no-checks to allow just clang-diagnostic-* to be used without it failing.

Metadata

Metadata

Assignees

Labels

Feature: Code AnalysisRelated to integration with clang-tidy, cppcheck, cl.exe /analyze, etc.bugquick fixregressionA bug that didn't exist in a previous release

Type

Projects

Status

Pull Request

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions