Correctly formatting C++ is a difficult and gruelling process, so add scripts/check.sh which cleans the code up for now (and might runs tests or other checks in the future)
Hmm... Can you explain what it did to the files though? I checked the patch but I honestly haven't noticed a difference, as in why did it replace lines for function with ones that seem to be identical?
It fixes code formatting, such as indenting properly, using tabs not spaces, wrapping code to line width.
The function replacements is just moving the ampersand '&' from after the type to before the variable name. It's a style thing, I can probably change it but it doesn't matter.
Correctly formatting C++ is a difficult and gruelling process, so add scripts/check.sh which cleans the code up for now (and might runs tests or other checks in the future)
Hmm... Can you explain what it did to the files though? I checked the patch but I honestly haven't noticed a difference, as in why did it replace lines for function with ones that seem to be identical?
It fixes code formatting, such as indenting properly, using tabs not spaces, wrapping code to line width.
The function replacements is just moving the ampersand '&' from after the type to before the variable name. It's a style thing, I can probably change it but it doesn't matter.
Ah, fair enough. Nah, that seems good to me to have. Thanks for explaining though!
Apply clang-format to codebase
d672e04
intomain
fromjookia/cleanup
on 20 Mar 2023