+1  A: 

I found this when searching for generic static checking (no idea what the current state is): http://wiki.eclipse.org/CDT/designs/StaticAnalysis

Let_Me_Be
+1  A: 

There is cppcheck

http://sourceforge.net/apps/mediawiki/cppcheck/index.php?title=Main_Page http://code.google.com/p/cppcheclipse/

I have played with the cppcheck and its quite good, though not as complete as checkstyle or pmd are for Java. I have not used the eclipse plugin though.

iain