Skip to content

improve handling of function attributes

Luc Van Oostenryck linux-sparse 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6attribute: sort the table of modifier namesshow-parse.c validation/cond_expr2.c validation/function-redecl.c+17 -170 replies
2/6attribute: add helper apply_mod() and use itparse.c+9 -70 replies
3/6attribute: allow some attribute to be present multiple timesparse.c symbol.h+3 -10 replies
4/6attribute: add support for unusedparse.c show-parse.c symbol.h+6 -30 replies
5/6attribute: separate modifiers into type/declarationparse.c symbol.h+11 -60 replies
6/6attribute: teach sparse about attribute((gnu_inline))parse.c show-parse.c symbol.h+7 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] improve handling of function attributes

Small improvements in the handling of function attributes as a preparatory step for more functional changes.

Luc Van Oostenryck (6):
attribute: sort the table of modifier names
attribute: add helper apply_mod() and use it
attribute: allow some attribute to be present multiple times
attribute: add support for unused
attribute: separate modifiers into type/declaration
attribute: teach sparse about attribute((gnu_inline))

 parse.c                      | 34 +++++++++++++++++++++-------------
 show-parse.c                 | 28 +++++++++++++++-------------
 symbol.h                     | 11 ++++++++---
 validation/cond_expr2.c      |  2 +-
 validation/function-redecl.c |  6 +++---
 5 files changed, 48 insertions(+), 33 deletions(-)

base-commit: b8fad4bcd02210912de8cbdefcd77e9ca743a575

Signature · 1 line
2.26.2