Commit Graph

6 Commits

Author SHA1 Message Date
Pavel Grunt
2decbd2116 syntax-check: Fix sc_cast_of_argument_to_free
red_replay_qxl.c was renamed in 525cd67be7

Acked-by: Christophe Fergeau <cfergeau@redhat.com>
2016-01-08 11:24:17 +00:00
Christophe Fergeau
5f6b583e7a syntax-check: Exclude png files from sc_prohibit_empty_lines_at_EOF 2015-10-19 14:25:36 +02:00
Christophe Fergeau
c5df6ada2e syntax-check: Clean-up exception rules
Some files no longer exists, some exceptions are no longer needed, ...
2015-10-19 14:25:36 +02:00
Christophe Fergeau
8dd21e5820 syntax-check: Exclude red_replay_qxl.c from sc_cast_of_argument_to_free
red_replay_qxl.c stores some pointers QXLPHYSICAL data members (ie
uint64_t), and then needs to free them, so the cast is required.
2015-10-19 14:25:36 +02:00
Daniel P. Berrange
f056a53b99 Add a few more syntax-check exemptions
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
2012-04-25 09:49:32 +01:00
Daniel P. Berrange
b5060ff813 Add a 'syntax-check' make target
The 'make syntax-check' target is used to perform various code
style sanity checks, as well as to detect certain trivial error
patterns. The target is placed in GNUmakefile, instead of Makefile.am
since it relies on GNU specific make extensions.

The actual GNUmakefile and maint.mk files are taken from the
GNULIB project, unchanged

The cfg.mk file is used to configure which of the syntax checks
are activated, to allow addition of new project specific syntax
checks, and to blacklist certain files which should not be checked

* .mailmap: Add mapping for various broken email addrs in
  commit log, to stop complaints about AUTHORS file missing
  entries
* GNUmakefile: define the 'syntax-check' rule
* maint.mk: definition of standard syntax checks
* cfg.mk: configuration for checks
2012-01-13 18:12:00 +02:00