lp:coccinelle

Created by Nicolas Palix and last modified
Get this branch:
bzr branch lp:coccinelle

Related bugs

Related blueprints

Branch information

Owner:
Nicolas Palix
Project:
Coccinelle
Status:
Development

Import details

Import Status: Reviewed

This branch is an import of the HEAD branch of the Git repository at git://github.com/coccinelle/coccinelle.git.

The next import is scheduled to run .

Last successful import was .

Import started on juju-1e3bde-prod-lp-code-import-12 and finished taking 10 seconds — see the log
Import started on juju-1e3bde-prod-lp-code-import-13 and finished taking 10 seconds — see the log
Import started on juju-1e3bde-prod-lp-code-import-14 and finished taking 10 seconds — see the log
Import started on juju-1e3bde-prod-lp-code-import-13 and finished taking 10 seconds — see the log
Import started on juju-1e3bde-prod-lp-code-import-12 and finished taking 10 seconds — see the log
Import started on juju-1e3bde-prod-lp-code-import-14 and finished taking 10 seconds — see the log
Import started on juju-1e3bde-prod-lp-code-import-15 and finished taking 10 seconds — see the log
Import started on juju-1e3bde-prod-lp-code-import-15 and finished taking 10 seconds — see the log
Import started on juju-1e3bde-prod-lp-code-import-12 and finished taking 10 seconds — see the log
Import started on juju-1e3bde-prod-lp-code-import-13 and finished taking 10 seconds — see the log

Recent revisions

5037. By Keisuke Nishimura <email address hidden>

parsing_cocci: support const/volatile after types

This commit adds support for const/volatile after types such as
`struct st const *id;`.

Signed-off-by: Keisuke Nishimura <email address hidden>

5036. By Julia Lawall <email address hidden>

reduce some long lines

5035. By Keisuke Nishimura <email address hidden>

Add support for attributes between a type and "*"

This commit enables to support attributes between a type and "*".

Example:
int __iomem *func() {...}
int func (int __iomem *mem) {...}

Signed-off-by: Keisuke Nishimura <email address hidden>

5034. By Keisuke Nishimura <email address hidden>

parsing_cocci: support "signed/unsigned *" types

Signed-off-by: Keisuke Nishimura <email address hidden>

5033. By Julia Lawall <email address hidden>

add a space so that the command and the description don't run together, update man input file accordingly

5032. By Corentin De Souza <email address hidden>

docs: update link from lip6 to inira

5031. By Julia Lawall <email address hidden>

define a state structure to manage the various token_effect flags

5030. By Julia Lawall

avoid incrementing accumulator for calls

The accumulator is used in adjust indentation to account for the fact
that eg an if branch should be indented even if there is no surrounding
{}. This was triggered by a ) with no following { or ; (the former
would indicate that the branch does have braces and the latter would
indicate that the ) is the end of a function call, not an if/for/while
test). In this situation another possible token following the ) is a
comma, which also does not trigger the need for subsequent indentation.
Thus add comma to the list of tokens for which the accumulator is not
extended.

5029. By Julia Lawall

improve pretty printing in the presence of comma expressions

Comma is a terminator in a structure or enum initialization, but not in
a comma expression (e1, e2). In the former case, an update to the
indentation should be preserved for subsequent lines, but in the latter
case such an update should be discarded. Add the variable instruct in
token_effect in order to distinguish between the cases. The test
comma_call illustrates the problem. Fixing the problem required taking
into account the tests ben and enum_assign.

5028. By Julia Lawall

detect all assignmemt operators, not just =

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.

Subscribers