linux-sparse.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] support builtin macros & __has_feature()
@ 2020-06-18 20:47 Luc Van Oostenryck
  2020-06-18 20:47 ` [PATCH 1/5] pre-process: add testcases for __has_feature() & __has_extension() Luc Van Oostenryck
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Luc Van Oostenryck @ 2020-06-18 20:47 UTC (permalink / raw)
  To: linux-sparse; +Cc: Luc Van Oostenryck

This series adds:
* support for builtin macros with arguments
* support for __has_feature() & __has_extension()

Luc Van Oostenryck (5):
  pre-process: add testcases for __has_feature() & __has_extension()
  pre-process: rename 'expander' into 'expand_simple'
  pre-process: add support for builtin macros
  pre-process: add support for __has_feature() & __has_extension()
  pre-process: make __has_{attribute,builtin}() true builtin macros

 ident-list.h                          |   6 +-
 lib.c                                 |   2 -
 pre-process.c                         | 180 ++++++++++++++++++--------
 symbol.h                              |   4 +-
 validation/preprocessor/has-feature.c |  20 +++
 5 files changed, 151 insertions(+), 61 deletions(-)
 create mode 100644 validation/preprocessor/has-feature.c

-- 
2.27.0

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

end of thread, other threads:[~2020-06-18 20:49 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-18 20:47 [PATCH 0/5] support builtin macros & __has_feature() Luc Van Oostenryck
2020-06-18 20:47 ` [PATCH 1/5] pre-process: add testcases for __has_feature() & __has_extension() Luc Van Oostenryck
2020-06-18 20:47 ` [PATCH 2/5] pre-process: rename 'expander' into 'expand_simple' Luc Van Oostenryck
2020-06-18 20:47 ` [PATCH 3/5] pre-process: add support for builtin macros Luc Van Oostenryck
2020-06-18 20:47 ` [PATCH 4/5] pre-process: add support for __has_feature() & __has_extension() Luc Van Oostenryck
2020-06-18 20:47 ` [PATCH 5/5] pre-process: make __has_{attribute,builtin}() true builtin macros 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).