cocci.inria.fr archive mirror
 help / color / mirror / Atom feed
From: Jaskaran Singh <jaskaran.singh@collabora.com>
To: cocci@systeme.lip6.fr
Subject: [Cocci] [PATCH v2 RESEND 00/20] parsing_cocci: Wrap SmPL Attributes
Date: Wed,  8 Jul 2020 18:30:15 +0530	[thread overview]
Message-ID: <20200708130035.26687-1-jaskaran.singh@collabora.com> (raw)

This patch series aims to wrap the existing attribute type on the SmPL
side.  Wrapping attributes is necessary to add support for meta
attributes in SmPL.

Changes in v2:
--------------
Rebase on gitlab/master:
	d0fd4c7dfa70763870914eedee7022fa35f700e2
	add quotes on strings before matching regexps

parsing_cocci: arity: Wrap SmPL Attributes
- Use literal tab wherever suitable
- Fix space-before-tab errors

Jaskaran Singh (20):
      parsing_cocci: ast0_cocci: Wrap SmPL Attributes
      parsing_cocci: parser: Wrap SmPL Attributes
      parsing_cocci: visitor_ast0: Wrap SmPL Attributes
      parsing_cocci: adjust_pragmas: Wrap SmPL Attributes
      parsing_cocci: arity: Wrap SmPL Attributes
      parsing_cocci: compute_lines: Wrap SmPL Attributes
      parsing_cocci: context_neg: Wrap SmPL Attributes
      parsing_cocci: iso_pattern: Wrap SmPL Attributes
      parsing_cocci: index: Wrap SmPL Attributes
      parsing_cocci: unparse_ast0: Wrap SmPL Attributes
      parsing_cocci: ast0toast: Wrap SmPL Attributes
      parsing_cocci: ast_cocci: Wrap SmPL Attributes
      parsing_cocci: visitor_ast: Wrap SmPL Attributes
      parsing_cocci: get_constants2: Wrap SmPL Attributes
      parsing_cocci: safe_for_multi_decls: Wrap SmPL Attributes
      parsing_cocci: unify_ast: Wrap SmPL Attributes
      parsing_cocci: pretty_print_cocci: Wrap SmPL Attributes
      parsing_c: unparse_cocci: Wrap SmPL Attributes
      engine: cocci_vs_c: Wrap SmPL Attributes
      ocaml: coccilib: Wrap SmPL Attributes

 engine/cocci_vs_c.ml                  |   13 +++---
 ocaml/coccilib.mli                    |   10 ++++-
 parsing_c/unparse_cocci.ml            |   34 ++++++++---------
 parsing_cocci/adjust_pragmas.ml       |    9 +++-
 parsing_cocci/arity.ml                |   55 ++++++++++++---------------
 parsing_cocci/ast0_cocci.ml           |    5 ++
 parsing_cocci/ast0_cocci.mli          |    5 ++
 parsing_cocci/ast0toast.ml            |   21 ++++++----
 parsing_cocci/ast_cocci.ml            |    5 ++
 parsing_cocci/ast_cocci.mli           |    5 ++
 parsing_cocci/compute_lines.ml        |   42 ++++++++++++---------
 parsing_cocci/context_neg.ml          |   31 ++++++++++-----
 parsing_cocci/get_constants2.ml       |    6 ++-
 parsing_cocci/index.ml                |    6 ++-
 parsing_cocci/index.mli               |    1 
 parsing_cocci/iso_pattern.ml          |   68 +++++++++++++---------------------
 parsing_cocci/parse_aux.ml            |    3 +
 parsing_cocci/parse_aux.mli           |    7 +++
 parsing_cocci/parser_cocci_menhir.mly |   18 +++++----
 parsing_cocci/pretty_print_cocci.ml   |   34 ++++++++---------
 parsing_cocci/safe_for_multi_decls.ml |    6 ++-
 parsing_cocci/unify_ast.ml            |   21 ++++++----
 parsing_cocci/unparse_ast0.ml         |   34 ++++++++---------
 parsing_cocci/visitor_ast.ml          |   48 +++++++++++++++---------
 parsing_cocci/visitor_ast0.ml         |   27 +++++++++----
 25 files changed, 296 insertions(+), 218 deletions(-)


