[Linux-kernel-mentees] [PATCH 0/2] cocci: Support user comments attached to identifiers

Jaskaran Singh jaskaransingh7654321 at gmail.com
Fri Jan 10 17:11:48 UTC 2020


Comments attached to identifiers via OCaml/Python bindings can be helpful
in using Coccinelle for source code analysis. Users of SmPL can attach
these comments to identifiers for denoting some information.

This patch series is for handling these comments and adding a corresponding
test case for cases that previously caused pretty printing errors

 parsing_c/unparse_cocci.ml |   32 +++++++++++++++++++++++++++++---
 tests/id_comments.c        |    4 ++++
 tests/id_comments.cocci    |   19 +++++++++++++++++++
 tests/id_comments.res      |    6 ++++++
 4 files changed, 58 insertions(+), 3 deletions(-)




More information about the Linux-kernel-mentees mailing list