Skip to content

Clang tidy support#917

Merged
mscroggs merged 12 commits intoFEniCS:mainfrom
schnellerhase:clang-tidy
Apr 28, 2025
Merged

Clang tidy support#917
mscroggs merged 12 commits intoFEniCS:mainfrom
schnellerhase:clang-tidy

Conversation

@schnellerhase
Copy link
Contributor

@schnellerhase schnellerhase commented Apr 23, 2025

Introduces clang-tidy support for the cpp/ build on the performance* clang-tidy checks to showcase its capabilities.

If accepted, this can be equivalently incorporated into the python/ build.

The checks (configured in the .clang-tidy) can be further extended or fine tuned, most interesting (besides the activated performance*) are probably modernize*, cppcoreguidelines* and/or bugprone* for the FEniCS project - see https://clang.llvm.org/extra/clang-tidy/checks/list.html

@schnellerhase schnellerhase marked this pull request as ready for review April 23, 2025 20:11
@mscroggs mscroggs self-requested a review April 25, 2025 12:45
@schnellerhase schnellerhase requested a review from mscroggs April 25, 2025 16:36
@mscroggs
Copy link
Member

Failing CI should pass again once FEniCS/dolfinx#3715 is merged

@mscroggs mscroggs added this pull request to the merge queue Apr 28, 2025
Merged via the queue into FEniCS:main with commit 2a9a566 Apr 28, 2025
16 of 17 checks passed
@schnellerhase schnellerhase deleted the clang-tidy branch April 28, 2025 07:23
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