[cfe-users] Using clang-format to format old style C source code
Jose-Marcio Martins da Cruz via cfe-users
cfe-users at lists.llvm.org
Sun Feb 25 01:41:19 PST 2018
I'm trying to use clang-format to format source files of a project, nowadays done with the help of indent.
I'm trying to get an old tradition thing like :
But, playing with .clang-format file, what I have is always something like :
int myfuntion(a, b) int a;
Which is far from what I'm trying to do.
Is there a way to tweak .clang-format file to get this old style of C format code ?
Thanks for your help.
More information about the cfe-users