From: Jaskaran Singh <jaskaransingh7654321@gmail.com>
To: cocci@systeme.lip6.fr
Cc: linux-kernel-mentees@lists.linuxfoundation.org,
skhan@linuxfoundation.org
Subject: [Cocci] [PATCH 0/2] cocci: Support user comments attached to identifiers
Date: Fri, 10 Jan 2020 22:41:48 +0530 [thread overview]
Message-ID: <20200110171150.14695-1-jaskaransingh7654321@gmail.com> (raw)
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(-)
_______________________________________________
Cocci mailing list
Cocci@systeme.lip6.fr
https://systeme.lip6.fr/mailman/listinfo/cocci
next reply other threads:[~2020-01-10 17:12 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-10 17:11 Jaskaran Singh [this message]
2020-01-10 17:11 ` [Cocci] [PATCH 1/2] parsing_c: Support user comments attached to identifier Jaskaran Singh
2020-01-10 17:11 ` [Cocci] [PATCH 2/2] tests: Add test case for user comments attached to ident Jaskaran Singh
2020-01-10 18:39 ` [Cocci] [PATCH 2/2] tests: Add test case for user comments attached to identifiers Markus Elfring
2020-01-11 9:18 ` [Cocci] [2/2] " Markus Elfring
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200110171150.14695-1-jaskaransingh7654321@gmail.com \
--to=jaskaransingh7654321@gmail.com \
--cc=cocci@systeme.lip6.fr \
--cc=linux-kernel-mentees@lists.linuxfoundation.org \
--cc=skhan@linuxfoundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).