attributes for parameters
This patch series aims to add parameter attributes to SmPL, and is a continuation of the series "cocci: Improve C parsing of attributes"[1]. In [1], parameter attributes were added to the C AST of Coccinelle, but not to SmPL.
Two test cases are included:
-
detect_param_attr: Test case to detect a parameter attribute.
-
remove_param_attr: Test case to remove a parameter attribute as per the given SmPL.
[1]https://www.mail-archive.com/cocci@systeme.lip6.fr/msg07133.html