cppcheck/test
Paul Fultz II 025881cf35 Fix issue 8829: Condition '...' is always true (int buf[42]; if(buf != NULL){})
This makes arrays non-null in valueflow, so it can catch comparisons against null that is always true:

```cpp
void f(void) {
   int buf[42];
   if( buf != 0) {;} // << always true
}
```
2018-12-17 06:07:34 +01:00
..
cfg make checkcfg: Try to fix inline suppressions 2018-12-14 13:51:03 +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 issue 8899: False positive returnDanglingLifetime when returning by value 2018-12-15 17:58:45 +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 insecureCmdLineArgs: Fixed FN in case strdup() copies argv[]. (#1438) 2018-10-19 11:04:15 +02:00
testcharvar.cpp Updated copyright year for modified files 2018-06-10 22:07:21 +02:00
testclass.cpp Improve trailing return type support. (#1520) 2018-12-13 06:34:10 +01:00
testcmdlineparser.cpp Improved const correctness of local variables. (#1396) 2018-09-24 15:08:16 +02:00
testcondition.cpp Fix issue 8829: Condition '...' is always true (int buf[42]; if(buf != NULL){}) 2018-12-17 06:07:34 +01:00
testconstructors.cpp Fixed #8835 (friend class and non-empty constructor: Uninitialized members not reported) (#1466) 2018-11-06 06:44:08 +01:00
testcppcheck.cpp
testerrorlogger.cpp --suppress on line 0 (#1354) 2018-09-18 12:58:14 +02: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 Fixed #8873 (Add syntaxError when there is no RHS for +-) 2018-12-01 17:29:41 +01:00
testimportproject.cpp Fixed #8864 (compile commands: handle define with string value) 2018-11-25 15:09:23 +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
testleakautovar.cpp Fixed #8794 - Memory leak false positive triggered by !(x != NULL) (#1450) 2018-10-26 06:21:45 +02:00
testlibrary.cpp Rename Library::isargvalid() 2018-07-15 23:05:48 +02:00
testmathlib.cpp Refactor methods for identification of numeric literals. (#1514) 2018-12-10 12:10:26 +01:00
testmemleak.cpp Fixed #8100 (False positive when method/function defines lambda with pointer return value) 2018-11-12 11:28:38 +01:00
testnullpointer.cpp Multipass Valueflow 2018-11-03 15:53:24 +01:00
testoptions.cpp Updated copyright year for modified files 2018-06-10 22:07:21 +02:00
testother.cpp Issue 8830: New check: Function argument evaluates to constant value 2018-12-17 06:04:24 +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
testpostfixoperator.cpp
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
testrunner.vcxproj.filters
testsamples.cpp Fix Travis 2018-11-21 08:39:21 +01:00
testsimplifytemplate.cpp template simplifier: remove explicit instantiations after instantiation (#1523) 2018-12-17 05:58:48 +01:00
testsimplifytokens.cpp Fixed #8896 (Tokenizer: Anonymous struct) 2018-12-15 08:42:35 +01:00
testsimplifytypedef.cpp Issue 6175: Check lifetime of a variables stored in containers and member variables 2018-11-21 08:43:57 +01:00
testsizeof.cpp
teststl.cpp Fix FP 8891: Incorrect return scope when using uniform initialization 2018-12-14 18:31:10 +01:00
teststring.cpp Fix wrong message 2018-08-12 08:01:15 +02:00
testsuite.cpp test: avoid a mutable comparator for test (#1482) 2018-11-15 16:21:12 +01:00
testsuite.h Improved const correctness of local variables. (#1396) 2018-09-24 15:08:16 +02: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 Improve trailing return type support. (#1520) 2018-12-13 06:34:10 +01:00
testtokenlist.cpp Updated copyright year for modified files 2018-06-10 22:07:21 +02:00
testtype.cpp Improved const correctness of local variables. (#1396) 2018-09-24 15:08:16 +02:00
testuninitvar.cpp Ticket #8734: Skip static member variables in CheckUninitVar. (#1388) 2018-09-22 16:52:34 +02:00
testunusedfunctions.cpp Fixed #8677 (False positive: unused method) 2018-08-08 11:31:35 +02:00
testunusedprivfunc.cpp Updated copyright year for modified files 2018-06-10 22:07:21 +02:00
testunusedvar.cpp Add testcase for #8807 (False negative: Redundant variable assignments (loop)) 2018-12-16 21:45:26 +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 Add isSameExpression to valueflow analysis 2018-12-16 07:35:27 +01:00
testvarid.cpp Fixed #8627 (Tokenizer::setVarIdPass2: constructor parameter) 2018-12-02 09:28:05 +01:00