linux-sparse.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] add basic support for C11
@ 2017-01-05  3:22 Luc Van Oostenryck
  2017-01-05  3:22 ` [PATCH 1/5] C11: teach sparse about '_Thread_local' Luc Van Oostenryck
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Luc Van Oostenryck @ 2017-01-05  3:22 UTC (permalink / raw)
  To: linux-sparse; +Cc: Luc Van Oostenryck

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-01-05  3:30 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-05  3:22 [PATCH 0/5] add basic support for C11 Luc Van Oostenryck
2017-01-05  3:22 ` [PATCH 1/5] C11: teach sparse about '_Thread_local' Luc Van Oostenryck
2017-01-05  3:22 ` [PATCH 2/5] C11: teach sparse about '_Noreturn' Luc Van Oostenryck
2017-01-05  3:22 ` [PATCH 3/5] C11: teach sparse about '_Alignof()' Luc Van Oostenryck
2017-01-05  3:22 ` [PATCH 4/5] C11: teach sparse about '_Alignas()' Luc Van Oostenryck
2017-01-05  3:22 ` [PATCH 5/5] C11: teach sparse about '--std={c11,gnu11}' Luc Van Oostenryck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).