Re: [Cocci] Re: status of constification

From: Emese Revfy
Date: Fri Jun 10 2011 - 17:27:15 EST


This problem seem to be solved. At least, I don't see the problem for the
following semantic patch:

@@
identifier i,x;
type T;
@@

struct i {
...
- T x;
+ const T x;
...
};

on the following code:

struct i {
int a;
int b;
/* a comment */
int c;
int d;
};

The comment is preserved as well.

Hi,

I've just noticed there is a new version out (1.0.0-rc3), I will give it a try and let you know
the results.

--
Emese

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/