Mentions légales du service

Skip to content

Improve attr management in context_neg et al

LAWALL Julia requested to merge attr_is_mcode into master

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/20200511101300.11101-1-jaskaransingh7654321@gmail.com/T/#t

[2] [PATCH v3 00/32] cocci: Add cast attributes to C and SmPL ASTs https://lore.kernel.org/cocci/20200529120703.31145-1-jaskaransingh7654321@gmail.com

[3] [PATCH 00/30] cocci: Add macrodecl attributes to C and SmPL ASTs https://lore.kernel.org/cocci/20200524171935.2504-1-jaskaransingh7654321@gmail.com

Merge request reports