[PATCH 0/4] add support for __has_attribute()

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

 



__has_attribute() is supported since GCC5 and begin to
be used by the kernel. It's more than time to add it
to sparse too, which is done with this series.


This series is available for review and testing in the Git repository at:
  git://github.com/lucvoo/sparse-dev.git has-attribute

Once accepted, it will be upstreamed to:
  git://github.com/lucvoo/sparse.git master

----------------------------------------------------------------
Luc Van Oostenryck (4):
      has-attr: add testcase for __has_attribute()
      has-attr: move 'mode' next to '__mode__'
      has-attr: add __designated_init__ & transparent_union
      has-attr: add support for __has_attribute()

 ident-list.h                            |  1 +
 lib.c                                   |  1 +
 parse.c                                 |  4 ++-
 pre-process.c                           | 33 +++++++++++++------
 validation/preprocessor/has-attribute.c | 56 +++++++++++++++++++++++++++++++++
 5 files changed, 85 insertions(+), 10 deletions(-)
 create mode 100644 validation/preprocessor/has-attribute.c



[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