There is a mix of tabs and spaces in the code, sometimes even mixed in the same 
line,
and loads of bad indentation. Im not blaming anyone here,
that just happens with such an old codebase with so many contributors.

However, I could not even find coding style guidelines.
Imho the only way of fixing that is with some automatic formatter.
I think clang-format is the best: https://clang.llvm.org/docs/ClangFormat.html

I use a makefile taget like this:
https://github.com/rene-dev/stmbl/blob/master/Makefile#L347
the style is in a separate file: 
https://github.com/rene-dev/stmbl/blob/master/.clang-format

Rene
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to