Mentions légales du service

Skip to content

Add macrodecl attributes to C and SmPL ASTs

LAWALL Julia requested to merge macrodecl into master

This patch series aims to add macrodecl attributes to C and SmPL ASTs, and match them in C source code. This is a continuation of the series "cocci: Improve C parsing of attributes"[1].

Two test cases are included:

  • detect_macrodecl_attr: Test case to detect a macrodecl attribute.

  • remove_macrodecl_attr: Test case to remove a macrodecl attribute as per the given SmPL.

[1]https://www.mail-archive.com/cocci@systeme.lip6.fr/msg07133.html

Merge request reports