cppcheck/test
PKEuS 35d94c26d5 Changed creation of SymbolDatabase. Database always created after Tokenizer::tokenize() and Tokenizer::simplifyTokenList() instead of on-demand creation by Tokenizer::getSymbolDatabase.
-> With Token::scope() it is possible to access the symboldatabase without having to call getSymbolDatabase(). The change increases safety because it is guaranteed that the database is available in all checks, even if the specific check doesn't call getSymbolDatabase
- Tokenizer::_symbolDatabase does no longer have to be mutable -> Increased const correctness

The change above required two additional changes:
- A bug causing a debug message was fixed in the symboldatabase that became visible in the test suite by the change above.
- Simplify expressions like "struct struct Foo" which might be result of typedef instanciation.
2012-08-12 03:01:24 -07:00
..
options.cpp Changed the order of some structures in order to improve, even if for a bit, their padding. 2012-05-14 20:49:03 +02:00
options.h Changed the order of some structures in order to improve, even if for a bit, their padding. 2012-05-14 20:49:03 +02:00
redirect.h
test.cxx
test.pro Add general PRO file for console builds. 2012-06-18 09:28:32 +03:00
test64bit.cpp Committed forgotten test64bit.cpp; tests should work again. 2012-07-08 05:28:17 -07:00
testassignif.cpp Message refactorization: checkassignif.cpp, checkautovariables.cpp 2012-07-07 11:31:18 -07:00
testautovariables.cpp Fixed #3791 (False positive: returnTempReference) 2012-07-18 07:22:29 +02:00
testboost.cpp Clarified errormessage of checkBoost 2012-08-02 02:40:08 -07:00
testbufferoverrun.cpp Removed some duplicate tests and a redundant variable 2012-07-25 01:34:54 -07:00
testcharvar.cpp Fixed #3878 (Sign extension with unsigned char false positive) 2012-06-09 08:43:13 +02:00
testclass.cpp Refactorized CheckClass::checkConst: 2012-08-01 10:24:38 -07:00
testcmdlineparser.cpp Partially reverted my last commit, since some of the tests were already commented out below. 2012-08-01 11:35:20 -07:00
testconstructors.cpp Fixed #3804 (False positive: Member not initialized (simplifyTokenList removes const on pointers)) 2012-07-16 07:28:59 +02:00
testcppcheck.cpp Refactorizations in testrunner: 2012-07-16 04:17:14 -07:00
testdivision.cpp
testerrorlogger.cpp Fixed #3442 (unmatchedSuppression can't be suppressed) 2012-07-13 08:29:49 +02:00
testexceptionsafety.cpp Refactorizations in testrunner: 2012-07-16 04:17:14 -07:00
testfilelister.cpp Refactorizations: Made several test functions const according to cppcheck messages. 2012-08-02 02:13:09 -07:00
testfiles.pri Tests: Add generated testfiles.pri. 2012-06-11 22:11:29 +03:00
testincompletestatement.cpp
testinternal.cpp Spelling fixes. 2012-07-21 18:11:20 +02:00
testio.cpp Fixed false positives on FILE* arrays. (#3965) 2012-07-29 04:04:12 -07:00
testleakautovar.cpp Fixed #3954 (Pointer reference memory leak false positive) 2012-07-17 16:28:34 +02:00
testmathlib.cpp Refactorizations: Made several test functions const according to cppcheck messages. 2012-08-02 02:13:09 -07:00
testmemleak.cpp Changed creation of SymbolDatabase. Database always created after Tokenizer::tokenize() and Tokenizer::simplifyTokenList() instead of on-demand creation by Tokenizer::getSymbolDatabase. 2012-08-12 03:01:24 -07:00
testnonreentrantfunctions.cpp Message refactorization: checkobsoletefunctions.h and checknonreentrantfunctions.h 2012-07-29 02:30:03 -07:00
testnullpointer.cpp Changed creation of SymbolDatabase. Database always created after Tokenizer::tokenize() and Tokenizer::simplifyTokenList() instead of on-demand creation by Tokenizer::getSymbolDatabase. 2012-08-12 03:01:24 -07:00
testobsoletefunctions.cpp Message refactorization: checkobsoletefunctions.h and checknonreentrantfunctions.h 2012-07-29 02:30:03 -07:00
testoptions.cpp Refactorizations: Made several test functions const according to cppcheck messages. 2012-08-02 02:13:09 -07:00
testother.cpp More robust template detection in clarifyCondition check based on Token::link. (#3818) 2012-08-02 04:03:01 -07:00
testpath.cpp Refactorizations: Made several test functions const according to cppcheck messages. 2012-08-02 02:13:09 -07:00
testpathmatch.cpp Refactorizations: Made several test functions const according to cppcheck messages. 2012-08-02 02:13:09 -07:00
testpostfixoperator.cpp Removed preprocessor directives from tests that aren't preprocessed before being tokenized. 2012-07-07 11:21:08 -07:00
testpreprocessor.cpp Fixed #3834 (Preprocessor: -U doesn't work) 2012-07-18 20:57:00 +02:00
testrunner.cpp Fixed (unexpected) compilation error: Cast argv to 'const char**' 2012-07-11 02:29:20 -07:00
testrunner.vcproj Implemented support for building cppcheck lib into a dll 2012-06-10 05:19:09 -07:00
testrunner.vcxproj Cleanup of VS10 solutions (As suggested by XhmikosR). Fixed problems: 2012-07-09 08:09:54 -07:00
testrunner.vcxproj.filters Bugfix (#3844): Added 3 missing files to testrunner 2012-06-11 03:55:33 -07:00
testsimplifytokens.cpp Changed creation of SymbolDatabase. Database always created after Tokenizer::tokenize() and Tokenizer::simplifyTokenList() instead of on-demand creation by Tokenizer::getSymbolDatabase. 2012-08-12 03:01:24 -07:00
teststl.cpp Refactorized tokenizer: 2012-08-10 09:31:22 -07:00
testsuite.cpp Made several functions in testsuite.cpp const according to cppcheck suggestions 2012-08-01 11:54:55 -07:00
testsuite.h Made several functions in testsuite.cpp const according to cppcheck suggestions 2012-08-01 11:54:55 -07:00
testsuppressions.cpp Change every C version of 'size_t' to C++ 'std::size_t'. 2012-07-09 13:30:18 +02:00
testsymboldatabase.cpp SymbolDatabase: Added unit test that ensure the dimension is 0 when it is unknown (#3964) 2012-08-10 11:01:12 +02:00
testthreadexecutor.cpp Change every C version of 'size_t' to C++ 'std::size_t'. 2012-07-09 13:30:18 +02:00
testtoken.cpp Made some functions static or const according to cppcheck results 2012-05-17 01:33:24 -07:00
testtokenize.cpp Fixed #3814 (false positive: missing constructor) 2012-07-29 16:01:05 +02:00
testuninitvar.cpp Uninitialized variables: Fixed false positive when there is assignment in condition 2012-07-17 07:03:40 +02:00
testunusedfunctions.cpp Fixed #3875 (Static member method called with class name is considered unused) 2012-06-14 22:04:21 +02:00
testunusedprivfunc.cpp Refactorizations: 2012-07-24 12:21:05 -07:00
testunusedvar.cpp Changed creation of SymbolDatabase. Database always created after Tokenizer::tokenize() and Tokenizer::simplifyTokenList() instead of on-demand creation by Tokenizer::getSymbolDatabase. 2012-08-12 03:01:24 -07:00
testutils.h Refactorizations in test suite: 2012-05-16 09:04:03 -07:00