Not sure if we want to merge this right now, but this is what it looks like to normalise/trim our EOL whitespace.
I ran a search/replace of [ \t]+\n -> \n in paths matching: .c,.cpp,.h,.glsl,.rc,.txt,.cfg,.cmake excluding lib/
Future work
In a perfect world, I'd introduce clang-format with a CI step to fail if it doesn't adhere. But that would wreak havoc on forks now. It might be too late.
Not sure if we want to merge this right now, but this is what it looks like to normalise/trim our EOL whitespace.
I ran a search/replace of
[ \t]+\n
->\n
in paths matching:.c,.cpp,.h,.glsl,.rc,.txt,.cfg,.cmake
excludinglib/
Future work
In a perfect world, I'd introduce clang-format with a CI step to fail if it doesn't adhere. But that would wreak havoc on forks now. It might be too late.