cholla-hydro / cholla

A GPU-based hydro code
https://github.com/cholla-hydro/cholla/wiki
MIT License
60 stars 32 forks source link

Clang Tidy & Format Integration #211

Closed bcaddy closed 1 year ago

bcaddy commented 1 year ago

Clang-Format

Clang-format can be run in a variety of ways.

Tested with clang-format 15

Added the following

Clang-Tidy

clang-tidy can be run by running make tidy. Tested with clang-tidy 15.

Docker

Other

Standing Issues

Here's some outstanding issues we need to address before this can be merged. I've tagged the people I think are most relevant for each issue, if I get anything wrong please let me know and I will correct it.

bcaddy commented 1 year ago

This PR is pretty much done. I've added clang-tidy documentation to the Making a Pull Request section of the wiki. All that's left is:

bcaddy commented 1 year ago

@ojwg, I had to make some minor tweaks to feedback_CIC_gpu.cu to get it to pass clang-tidy. Could you review them to make sure they're ok?

@evaneschneider, Once @ojwg's review is done this is ready to merge