Skip to content

parsing_cocci: Improve attr management in context_neg et al

Jaskaran Singh cocci linux-kernel-mentees 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3parsing_cocci: arity: Apply mcode2arity on macrodecl/param attrsparsing_cocci/arity.ml+18 -80 replies
2/3parsing_cocci: context_neg: Apply equal_mcode on cast/param attrsparsing_cocci/context_neg.ml+8 -40 replies
3/3parsing_cocci: unify_ast: Apply unify_mcode on macrodecl attrsparsing_cocci/unify_ast.ml+2 -10 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [Cocci] [PATCH 0/3] parsing_cocci: Improve attr management in context_neg et al

Introduction of recent patches[1][2][3] for adding additional attributes to the SmPL AST introduced some poor management of attributes in the following files:
parsing_cocci/context_neg.ml
parsing_cocci/arity.ml
parsing_cocci/unify_ast.ml
This patch series is for fixing these issues, by modifying cases wherever necessary.

[1]
[PATCH v3 00/23] cocci: Add parameter attributes to SmPL
https://lore.kernel.org/cocci/[email protected]/T/#t

[2]
[PATCH v3 00/32] cocci: Add cast attributes to C and SmPL ASTs
https://lore.kernel.org/cocci/[email protected]

[3]
[PATCH 00/30] cocci: Add macrodecl attributes to C and SmPL ASTs
https://lore.kernel.org/cocci/[email protected]

Jaskaran Singh (3):
parsing_cocci: arity: Apply mcode2arity on macrodecl/param attrs
parsing_cocci: context_neg: Apply equal_mcode for cast/param attrs
parsing_cocci: unify_ast: Apply unify_mcode to macrodecl attrs

 arity.ml       |   26 ++++++++++++++++++--------
 context_neg.ml |   12 ++++++++----
 unify_ast.ml   |    3 ++-
 3 files changed, 28 insertions(+), 13 deletions(-)

_______________________________________________
Linux-kernel-mentees mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/linux-kernel-mentees