]> xenbits.xensource.com Git - libvirt.git/commit
build-aux:check-spacing: Introduce a new rule to check misaligned stuff in parenthesises
authorShi Lei <shi_lei@massclouds.com>
Wed, 19 Sep 2018 08:38:19 +0000 (16:38 +0800)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 24 Sep 2018 08:02:40 +0000 (10:02 +0200)
commit2585a79e32e8b0d994ab35fd7c641eb9b96632e3
tree1c9f8d910450be1158fff9e6b86359c7c862b40b
parenta033182f042a07ffbd4b9a50418670778ceddbf3
build-aux:check-spacing: Introduce a new rule to check misaligned stuff in parenthesises

This patch introduces a new rule to check misaligned stuff in parenthesis:
1. For misaligned arguments of function
2. For misaligned conditions of [if|while|switch|...]

There're too much misalignment, so it adds a temporary filter which
permits 'src/util' now. It _should_ be removed as soon as fixing all.

Signed-off-by: Shi Lei <shi_lei@massclouds.com>
build-aux/check-spacing.pl