]> git.ipfire.org Git - thirdparty/libvirt.git/commit
maint: tighten curly brace syntax checking
authorEric Blake <eblake@redhat.com>
Wed, 3 Sep 2014 22:18:19 +0000 (16:18 -0600)
committerEric Blake <eblake@redhat.com>
Thu, 4 Sep 2014 21:38:00 +0000 (15:38 -0600)
commitbc7e63d39ca0e96073ba04e5a0c2b5471ca05b85
tree89c5ea5e85b2168970435863d4504dbd8cb79e5d
parent625e04a86e79c9bcf5bb29c942b65b19c1d09dbb
maint: tighten curly brace syntax checking

Now that hanging brace offenders have been fixed, we can automate
the check, and document our style.  Done as a separate commit from
code changes, to make it easier to just backport code changes, if
that is ever needed.

* cfg.mk (sc_curly_braces_style): Catch hanging braces.
* docs/hacking.html.in: Document it.
* HACKING: Regenerate.

Signed-off-by: Eric Blake <eblake@redhat.com>
HACKING
cfg.mk
docs/hacking.html.in