]> xenbits.xensource.com Git - libvirt.git/commit
syntax-check: revert indentation checks
authorJán Tomko <jtomko@redhat.com>
Fri, 5 Oct 2018 11:07:14 +0000 (13:07 +0200)
committerJán Tomko <jtomko@redhat.com>
Tue, 6 Nov 2018 13:08:23 +0000 (14:08 +0100)
commit90dba47a07893cd60b898ab3c6252e56318e190c
treef56a2c963fe82c819d5cc0dc7358dc7b0c21551e
parent4f1107614dc1384c4aa7a5582a16aecba8b9310f
syntax-check: revert indentation checks

Recent patches added indentation checks that discovered some cosmetic
issues at the cost of making this check last as long as the rest of
syntax-check combined on my system. Also, they're moving closer
to us implementing yet another C parser (docs/apibuild.py being the
other one).

Revert the following commits:
commit 11e1f11dd34f2688169c63c13ea8d99a64724369
    syntax-check: Check for incorrect indentation in function body
commit 2585a79e32e8b0d994ab35fd7c641eb9b96632e3
    build-aux:check-spacing: Introduce a new rule to check misaligned stuff in parenthesises
commit a033182f042a07ffbd4b9a50418670778ceddbf3
    build-aux:check-spacing: Add wrapper function of CheckCurlyBrackets
commit 6225626b6f0a4817d1f17de0bc5200c5d7986a3e
    build-aux:check-spacing: Add wrapper function of CheckWhiteSpaces
commit c3875129d9bd094ffe90d54fbec86624ae88c40b
    build-aux:check-spacing: Add wrapper function of KillComments
commit e995904c5691be3c21f4c6dbc1f067fe0c8e8515
    build-aux:check-spacing: Add wrapper function of CheckFunctionBody
commit 11e1f11dd34f2688169c63c13ea8d99a64724369
    syntax-check: Check for incorrect indentation in function body

This brings the speed of the script to a tolerable level and lets it
focus on the more visible issues.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Erik Skultety <eskultet@redhat.com>
build-aux/check-spacing.pl