Re: [libvirt] [PATCH v2 2/2] Document bracket whitespace rules add syntax-check rule

2012-11-06 Thread Martin Kletzander
On 11/01/2012 11:53 AM, Daniel P. Berrange wrote: From: Daniel P. Berrange berra...@redhat.com [...] --- build-aux/bracket-spacing.pl | 116 +++ cfg.mk | 7 ++- docs/hacking.html.in | 49 ++ 3 files

[libvirt] [PATCH v2 2/2] Document bracket whitespace rules add syntax-check rule

2012-11-01 Thread Daniel P. Berrange
From: Daniel P. Berrange berra...@redhat.com This documents the following whitespace rules if(foo) // Bad if (foo) // Good int foo (int wizz) // Bad int foo(int wizz) // Good bar = foo (wizz); // Bad bar = foo(wizz); // Good typedef int