cppcheck/test
Edoardo Prezioso aeb4531a58 Token::Match: add a new pattern: '%comp%'.
Token::Match returns true if the token is a comparison operator. It's equivalent to matching '<|<=|==|!=|>=|>' and the tests show that the new pattern speeds up the program execution. Added the new pattern in CheckInternal (and also reordered the %cmd% lists) and in TestToken.
2012-12-01 00:55:24 +01:00
..
options.cpp
options.h
redirect.h CheckMemoryLeak: add '?1:0' to clarify the value of the argument to 'deleteNext'; Tokenize.cpp: in simplifyCompoundAssignment(), remove ':' odd code used to fix a weird test case ('case' code not inside a function body), remove useless 'tok->next() != NULL' check (already true by previous condition); in simplifyConditionOperator(), handle better the parenthesis skipping code and remove useless ')'check; in simplifyQuestionMark(), remove useless 'tok->tokAt(-2)' check (Token::Match returns false if the token is NULL), add more patterns to Token::Match to handle more test cases; in simplifyBitFields(), add 'const' to 'offset' bool. RedirectOutputError: style nitpick change to declaration of a pointer. 2012-10-19 14:19:52 +02:00
test.cxx
test.pro pro and pri files: remove unneeded empty lines, use spaces for consistency 2012-10-12 17:46:57 +02:00
test64bit.cpp
testassignif.cpp CheckAssignIf: Better handling of various expressions in assignments 2012-11-29 10:19:52 +01:00
testautovariables.cpp SymbolDatabase: Improved find function functionality. Taking arguments into account 2012-10-14 17:30:37 +02:00
testboost.cpp Clarified errormessage of checkBoost 2012-08-02 02:40:08 -07:00
testbufferoverrun.cpp Array index checking: Fixed TODO comment (false negatives when using ?:) 2012-11-30 09:01:15 +01:00
testcharvar.cpp
testclass.cpp Fixed string literals in several unit tests (one test failing - changed it to TODO) 2012-11-29 21:07:52 +01:00
testcmdlineparser.cpp
testconstructors.cpp Fixed #3190 (SymbolDatabase: Parse of sub class constructor fails) 2012-11-30 06:03:58 +01:00
testcppcheck.cpp
testdivision.cpp Remove useless preprocessor pieces from some testcases. 2012-11-30 20:28:30 +01:00
testerrorlogger.cpp
testexceptionsafety.cpp Refactorizations in testrunner: 2012-07-16 04:17:14 -07:00
testfilelister.cpp
testfiles.pri
testincompletestatement.cpp Remove useless preprocessor pieces from some testcases. 2012-11-30 20:28:30 +01:00
testinternal.cpp
testio.cpp Fixed #3190 (SymbolDatabase: Parse of sub class constructor fails) 2012-11-30 06:03:58 +01:00
testleakautovar.cpp Fixed #4237 (False positive: (error) Memory Leak: data (assign reference variable value to a shadow variable in inner scope)) 2012-10-27 16:36:14 +02:00
testmathlib.cpp Fixed #4295 (False positive: Expression '(X & 0xFF00000000000000LL)==0xa00000000000000' always evaluates to false (64-bit value)) 2012-11-27 17:37:49 +01:00
testmemleak.cpp Fixed string literals in several unit tests (one test failing - changed it to TODO) 2012-11-29 21:07:52 +01:00
testnonreentrantfunctions.cpp
testnullpointer.cpp Fixed #3302 (new check: nullpointer dereference) 2012-11-20 23:56:17 -08:00
testobsoletefunctions.cpp
testoptions.cpp
testother.cpp Remove useless preprocessor pieces from some testcases. 2012-11-30 20:28:30 +01:00
testpath.cpp
testpathmatch.cpp
testpostfixoperator.cpp
testpreprocessor.cpp Fixed #4308 (C++11 raw string literals not parsed correctly) 2012-11-30 13:46:46 +01:00
testrunner.cpp
testrunner.vcproj
testrunner.vcxproj
testrunner.vcxproj.filters
testsimplifytokens.cpp Remove useless preprocessor pieces from some testcases. 2012-11-30 20:28:30 +01:00
teststl.cpp Fixed #3678 (stlcstrReturn for classes which don't provide a std::string) 2012-11-29 07:10:56 +01:00
testsuite.cpp
testsuite.h
testsuppressions.cpp
testsymboldatabase.cpp Fixed #3190 (SymbolDatabase: Parse of sub class constructor fails) 2012-11-30 06:03:58 +01:00
testthreadexecutor.cpp
testtimer.cpp
testtoken.cpp Token::Match: add a new pattern: '%comp%'. 2012-12-01 00:55:24 +01:00
testtokenize.cpp Fixed #4187 (False positive: Variable inside a lambda is reported as uninitialized) 2012-11-30 10:30:26 +01:00
testuninitvar.cpp Uninitialized variables: Fixed false negative in new checking when using while loops 2012-11-30 06:30:04 +01:00
testunusedfunctions.cpp Message refactorization: checkuninitvar.cpp, checkunusedfunctions.cpp, checkunusedvar.cpp 2012-11-01 18:40:20 +01:00
testunusedprivfunc.cpp test: tabs to spaces, remove trailing spaces and extra empty lines at the end of files 2012-09-17 13:51:40 +02:00
testunusedvar.cpp Fixed #4180 (false positive: (style) Variable is assigned a value that is never used (inside loop)) 2012-11-28 06:11:33 +01:00
testutils.h