linux-sparse.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/9] option parsing improvements
@ 2017-11-08 10:09 Luc Van Oostenryck
  2017-11-08 10:10 ` [PATCH 1/9] option: add helper to parse/match command line options Luc Van Oostenryck
                   ` (8 more replies)
  0 siblings, 9 replies; 13+ messages in thread
From: Luc Van Oostenryck @ 2017-11-08 10:09 UTC (permalink / raw)
  To: linux-sparse; +Cc: Luc Van Oostenryck

The goal of this series is to make the parsing of sparse's
option more flexible.
Its real value is really apparent in subsequent series.

Luc Van Oostenryck (9):
  option: add helper to parse/match command line options
  option: rename 'struct warning' to 'struct flag'
  option: let handle_simple_switch() handle an array of flags
  option: extract OPTION_NUMERIC() from handle_switch_fmemcpy_max_count()
  option: add support for options with 'zero is infinity'
  option: add support for '-<some-option>=unlimited'
  option: use OPTION_NUMERIC() for handle_switch_fmemcpy_max_count()
  option: constify match_option()
  option: handle switches by table

 lib.c    | 162 ++++++++++++++++++++++++++++++++++++++-------------------------
 sparse.1 |   2 +-
 2 files changed, 100 insertions(+), 64 deletions(-)

-- 
2.14.0


^ permalink raw reply	[flat|nested] 13+ messages in thread
* [PATCH 0/9] Simplify the parsion of options
@ 2017-09-15  7:32 Luc Van Oostenryck
  2017-09-15  7:32 ` [PATCH 2/9] option: rename 'struct warning' to 'struct flag' Luc Van Oostenryck
  0 siblings, 1 reply; 13+ messages in thread
From: Luc Van Oostenryck @ 2017-09-15  7:32 UTC (permalink / raw)
  To: linux-sparse; +Cc: Christopher Li, Luc Van Oostenryck

The goal of this series is to simplify & unify the parsing of
options given on the command line

In itself, it hasn't much value but is used by some upcoming series.


The series is also available for review in the git repository at:

  git://github.com/lucvoo/sparse.git option-parsing

----------------------------------------------------------------
Luc Van Oostenryck (9):
      option: add helper to parse/match command line options
      option: rename 'struct warning' to 'struct flag'
      option: let handle_simple_switch() handle an array of flags
      option: extract OPTION_NUMERIC() from handle_switch_fmemcpy_max_count()
      option: add support for options with 'zero is infinity'
      option: add support for '-<some-option>=unlimited'
      option: use OPTION_NUMERIC() for handle_switch_fmemcpy_max_count()
      option: constify match_option()
      option: handle switches by table

 lib.c    | 162 ++++++++++++++++++++++++++++++++++++++-------------------------
 sparse.1 |   2 +-
 2 files changed, 100 insertions(+), 64 deletions(-)

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

end of thread, other threads:[~2017-11-09 21:02 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-08 10:09 [PATCH 0/9] option parsing improvements Luc Van Oostenryck
2017-11-08 10:10 ` [PATCH 1/9] option: add helper to parse/match command line options Luc Van Oostenryck
2017-11-08 10:10 ` [PATCH 2/9] option: rename 'struct warning' to 'struct flag' Luc Van Oostenryck
2017-11-08 10:10 ` [PATCH 3/9] option: let handle_simple_switch() handle an array of flags Luc Van Oostenryck
2017-11-08 10:10 ` [PATCH 4/9] option: extract OPTION_NUMERIC() from handle_switch_fmemcpy_max_count() Luc Van Oostenryck
2017-11-08 10:10 ` [PATCH 5/9] option: add support for options with 'zero is infinity' Luc Van Oostenryck
2017-11-08 10:10 ` [PATCH 6/9] option: add support for '-<some-option>=unlimited' Luc Van Oostenryck
2017-11-08 10:10 ` [PATCH 7/9] option: use OPTION_NUMERIC() for handle_switch_fmemcpy_max_count() Luc Van Oostenryck
2017-11-08 10:10 ` [PATCH 8/9] option: constify match_option() Luc Van Oostenryck
2017-11-08 10:10 ` [PATCH 9/9] option: handle switches by table Luc Van Oostenryck
2017-11-09 18:42   ` Christopher Li
2017-11-09 21:02     ` Luc Van Oostenryck
  -- strict thread matches above, loose matches on Subject: below --
2017-09-15  7:32 [PATCH 0/9] Simplify the parsion of options Luc Van Oostenryck
2017-09-15  7:32 ` [PATCH 2/9] option: rename 'struct warning' to 'struct flag' 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).