[PATCH 0/2] syntax check: hanging braces

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Another case where it is worth enforcing a common existing
style, and documenting it in HACKING.  Here, there were
fewer offenders, so the series is not split in as many pieces.
Obviously depends on my earlier series for if-else {} checks,
as otherwise this will detect several 'else' as lacking a
hanging brace.

Eric Blake (2):
  maint: use hanging curly braces
  maint: tighten curly brace syntax checking

 HACKING                                 | 27 +++++++++++++++++++++++++++
 cfg.mk                                  | 18 ++++++++++++------
 docs/hacking.html.in                    | 31 +++++++++++++++++++++++++++++++
 src/conf/domain_conf.c                  |  6 ++----
 src/interface/interface_backend_netcf.c |  9 +++------
 src/network/bridge_driver.c             |  3 +--
 src/util/virfile.c                      |  3 +--
 src/util/virnetdev.c                    |  3 +--
 src/util/virnetdevmacvlan.c             |  5 ++---
 src/util/virtypedparam.c                |  3 +--
 src/util/virutil.c                      |  6 ++----
 src/vbox/vbox_common.c                  |  4 ++--
 tests/seclabeltest.c                    |  6 ++----
 13 files changed, 87 insertions(+), 37 deletions(-)

-- 
1.9.3

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]