Re: [Cocci] [RFC PATCH 17/25] engine: cocci_vs_c: Add allminus argument to attribute_list

2020-04-24 Thread Markus Elfring
> This also makes sure that the test case unstruct does not break when > attributes are identified correctly by the C parser. Would the wording “are correctly identified” be more appropriate? Regards, Markus ___ Cocci mailing list Cocci@systeme.lip6.fr

[Cocci] [RFC PATCH 17/25] engine: cocci_vs_c: Add allminus argument to attribute_list

2020-04-24 Thread Jaskaran Singh
The allminus argument is used to denote when attributes should be removed. This is with respect to the given SmPL program. Add the allminus argument to attribute_list, and pass it correctly in places where attribute_list is used. This also makes sure that the test case unstruct does not break