[PATCH 0/5] add basic support for C11

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

 



Add support for the new C11 keywords:
_Thread_local, _Noreturn, _Alignof() & _Alignas().
Also accept '-std=c11' or '-std=gnu11' as option and
define the associated macros like '__STDC_VERSION__'.


This serie can also be found as:
  git://github.com/lucvoo/sparse.git sent/c11-basic


Luc Van Oostenryck (5):
  C11: teach sparse about '_Thread_local'
  C11: teach sparse about '_Noreturn'
  C11: teach sparse about '_Alignof()'
  C11: teach sparse about '_Alignas()'
  C11: teach sparse about '--std={c11,gnu11}'

 expression.c                  |  1 +
 ident-list.h                  |  1 +
 lib.c                         | 21 ++++++++++++++++
 parse.c                       | 58 +++++++++++++++++++++++++++++++++++++++++++
 validation/c11-alignas.c      | 40 +++++++++++++++++++++++++++++
 validation/c11-alignof.c      | 12 +++++++++
 validation/c11-noreturn.c     |  9 +++++++
 validation/c11-stdc-version.c | 11 ++++++++
 validation/c11-thread-local.c |  9 +++++++
 9 files changed, 162 insertions(+)
 create mode 100644 validation/c11-alignas.c
 create mode 100644 validation/c11-alignof.c
 create mode 100644 validation/c11-noreturn.c
 create mode 100644 validation/c11-stdc-version.c
 create mode 100644 validation/c11-thread-local.c
--
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