aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/parsing
AgeCommit message (Collapse)AuthorFilesLines
2023-12-16parse: handle __cleanup__ attributehandle-cleanup-attrDan Carpenter1-1/+0
The kernel has recently started using the __cleanup__ attribute. Save a pointer to cleanup function. Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org> Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
2023-12-16parse: add testcases for __cleanup__ attributeLuc Van Oostenryck1-0/+34
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
2020-12-29struct-attr: prepare to handle attributes at the end of struct definitions (1)Luc Van Oostenryck1-2/+2
Type attributes for struct can be placed either just after the keyword 'struct' or after the '}' ending its definition but this later case is currently ignored. Prepare the handling of this by factoring the code common to both cases in a single place. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
2020-12-29add testcases for enum attributesLuc Van Oostenryck1-0/+29
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>