-
Andrea Valassi authored
This version of uncrustify is tuned to result in no large change (eg no splitting of lines and realignments of if/else and for blocks), but it already results in a few useful improvements, such as - Remove spaces: 'void f()' becomes 'void f()' - Remove spaces: 'f(); // comment' becomes 'f(); // comment' - Remove spaces: 'typedef a b;' becomes 'typedef a b;' - Remove spaces: 'static A a;' becomes 'static A a;' - Add spaces: 'class A: B' becomes 'class A : B' - Add spaces: 'default: ...' becomes 'default : ...' - Add spaces: 'if ( ... ){' becomes 'if ( ... ) {' - Add spaces: 'catch( ... ){' becomes 'catch( ... ) {' - Add spaces: '{/* noop */ }' becomes '{ /* noop */ }' - Align all trailing comments to the code rather than to each other - Force exactly one newline at the end of the file - Force exactly one whitespace before trailing continuation characters "\" I tuned the configuration file a few times until I tested that the process converges to a stable results (a second run does not change the code!). git-svn-id: file:///git/lcgcool.svndb/cool/trunk@16479 4525493e-7705-40b1-a816-d608a930855b
bd531f6d