_______________________________________________
Cocci mailing list
Cocci@systeme.lip6.fr
https://systeme.lip6.fr/mailman/listinfo/cocci

             reply	other threads:[~2020-07-08 13:01 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-08 13:00 Jaskaran Singh [this message]
2020-07-08 13:00 ` [Cocci] [PATCH v2 RESEND 01/20] parsing_cocci: ast0_cocci: Wrap SmPL Attributes Jaskaran Singh
2020-07-08 13:00 ` [Cocci] [PATCH v2 RESEND 02/20] parsing_cocci: parser: " Jaskaran Singh
2020-07-08 13:00 ` [Cocci] [PATCH v2 RESEND 03/20] parsing_cocci: visitor_ast0: " Jaskaran Singh
2020-07-08 13:00 ` [Cocci] [PATCH v2 RESEND 04/20] parsing_cocci: adjust_pragmas: " Jaskaran Singh
2020-07-08 13:00 ` [Cocci] [PATCH v2 RESEND 05/20] parsing_cocci: arity: " Jaskaran Singh
2020-07-08 13:00 ` [Cocci] [PATCH v2 RESEND 06/20] parsing_cocci: compute_lines: " Jaskaran Singh
2020-07-08 13:00 ` [Cocci] [PATCH v2 RESEND 07/20] parsing_cocci: context_neg: " Jaskaran Singh
2020-07-08 13:00 ` [Cocci] [PATCH v2 RESEND 08/20] parsing_cocci: iso_pattern: " Jaskaran Singh
2020-07-08 13:00 ` [Cocci] [PATCH v2 RESEND 09/20] parsing_cocci: index: " Jaskaran Singh
2020-07-08 13:00 ` [Cocci] [PATCH v2 RESEND 10/20] parsing_cocci: unparse_ast0: " Jaskaran Singh
2020-07-08 13:00 ` [Cocci] [PATCH v2 RESEND 11/20] parsing_cocci: ast0toast: " Jaskaran Singh
2020-07-08 13:00 ` [Cocci] [PATCH v2 RESEND 12/20] parsing_cocci: ast_cocci: " Jaskaran Singh
2020-07-08 13:00 ` [Cocci] [PATCH v2 RESEND 13/20] parsing_cocci: visitor_ast: " Jaskaran Singh
2020-07-08 13:00 ` [Cocci] [PATCH v2 RESEND 14/20] parsing_cocci: get_constants2: " Jaskaran Singh
2020-07-08 13:00 ` [Cocci] [PATCH v2 RESEND 15/20] parsing_cocci: safe_for_multi_decls: " Jaskaran Singh
2020-07-08 13:00 ` [Cocci] [PATCH v2 RESEND 16/20] parsing_cocci: unify_ast: " Jaskaran Singh
2020-07-08 13:00 ` [Cocci] [PATCH v2 RESEND 17/20] parsing_cocci: pretty_print_cocci: " Jaskaran Singh
2020-07-08 13:00 ` [Cocci] [PATCH v2 RESEND 18/20] parsing_c: unparse_cocci: " Jaskaran Singh
2020-07-08 13:00 ` [Cocci] [PATCH v2 RESEND 19/20] engine: cocci_vs_c: " Jaskaran Singh
2020-07-08 13:00 ` [Cocci] [PATCH v2 RESEND 20/20] ocaml: coccilib: " Jaskaran Singh
2020-07-08 18:22 ` [Cocci] [PATCH v2 RESEND 00/20] parsing_cocci: " Julia Lawall

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=20200708130035.26687-1-jaskaran.singh@collabora.com \
    --to=jaskaran.singh@collabora.com \
    --cc=cocci@systeme.lip6.fr \
    /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).