Skip to content

[config] Add labels for new clang 23 checkers#4821

Open
gamesh411 wants to merge 12 commits intoEricsson:masterfrom
gamesh411:checker-label-update
Open

[config] Add labels for new clang 23 checkers#4821
gamesh411 wants to merge 12 commits intoEricsson:masterfrom
gamesh411:checker-label-update

Conversation

@gamesh411
Copy link
Copy Markdown
Contributor

Add labels for new ClangSA and Clang-Tidy checkers/checks/diagnostics introduced in Clang 23.
Assignments are based on a comparison of result counts across 17 Open-Source projects and follow the conventions already in place.

Add labels for new ClangSA and Clang-Tidy checkers/checks/diagnostics introduced in Clang 23.
Assignments are based on a comparison of result counts across 17 Open-Source projects and follow the conventions already in place.
Copy link
Copy Markdown
Member

@dkrupp dkrupp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a massive change. I made a few comments.
I was not sure wether in the open-source execution the new warnings were enabled or not.

For warnings my logic would be to enable warnings that are enabled by clang by default. If a group of warnings is enabled by default then we should enable all its members by default.

Also cppcheck warnings were not enabled, so it is difficult to see the quality of the checkers to decide about inclusion in the deafault profile.

Comment thread config/labels/analyzers/clang-tidy.json
Comment thread config/labels/analyzers/clang-tidy.json
Comment thread config/labels/analyzers/clang-tidy.json
Comment thread config/labels/analyzers/clang-tidy.json
"doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#whip-only",
"severity:MEDIUM"
],
"clang-diagnostic-hlsl-explicit-binding": [
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add to default as this warning is enabled by default in clang

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is shader-api related, probably does not hurt.

Comment thread config/labels/analyzers/clang-tidy.json
Comment thread config/labels/analyzers/clang-tidy.json
Comment thread config/labels/analyzers/clang-tidy.json Outdated
Comment thread config/labels/analyzers/clang-tidy.json Outdated
Comment thread config/labels/analyzers/clang-tidy.json Outdated
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