D
Dom Gilligan
Does anyone know of a C++ lint, preferably free? I've inherited a
large code base and need to remove some unused functions. What I've
found so far:
gcc -O2 does *not* check for unused functions
gcc -Wanything-you-can-think-of doesn't check for unused non-static
functions
lclint/splint doesn't do C++
Gimpel FlexeLint/PC-lint (http://www.gimpel.com/html/lintinfo.htm)
should do the job, but it's $1000 and I'm broke
clint (http://sourceforge.net/projects/clint/) appears to be dead
lwlint (http://www.jimbrooks.org/web/tools/) might do the job, but I'd
have to build it from source to find out
Cheers
Dom
large code base and need to remove some unused functions. What I've
found so far:
gcc -O2 does *not* check for unused functions
gcc -Wanything-you-can-think-of doesn't check for unused non-static
functions
lclint/splint doesn't do C++
Gimpel FlexeLint/PC-lint (http://www.gimpel.com/html/lintinfo.htm)
should do the job, but it's $1000 and I'm broke
clint (http://sourceforge.net/projects/clint/) appears to be dead
lwlint (http://www.jimbrooks.org/web/tools/) might do the job, but I'd
have to build it from source to find out
Cheers
Dom