cppcheck/test
Paul Fultz II 4e147a4c59 Add a check for duplicate if statements
This will warn for this:

```cpp
int f(int val)
{
	int i = 0;
	if( val & 0xff)
		i = 1;
	if( val & 0xff)
		i = 1;
        return i;
}
```
2019-01-09 20:41:01 +01:00
..
cfg Add more Windows (Microsoft) macros and a few lines of related test code 2019-01-08 21:15:04 +01:00
synthetic
CMakeLists.txt Add a check target to cmake (#1465) 2018-11-05 18:13:04 +01:00
options.cpp
options.h
redirect.h
test.cxx
test64bit.cpp Updated copyright year for modified files 2018-06-10 22:07:21 +02:00
testassert.cpp Updated copyright year for modified files 2018-06-10 22:07:21 +02:00
testastutils.cpp Fix FP 8891: Incorrect return scope when using uniform initialization 2018-12-14 18:31:10 +01:00
testautovariables.cpp Fix typos (#1568) 2019-01-06 17:15:57 +01:00
testbool.cpp Add check for return value of boolean function (#1451) 2018-11-01 11:08:16 +01:00
testboost.cpp Updated copyright year for modified files 2018-06-10 22:07:21 +02:00
testbufferoverrun.cpp Disable the subfunction value flow analysis. It does not work well and needs to be rewritten. There are false positives. 2018-12-18 14:36:49 +01:00
testcharvar.cpp Updated copyright year for modified files 2018-06-10 22:07:21 +02:00
testclass.cpp Fixed #8111 (performance warning - member variable at constructor) 2019-01-07 21:26:58 +01:00
testcmdlineparser.cpp Improved const correctness of local variables. (#1396) 2018-09-24 15:08:16 +02:00
testcondition.cpp Add a check for duplicate if statements 2019-01-09 20:41:01 +01:00
testconstructors.cpp Fix typos (#1568) 2019-01-06 17:15:57 +01:00
testcppcheck.cpp Fix override warnings. (#1234) 2018-05-15 16:37:40 +02:00
testerrorlogger.cpp Fixed #8906 (Encoding error in XML message: info attribute) 2019-01-02 18:22:12 +01:00
testexceptionsafety.cpp Updated copyright year for modified files 2018-06-10 22:07:21 +02:00
testfilelister.cpp Updated copyright year for modified files 2018-06-10 22:07:21 +02:00
testfiles.pri
testfunctions.cpp Fix false positive: Invalid string argument with array (#1439) 2018-10-19 07:48:47 +02:00
testgarbage.cpp Fix typos (#1568) 2019-01-06 17:15:57 +01:00
testimportproject.cpp Fixed #8563 (CPPCheck not able to locate file through compilation database) 2019-01-05 23:11:43 +01:00
testincompletestatement.cpp Fixed #8449 (False positive 'constStatement' when initializing std::unordered_map) 2018-11-12 18:10:34 +01:00
testinternal.cpp Updated copyright year for modified files 2018-06-10 22:07:21 +02:00
testio.cpp Fix override warnings. (#1234) 2018-05-15 16:37:40 +02:00
testleakautovar.cpp Fixed #8340 (incorrect memleak errors) 2019-01-09 19:50:41 +01:00
testlibrary.cpp Rename Library::isargvalid() 2018-07-15 23:05:48 +02:00
testmathlib.cpp Correct detection of Microsoft extensions in MathLib::isValidIntegerSuffix. Remove public overloaded implementation which was not used outside mathlib.cpp. (#1531) 2018-12-20 12:20:31 +01:00
testmemleak.cpp Fixed #8116 ([False positive] Invalid memory leak detection when using reference.) 2019-01-09 20:38:32 +01:00
testnullpointer.cpp CTU: Avoid FP in else block 2018-12-31 08:24:39 +01:00
testoptions.cpp Updated copyright year for modified files 2018-06-10 22:07:21 +02:00
testother.cpp Fixed #8907 (unknown macro not detected) 2019-01-01 19:30:13 +01:00
testpath.cpp Updated copyright year for modified files 2018-06-10 22:07:21 +02:00
testpathmatch.cpp Updated copyright year for modified files 2018-06-10 22:07:21 +02:00
testplatform.cpp Fix override warnings. (#1234) 2018-05-15 16:37:40 +02:00
testpostfixoperator.cpp Fix override warnings. (#1234) 2018-05-15 16:37:40 +02:00
testpreprocessor.cpp Fixed handling of macros with known value defined in header file in configuration splitting (#8404) 2018-10-08 16:38:47 +02:00
testrunner.cpp Updated copyright year 2018-10-13 18:20:31 +02:00
testrunner.vcxproj Export interfaces from cppcheck-core.dll used from testrunner. In turn remove ctu sources from testrunner which are obsolete now. 2018-12-28 23:09:44 +01:00
testrunner.vcxproj.filters Export interfaces from cppcheck-core.dll used from testrunner. In turn remove ctu sources from testrunner which are obsolete now. 2018-12-28 23:09:44 +01:00
testsamples.cpp Fix Travis 2018-11-21 08:39:21 +01:00
testsimplifytemplate.cpp Fix typos (#1568) 2019-01-06 17:15:57 +01:00
testsimplifytokens.cpp Fix const anonymous struct. (#1527) 2018-12-18 08:15:12 +01:00
testsimplifytypedef.cpp Fixed #5953 (debug: varid0: Function::addArguments) (#1567) 2019-01-05 19:42:04 +01:00
testsizeof.cpp Fix override warnings. (#1234) 2018-05-15 16:37:40 +02:00
teststl.cpp Fix FP 8891: Incorrect return scope when using uniform initialization 2018-12-14 18:31:10 +01:00
teststring.cpp Disable the subfunction value flow analysis. It does not work well and needs to be rewritten. There are false positives. 2018-12-18 14:36:49 +01:00
testsuite.cpp Print test case name in assert 2018-12-21 13:55:24 +01:00
testsuite.h Print test case name in assert 2018-12-21 13:55:24 +01:00
testsuppressions.cpp Fixed compiler warning from VS2017: testsuppressions.cpp(450): warning C4458: declaration of 'errmsg' hides class member. (#1397) 2018-09-25 17:19:25 +02:00
testsymboldatabase.cpp template simplifier: remove explicit instantiations after instantiation (#1523) 2018-12-17 05:58:48 +01:00
testthreadexecutor.cpp Updated copyright year for modified files 2018-06-10 22:07:21 +02:00
testtimer.cpp Fix testrunner compiling 2018-06-16 22:28:14 +02:00
testtoken.cpp Unused value: Fix false positive (ast, {}) 2018-12-14 18:56:09 +01:00
testtokenize.cpp Fix typos (#1568) 2019-01-06 17:15:57 +01:00
testtokenlist.cpp Updated copyright year for modified files 2018-06-10 22:07:21 +02:00
testtype.cpp Clarify warning 2018-12-23 12:42:18 +01:00
testuninitvar.cpp CTU: Find paths better 2018-12-30 16:23:25 +01:00
testunusedfunctions.cpp Fixed #8677 (False positive: unused method) 2018-08-08 11:31:35 +02:00
testunusedprivfunc.cpp Fixed #6183 (TemplateSimplifier: Does not handle methods) (#1546) 2018-12-29 11:19:53 +01:00
testunusedvar.cpp Fixed #8928 (false positive: (style) Variable 'x' is assigned a value that is never used.) 2019-01-02 20:23:02 +01:00
testutils.h Updated copyright year for modified files 2018-06-10 22:07:21 +02:00
testvaarg.cpp Updated copyright year for modified files 2018-06-10 22:07:21 +02:00
testvalueflow.cpp Fixed #8863 (false positive: (warning) Accessing an item in container 's'. Either the condition 's.empty()' is redundant or 's' can be empty.) 2019-01-06 12:21:55 +01:00
testvarid.cpp Fixed #8627 (Tokenizer::setVarIdPass2: constructor parameter) 2018-12-02 09:28:05 +01:00