linux-sparse.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Style checking
@ 2007-04-30  7:30 Mike Goodwin
  2007-05-01 18:09 ` Josh Triplett
  0 siblings, 1 reply; 4+ messages in thread
From: Mike Goodwin @ 2007-04-30  7:30 UTC (permalink / raw)
  To: linux-sparse

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-05-11 10:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-30  7:30 Style checking Mike Goodwin
2007-05-01 18:09 ` Josh Triplett
2007-05-03 16:34   ` Uwe Kleine-König
2007-05-11 10:25   ` Mike Goodwin

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).