0d6b6e840d
The function name list is already in memory so we can avoid copying it into a std::set if we sort the list alphabetically. This way no binary search tree has to be allocated. Before (best of 5 runs): ./testrunner > /dev/null 0,21s user 0,00s system 95% cpu 0,221 total After (best of 5 runs): ./testrunner > /dev/null 0,20s user 0,00s system 95% cpu 0,210 total |
||
---|---|---|
gui | ||
man | ||
src | ||
test | ||
tools | ||
win_installer | ||
.gitignore | ||
AUTHORS | ||
COPYING | ||
Changelog | ||
Makefile | ||
build.bat | ||
cppcheck.cbp | ||
cppcheck.cbproj | ||
cppcheck.geany | ||
cppcheck.sln | ||
cppcheck.vcproj | ||
createrelease | ||
doxyfile | ||
readme.txt | ||
runastyle | ||
runastyle.bat | ||
testrunner.cbproj | ||
testrunner.sln | ||
testrunner.vcproj | ||
using_gcov.txt |
readme.txt
========= Cppcheck ========= About The original name of this program is "C++check". The name was changed to "cppcheck". Compiling Any C++ compiler should work. The Makefile works under Linux. To make it work under Windows with DJGPP, change "g++" to "gxx". To build cppcheck with qmake, run the commands: cd src qmake -config release (or '-config debug' if doing developer build) make To compile the GUI one needs Qt development libraries and issue the following commands: cd gui qmake -config release (or '-config debug' if doing developer build) lrelease gui.pro make Usage Run the cppcheck program without parameters and a help text will be shown. Recommendations When the "--all" flag is given you may get a lot of error messages. Webpage http://www.sf.net/projects/cppcheck