Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clang-tidy CI test: add 3 misc-* checks and reformat .clang-tidy file #1491

Open
wants to merge 3 commits into
base: dev
Choose a base branch
from
Open
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 21 additions & 1 deletion .clang-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,25 @@
# FIXME: all performance-* reports
# FIXME: all cert-* reports
# FIXME: all bugprone-* reports
Checks: -*,bugprone-*,-bugprone-unhandled-self-assignment,-bugprone-parent-virtual-call,-bugprone-narrowing-conversions,-bugprone-exception-escape,-bugprone-string-literal-with-embedded-nul,cppcoreguidelines-slicing,mpi-*,readability-non-const-parameter,performance-for-range-copy,modernize-*,-modernize-use-trailing-return-type,-modernize-use-bool-literals,-modernize-avoid-c-arrays,-modernize-use-auto,-modernize-return-braced-init-list
Checks: -*,
bugprone-*,
-bugprone-unhandled-self-assignment,
-bugprone-parent-virtual-call,
-bugprone-narrowing-conversions,
-bugprone-exception-escape,
-bugprone-string-literal-with-embedded-nul,
cppcoreguidelines-slicing,
misc-misleading-bidirectional,
misc-misleading-identifier,
misc-misplaced-const,
mpi-*,
readability-non-const-parameter,
performance-for-range-copy,modernize-*,
-modernize-use-trailing-return-type,
-modernize-use-bool-literals,
-modernize-avoid-c-arrays,
-modernize-use-auto,
-modernize-return-braced-init-list


HeaderFilterRegex: '((^(?!\/share\/openPMD\/).*)*include\/openPMD\/.+\.hpp|src\/^(?!binding).+\.cpp$)'