Skip to content

Conversation

@lucafedeli88
Copy link

@lucafedeli88 lucafedeli88 commented Oct 24, 2025

Hi! I've noticed that you don't yet use clang-tidy in CI. @AlexanderSinn , in case you are interested in setting up something similar to what we did with WarpX, I've started running clang-tidy locally on my machine. This PR fixes what it found for the rule:

  • modernize-use-equals-default

  • Small enough (< few 100s of lines), otherwise it should probably be split into smaller PRs

  • Tested (describe the tests in the PR description)

  • Runs on GPU (basic: the code compiles and run well with the new module)

  • Contains an automated test (checksum and/or comparison with theory)

  • Documented: all elements (classes and their members, functions, namespaces, etc.) are documented

  • Constified (All that can be const is const)

  • Code is clean (no unwanted comments, )

  • Style and code conventions are respected at the bottom of https://github.com/Hi-PACE/hipace

  • Proper label and GitHub project, if applicable

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.

1 participant