Hi,

I have begun modifying sparse (read: adding in various hooks to the
preprocessing and parsing stages) in order to be able to use it as a
style checker. Checking rules such as order of includes, function and
variable naming ... etc.

The style checking is intended to be for linux/driver modules and as
far as I am aware the only two freely available c parsers which can
parse all the headers in the linux kernel are those that are part of
sparse and gcc. As sparse is a lot simpler to modify it seems the
logical choice

So I was wondering:-
1) if anyone had used sparse similarly?
2) would it ever be desirable to have this kind of feature as a part of sparse?
3) is there anything wrong with this approach?!

- Mike
-
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