Reza Roboubi wrote:
>
> Consider an editor that can do search & replace for all instances of
> 'size', but only when 'size' is a member of 'struct list'.  (Even
> if 'size' is being referenced from inside a macro.)
>
> I've glanced at the source code.  Can you help me find out if sparse is
> right for this?

You can look at dissect.c. There is no documentation, please read the changelog
in 
http://git.kernel.org/?p=devel/sparse/sparse.git;a=commit;h=c6e90aa8eb9c0b32a771428aff9f2aff2e9bbd9d

->r_member() reports the usage of struct's members, see also test-dissect.c

Oleg.

-
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to