cppcheck/test
Thomas Jarosch f6e68914ea Add check for cppcheck's internal API usage (#3263)
First checks:
- Simple pattern used inside Token::Match()
- Complex pattern used inside Token::simpleMatch()

The checks get enabled by passing "--enable=internal".
It's not included in "--enable=all".

If you see something that needs further tweaking, just go for it!
2011-10-28 22:46:07 +02:00
..
options.cpp changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
options.h changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
redirect.h changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
test.cxx renamed gui/test.cpp to test/test.cxx 2010-02-19 07:21:16 +01:00
test.pro test/test.pro: indentation update 2011-10-23 15:45:56 +02:00
test64bit.cpp changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
testassignif.cpp changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
testautovariables.cpp changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
testboost.cpp Fixed #3232 (Check if container is modified inside BOOST_FOREACH) 2011-10-23 13:07:43 +02:00
testbufferoverrun.cpp Refactor readlink() buffer check to also handle readlinkat() 2011-10-24 21:23:18 +02:00
testcharvar.cpp changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
testclass.cpp changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
testcmdlineparser.cpp Add check for cppcheck's internal API usage (#3263) 2011-10-28 22:46:07 +02:00
testconstructors.cpp changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
testcppcheck.cpp changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
testdivision.cpp changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
testerrorlogger.cpp changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
testexceptionsafety.cpp changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
testfilelister.cpp changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
testincompletestatement.cpp changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
testinternal.cpp Add check for cppcheck's internal API usage (#3263) 2011-10-28 22:46:07 +02:00
testmathlib.cpp changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
testmemleak.cpp Use Token::simpleMatch() / Token::findsimplematch() where possible 2011-10-28 22:31:05 +02:00
testnonreentrantfunctions.cpp Fix #3243 (Improve non reentrant function check) 2011-10-22 11:54:52 +02:00
testnullpointer.cpp Run astyle 2011-10-28 22:43:02 +02:00
testobsoletefunctions.cpp Fixed #3238 (Crash in obsolete functions check.) 2011-10-22 12:36:45 +02:00
testoptions.cpp changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
testother.cpp Fixed #3187 (Remove code duplication in 'other' unit test) 2011-10-23 12:20:43 +02:00
testpath.cpp changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
testpathmatch.cpp changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
testpostfixoperator.cpp changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
testpreprocessor.cpp Preprocessor: Unit test #error and missing includes. Ticket: #2131 2011-10-25 19:55:47 +02:00
testrunner.cpp Change year 2010 -> 2011 in license texts. 2011-01-09 21:33:36 +02:00
testrunner.vcproj Visual Studio: auto generated new visual studio project files 2011-10-23 15:42:02 +02:00
testrunner.vcxproj Visual Studio: auto generated new visual studio project files 2011-10-23 15:42:02 +02:00
testrunner.vcxproj.filters Visual Studio: auto generated new visual studio project files 2011-10-23 15:42:02 +02:00
testsimplifytokens.cpp Fixes false positives in test suite, adds unit test for void-simplification 2011-10-27 21:54:42 +03:00
teststl.cpp STL check: Detect return of implict string conversion + .c_str() 2011-10-26 22:14:47 +02:00
testsuite.cpp changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
testsuite.h changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
testsuppressions.cpp changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
testsymboldatabase.cpp changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
testthreadexecutor.cpp changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
testtoken.cpp Use Token::simpleMatch() / Token::findsimplematch() where possible 2011-10-28 22:31:05 +02:00
testtokenize.cpp Fixes false positives in test suite, adds unit test for void-simplification 2011-10-27 21:54:42 +03:00
testuninitvar.cpp changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
testunusedfunctions.cpp changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
testunusedprivfunc.cpp changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
testunusedvar.cpp changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
testutils.h changed the astyle formatting flags 2011-10-13 20:53:06 +02:00