[Linux-kernel-mentees] [Cocci] [PATCH 0/4] parsing_c: parser: Add end_attributes_opt rule

Markus Elfring Markus.Elfring at web.de
Mon Jun 8 12:47:41 UTC 2020


> Patches for improving the C parsing of attributes[1] introduced a lot
> redundant code in the C parser. This patch series resolves this by adding
> a rule for optional end attributes and merging the redundant code
> together.
>
> [1]
> [PATCH v2 00/25] cocci: Improve C parsing of attributes
> https://lore.kernel.org/cocci/20200528122428.4212-1-jaskaransingh7654321@gmail.com/

Could questionable source code have been avoided before?

Regards,
Markus


More information about the Linux-kernel-mentees mailing list