cppcheck/lib
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
..
CMakeLists.txt
analyzerinfo.cpp Fix Cppcheck shadow variable warning 2018-11-03 19:41:25 +01:00
analyzerinfo.h Updated copyright year 2018-10-13 18:20:31 +02:00
astutils.cpp Issue 8830: New check: Function argument evaluates to constant value 2018-12-17 06:04:24 +01:00
astutils.h Issue 8830: New check: Function argument evaluates to constant value 2018-12-17 06:04:24 +01:00
check.cpp Updated copyright year 2018-10-13 18:20:31 +02:00
check.h
check64bit.cpp
check64bit.h
checkassert.cpp Use functions instead of comparing with enum (#1471) 2018-11-09 06:30:41 +01:00
checkassert.h
checkautovariables.cpp Fix issue 8865: FP with dangling lifetime 2018-12-01 19:07:46 +01:00
checkautovariables.h Issue 6175: Check lifetime of a variables stored in containers and member variables 2018-11-21 08:43:57 +01:00
checkbool.cpp Use functions instead of comparing with enum (#1471) 2018-11-09 06:30:41 +01:00
checkbool.h Add check for return value of boolean function (#1451) 2018-11-01 11:08:16 +01:00
checkboost.cpp
checkboost.h
checkbufferoverrun.cpp Refactor isVLAIndex 2018-11-23 20:23:20 +01:00
checkbufferoverrun.h
checkclass.cpp Fixed #8817 (Change wording in performance/functionStatic) 2018-12-03 18:30:54 +01:00
checkclass.h Disabled CheckClass::checkCopyCtorAndEqOperator because of FP (#8388) 2018-09-08 09:14:02 +02:00
checkcondition.cpp Issue 8830: New check: Function argument evaluates to constant value 2018-12-17 06:04:24 +01:00
checkcondition.h Add a pass in valueflow for terminating conditions (#1323) 2018-11-07 06:49:07 +01:00
checkexceptionsafety.cpp Refactoring; Use range for loops 2018-07-14 09:49:03 +02:00
checkexceptionsafety.h
checkfunctions.cpp Fix false positive: Invalid string argument with array (#1439) 2018-10-19 07:48:47 +02:00
checkfunctions.h #4241: Check for address of single character passed as string (#1381) 2018-10-14 18:49:34 +02:00
checkinternal.cpp
checkinternal.h
checkio.cpp Fix issue 8829: Condition '...' is always true (int buf[42]; if(buf != NULL){}) 2018-12-17 06:07:34 +01:00
checkio.h
checkleakautovar.cpp Added a few TODO comments 2018-11-20 22:57:01 +01:00
checkleakautovar.h
checkmemoryleak.cpp Added a few TODO comments 2018-11-20 22:57:01 +01:00
checkmemoryleak.h comment out old memleak checking. maybe it can be removed. 2018-11-20 18:40:18 +01:00
checknullpointer.cpp Clarify code with Token::isUnaryOp() 2018-07-14 10:26:22 +02:00
checknullpointer.h
checkother.cpp Issue 8830: New check: Function argument evaluates to constant value 2018-12-17 06:04:24 +01:00
checkother.h Issue 8830: New check: Function argument evaluates to constant value 2018-12-17 06:04:24 +01:00
checkpostfixoperator.cpp
checkpostfixoperator.h
checksizeof.cpp Use for arithOperationsOnVoidPointer messages 2018-09-26 17:58:22 +02:00
checksizeof.h
checkstl.cpp Refactor CheckStl::stlOutOfBounds 2018-11-28 20:30:58 +01:00
checkstl.h CheckStl: Improving checking of container access out of bounds 2018-11-28 19:27:28 +01:00
checkstring.cpp Use functions instead of comparing with enum (#1471) 2018-11-09 06:30:41 +01:00
checkstring.h Fix --doc output. * must be escaped. 2018-10-11 13:59:21 +02:00
checktype.cpp
checktype.h
checkuninitvar.cpp Fix FP when copying pointer to string (#1479) 2018-11-14 06:59:25 +01:00
checkuninitvar.h
checkunusedfunctions.cpp Fixed #8677 (False positive: unused method) 2018-08-08 11:31:35 +02:00
checkunusedfunctions.h
checkunusedvar.cpp Fixed #8901 (Unused value: const variable initialization) 2018-12-16 19:01:05 +01:00
checkunusedvar.h
checkvaarg.cpp
checkvaarg.h
config.h
cppcheck.cpp change severity for 'unknown macro' to error for now. 2018-11-13 21:08:45 +01:00
cppcheck.h Ticket 7792: Suppression both exit_code and syntaxError when call cppcheck suppressions (#1345) 2018-09-08 11:09:49 +02:00
cppcheck.natvis
cppcheck.vcxproj
cppcheck.vcxproj.filters
errorlogger.cpp relative paths: another fix for {code} 2018-11-18 16:15:09 +01:00
errorlogger.h relative paths: show {code} properly when there are relative paths 2018-11-18 16:08:08 +01:00
importproject.cpp Fixed #8864 (compile commands: handle define with string value) 2018-11-25 15:09:23 +01:00
importproject.h fixed issue 8661: Misleading error message when compilation database is not recognized 2018-07-25 16:26:25 +02:00
lib.pri
library.cpp Fixed #8697 (noreturn output stream) 2018-08-21 06:32:33 +02:00
library.h Rename Library::isargvalid() 2018-07-15 23:05:48 +02:00
matchcompiler.h
mathlib.cpp Refactor methods for identification of numeric literals. (#1514) 2018-12-10 12:10:26 +01:00
mathlib.h Updated copyright year 2018-10-13 18:20:31 +02:00
path.cpp
path.h
pathmatch.cpp Updated copyright year 2018-10-13 18:20:31 +02:00
pathmatch.h Updated copyright year 2018-10-13 18:20:31 +02:00
pcrerules.pri
platform.cpp
platform.h Fix Cppcheck error message 2018-10-20 15:28:34 +02:00
preprocessor.cpp Fixed handling of macros with known value defined in header file in configuration splitting (#8404) 2018-10-08 16:38:47 +02:00
preprocessor.h
settings.cpp Updated copyright year 2018-10-13 18:20:31 +02:00
settings.h Renamed --debug to --debug-simplified 2018-08-05 11:19:20 +02:00
standards.h
suppressions.cpp Suppressions::NO_LINE : fixed comparisons 2018-09-23 16:50:51 +02:00
suppressions.h suppressions: Avoid duplicate comparison. 2018-10-04 17:13:11 +02:00
symboldatabase.cpp Improve trailing return type support. (#1520) 2018-12-13 06:34:10 +01:00
symboldatabase.h Improve trailing return type support. (#1520) 2018-12-13 06:34:10 +01:00
templatesimplifier.cpp template simplifier: remove explicit instantiations after instantiation (#1523) 2018-12-17 05:58:48 +01:00
templatesimplifier.h template simplifier: remove explicit instantiations after instantiation (#1523) 2018-12-17 05:58:48 +01:00
timer.cpp
timer.h
token.cpp Unused value: Fix false positive (ast, {}) 2018-12-14 18:56:09 +01:00
token.h Tokenizer: Add simplifyAt to handle some nonstandard code with @ 2018-12-04 16:52:41 +01:00
tokenize.cpp Fixed #8896 (Tokenizer: Anonymous struct) 2018-12-15 08:42:35 +01:00
tokenize.h Tokenizer: Add simplifyAt to handle some nonstandard code with @ 2018-12-04 16:52:41 +01:00
tokenlist.cpp Fixed #8884 (AST: handle xs... template argument) 2018-12-12 19:00:14 +01:00
tokenlist.h relative paths: show {code} properly when there are relative paths 2018-11-18 16:08:08 +01:00
utils.h Revert "Refactoring endsWith utility function" 2018-07-25 16:14:43 +02:00
valueflow.cpp Fix issue 8829: Condition '...' is always true (int buf[42]; if(buf != NULL){}) 2018-12-17 06:07:34 +01:00
valueflow.h astyle formatting 2018-11-10 21:30:01 +01:00
version.h Set version to 1.86.99/1.87 dev 2018-12-08 11:53:37 +01:00
version.rc