[PATCH 0/5] improve detection of overlapping initializers

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

 



This aims at improving the detection of overlapping initializers by
- introduce some warning flags for finer control
- fix the detection when the overlap is not on the first element
- ann an exception when the initializer cover the whole range.

For convenience, thsi series can also be found at:
	git://github.com/lucvoo/sparse.git sent/array-range-init


Luc Van Oostenryck (5):
  use option: '-Woverride-init'
  add test case for warnings about overlapping initializers
  allow to warn on all overlapping initializers
  fix checking of overlapping initializer
  ignore whole-range overlapping initializer

 expand.c                        |  44 +++++++++++++++--
 lib.c                           |   5 ++
 lib.h                           |   3 ++
 validation/Woverride-init-def.c |  14 ++++++
 validation/Woverride-init-no.c  |  12 +++++
 validation/Woverride-init-yes.c |  14 ++++++
 validation/field-override.c     | 101 ++++++++++++++++++++++++++++++++++++++++
 7 files changed, 188 insertions(+), 5 deletions(-)
 create mode 100644 validation/Woverride-init-def.c
 create mode 100644 validation/Woverride-init-no.c
 create mode 100644 validation/Woverride-init-yes.c
 create mode 100644 validation/field-override.c

-- 
2.11.1

--
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux