Format the code
f1yby opened this issue · comments
Jiarui Wang commented
Some of the code follow the format rule described in ./.clang-format, but others are not. Would you mind if I format the code, or should I submit a PR?
ptitSeb commented
I'm not a big fan of automatic code formating tbh. I find it sometimes ruins manual formating done on purpose.
So you can create a PR, but not sure I'll accept it if I find it makes things less readable.
Jiarui Wang commented
PR.
Note: The macro _DOIT defined in src/wrapped/wrappedlib_init.h
use #
, and the formation of the macro cause extra space around /
and cause error when the macro is expanded, so I turned off the formation at this line.