- 17 Dec, 2009 1 commit
-
-
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
-
- 16 Dec, 2009 1 commit
-
-
Andrea Valassi authored
(fix code indentation and remove unnecessary trailing whitespaces using emacs) In the end I decided to process also the CoolKernel API. These changes should have no impact at all on binary compatibility. git-svn-id: file:///git/lcgcool.svndb/cool/trunk@16413 4525493e-7705-40b1-a816-d608a930855b
-
- 17 Jan, 2007 1 commit
-
-
Andrea Valassi authored
git-svn-id: file:///git/lcgcool.svndb/cool/trunk@8618 4525493e-7705-40b1-a816-d608a930855b
-
- 08 Nov, 2006 2 commits
-
-
Andrea Valassi authored
git-svn-id: file:///git/lcgcool.svndb/cool/trunk@7454 4525493e-7705-40b1-a816-d608a930855b
-
Andrea Valassi authored
But probably better to keep all typedefs in types.h (remove this). git-svn-id: file:///git/lcgcool.svndb/cool/trunk@7453 4525493e-7705-40b1-a816-d608a930855b
-