Skip to content

Comments

[Config] Runs clang-tidy on specific targets during the build#5915

Open
alxbilger wants to merge 1 commit intosofa-framework:masterfrom
alxbilger:clang-tidy
Open

[Config] Runs clang-tidy on specific targets during the build#5915
alxbilger wants to merge 1 commit intosofa-framework:masterfrom
alxbilger:clang-tidy

Conversation

@alxbilger
Copy link
Contributor

Unfortunately, I couldn't test it on MSVC. According to the documentation, this option is available only for makefile and ninja generators. Therefore, I couldn't test if this option is useful or not. The tool can be configured with .clang-tidy file that can be placed at the root of the project.


By submitting this pull request, I acknowledge that
I have read, understand, and agree SOFA Developer Certificate of Origin (DCO).


Reviewers will merge this pull-request only if

  • it builds with SUCCESS for all platforms on the CI.
  • it does not generate new warnings.
  • it does not generate new unit test failures.
  • it does not generate new scene test failures.
  • it does not break API compatibility.
  • it is more than 1 week old (or has fast-merge label).

@alxbilger alxbilger added pr: enhancement About a possible enhancement pr: status to review To notify reviewers to review this pull-request pr: clean Cleaning the code labels Feb 2, 2026
@bakpaul
Copy link
Contributor

bakpaul commented Feb 19, 2026

I would prefere to have an option SOFA_ENABLES_CLANG-TIDY that is off by default and can be put to ON.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr: clean Cleaning the code pr: enhancement About a possible enhancement pr: status to review To notify reviewers to review this pull-request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants