cppcheck/test
Miika-Petteri Matikainen acd8a092f8 Make syntaxError suppressable (fixes #5917 and #7076)
syntaxErrors were not suppressable, because they were treated as
InternalErrors which were thrown and catched during the checking,
and normal suppression rules were not applied for those.

We fix this by calling the normal reportErr() function that does
suppression matching.
2015-10-28 20:53:35 +02:00
..
cfg #7062 Remove unnecessaryQualification check 2015-10-18 17:00:09 +02:00
CMakeLists.txt Add CMake files 2015-02-13 19:00:14 +01:00
options.cpp Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
options.h Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
redirect.h Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
test.cxx test: tabs to spaces, remove trailing spaces and extra empty lines at the end of files 2012-09-17 13:51:40 +02:00
test.pro Don't include tinyxml from both lib.pri and test.pro 2013-08-19 19:44:29 +04:00
test64bit.cpp Refactorization: Improved usage of Settings instances in test suite 2015-10-07 18:40:03 +02:00
testassert.cpp Refactorization: Improved usage of Settings instances in test suite 2015-10-07 18:40:03 +02:00
testautovariables.cpp Refactorization: Avoid loading std.cfg multiple times in testautovariables.cpp 2015-10-07 14:40:09 +02:00
testbool.cpp Refactorization: Improved usage of Settings instances in test suite 2015-10-07 18:40:03 +02:00
testboost.cpp Refactorization: Improved usage of Settings instances in test suite 2015-10-07 18:40:03 +02:00
testbufferoverrun.cpp Refactorization: Reduced code duplication in test suite 2015-10-08 11:35:51 +02:00
testcharvar.cpp Refactorization: Improved usage of Settings instances in test suite 2015-10-07 18:40:03 +02:00
testclass.cpp Support range-based for-loop in CheckClass::checkConst() (#5514) 2015-10-26 18:48:01 +01:00
testcmdlineparser.cpp #7062 Remove unnecessaryQualification check 2015-10-18 17:00:09 +02:00
testcondition.cpp ValueType: Handle bit operations, sizeof better. Use ValueType in astIsFloat(). 2015-10-11 12:20:40 +02:00
testconstructors.cpp Refactorization: Improved usage of Settings instances in test suite 2015-10-07 18:40:03 +02:00
testcppcheck.cpp Use C++11 string.back() instead of string[string.length()-1] 2015-07-25 17:19:53 +02:00
testerrorlogger.cpp Refactorization: Reduced code duplication in testlibrary.cpp 2015-10-19 09:01:20 +02:00
testexceptionsafety.cpp Refactorization: Improved usage of Settings instances in test suite 2015-10-07 18:40:03 +02:00
testfilelister.cpp Refactorized file listing code (CLI): 2015-07-23 14:28:17 +02:00
testfiles.pri Refactoring to address some issues from #5895 (handling of unsigned numbers). Also adding a TODO testcase since the real issue (FP) is still not fixed 2015-06-13 18:08:13 +02:00
testgarbage.cpp Fixed crash on garbage code (#7074) 2015-10-26 13:29:47 +01:00
testincompletestatement.cpp Refactorization: Improved usage of Settings instances in test suite 2015-10-07 18:40:03 +02:00
testinternal.cpp Refactorization: Improved usage of Settings instances in test suite 2015-10-07 18:40:03 +02:00
testio.cpp Fixed false positive seekOnAppendedFile if FILE* is reused (#6566) 2015-10-13 15:32:13 +02:00
testleakautovar.cpp Refactorization: Improved usage of Settings instances in test suite 2015-10-07 18:40:03 +02:00
testlibrary.cpp Refactorization: Reduced code duplication in testlibrary.cpp 2015-10-19 09:01:20 +02:00
testmathlib.cpp Fix some glitches from previous commit to TestMathLib 2015-07-26 19:47:27 +02:00
testmemleak.cpp Refactorization: Improved usage of Settings instances in test suite 2015-10-07 18:40:03 +02:00
testnonreentrantfunctions.cpp Refactorization: Improved usage of Settings instances in test suite 2015-10-07 18:40:03 +02:00
testnullpointer.cpp Refactorization: Improved usage of Settings instances in test suite 2015-10-07 18:40:03 +02:00
testobsolescentfunctions.cpp Refactorization: Improved usage of Settings instances in test suite 2015-10-07 18:40:03 +02:00
testoptions.cpp Refactorization: Moved declaration of errout, ... to testsuite.h, uniformized style 2015-03-11 22:54:43 +01:00
testother.cpp Add regression test for #6669 Return value of malloc is reported not stored, while it is. 2015-10-26 18:24:49 +01:00
testpath.cpp Better handle double slashes, more tests 2015-02-16 13:11:13 +03:00
testpathmatch.cpp Refactorization: Moved declaration of errout, ... to testsuite.h, uniformized style 2015-03-11 22:54:43 +01:00
testpostfixoperator.cpp Refactorization: Improved usage of Settings instances in test suite 2015-10-07 18:40:03 +02:00
testpreprocessor.cpp Fixed fix for #7042 - support hexadecimal digits 2015-10-18 16:37:33 +02:00
testrunner.cpp Refactorization: Improved handling of preprocessor in test suite 2015-10-07 14:18:57 +02:00
testrunner.vcxproj Updated VS solution with VS2015 as default. Added flags /Zc:inline and /Zc:throwingNew. 2015-09-04 14:30:54 +02:00
testrunner.vcxproj.filters Add new test file: testtokenlist.cpp to testrunner 2015-06-16 20:30:09 +02:00
testsamples.cpp Refactorized file listing code (CLI): 2015-07-23 14:28:17 +02:00
testsimplifytemplate.cpp Moved a few tests out of testtokenize.cpp; refactorized them 2015-10-07 22:45:38 +02:00
testsimplifytokens.cpp Fixed broken function Token::getCharAt() (#7073) 2015-10-26 11:51:05 +01:00
testsimplifytypedef.cpp Fixed false positives variableHidingTypedef (#5624, #6507) 2015-10-26 10:06:52 +01:00
testsizeof.cpp Refactorization: Improved usage of Settings instances in test suite 2015-10-07 18:40:03 +02:00
teststl.cpp Refactorization: Improved usage of Settings instances in test suite 2015-10-07 18:40:03 +02:00
teststring.cpp Added dot at end of stringLiteralWrite message 2015-10-19 09:01:21 +02:00
testsuite.cpp Refactorization: Removed some redundant code 2015-10-07 18:40:04 +02:00
testsuite.h Refactorization: Removed some redundant code 2015-10-07 18:40:04 +02:00
testsuppressions.cpp Make syntaxError suppressable (fixes #5917 and #7076) 2015-10-28 20:53:35 +02:00
testsymboldatabase.cpp Fixed VarId accidentially assigned to case labels. 2015-10-26 21:24:53 +01:00
testthreadexecutor.cpp Refactorization: Simplified code in tokenlist.cpp, token.cpp and testthreadexecutor.cpp 2015-10-19 09:01:20 +02:00
testtimer.cpp Refactorization: Moved declaration of errout, ... to testsuite.h, uniformized style 2015-03-11 22:54:43 +01:00
testtoken.cpp Added pointer to Type to Token (similar to Token::Variable() and Token::function()): 2015-08-15 11:19:21 +02:00
testtokenize.cpp Fixed simplifyAssignmentInFunctionCall for complex expressions (#6927) 2015-10-27 20:01:40 +01:00
testtokenlist.cpp Refactorization: Improved usage of Settings instances in test suite 2015-10-07 18:40:03 +02:00
testtype.cpp Ticket #6793: Added basic unit test showing that basic integer shift length check is run even for templates. 2015-08-02 00:03:09 +02:00
testuninitvar.cpp Fixed false positive with range-based for-loop (#7078) 2015-10-28 16:37:46 +01:00
testunusedfunctions.cpp Refactorization: Improved usage of Settings instances in test suite 2015-10-07 18:40:03 +02:00
testunusedprivfunc.cpp Refactorization: Improved usage of Settings instances in test suite 2015-10-07 18:40:03 +02:00
testunusedvar.cpp Fixed false positive with range-based for-loop (#7075) 2015-10-27 14:47:18 +01:00
testutils.h Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
testvaarg.cpp Refactorization: Improved usage of Settings instances in test suite 2015-10-07 18:40:03 +02:00
testvalueflow.cpp Fixed #6239 (Possible null pointer dereference after pointer is modified by a function template) 2015-10-27 12:33:46 +01:00
testvarid.cpp Fixed VarId accidentially assigned to case labels. 2015-10-26 21:24:53 +01:00