[Linux-kernel-mentees] [PATCH 0/3] parsing_cocci: Improve attr management in context_neg et al

Jaskaran Singh jaskaransingh7654321 at gmail.com
Fri Jun 12 06:45:41 UTC 2020

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:
This patch series is for fixing these issues, by modifying cases wherever necessary.

[PATCH v3 00/23] cocci: Add parameter attributes to SmPL

[PATCH v3 00/32] cocci: Add cast attributes to C and SmPL ASTs

[PATCH 00/30] cocci: Add macrodecl attributes to C and SmPL ASTs

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(-)

More information about the Linux-kernel-mentees mailing list