cppcheck/lib
Paul Fultz II 95fc84a26b Find duplicate expressions assigned to the same variable (#1129)
* Check for duplicate assignments

* Improve checking of expression

* Add more tests

* Use simple match

* Improve robustness of check

* check for null

* Reduce side effects by checking for side effects

* Improve verbose message

* Reword the error message
2018-04-08 14:43:19 +02:00
..
CMakeLists.txt Fixed #7660 (cmake build does not handle simplecpp) 2016-08-06 18:21:54 +02:00
analyzerinfo.cpp Improve constness 2018-04-04 21:51:31 +02:00
analyzerinfo.h Updated copyright year 2018-01-14 15:37:52 +01:00
astutils.cpp Find duplicate expressions assigned to the same variable (#1129) 2018-04-08 14:43:19 +02:00
astutils.h Updated copyright year 2018-03-31 20:59:09 +02:00
check.cpp Updated copyright year 2018-01-14 15:37:52 +01:00
check.h Updated copyright year 2018-01-14 15:37:52 +01:00
check64bit.cpp Updated copyright year 2018-01-14 15:37:52 +01:00
check64bit.h Updated copyright year 2018-01-14 15:37:52 +01:00
checkassert.cpp Updated copyright year 2018-01-14 15:37:52 +01:00
checkassert.h Updated copyright year 2018-01-14 15:37:52 +01:00
checkautovariables.cpp Fixed #8325 (False negative: address of auto variable being returned when assigned to another variable first) 2018-01-27 14:48:45 +01:00
checkautovariables.h Updated copyright year 2018-03-31 20:59:09 +02:00
checkbool.cpp Updated copyright year 2018-01-14 15:37:52 +01:00
checkbool.h Updated copyright year 2018-01-14 15:37:52 +01:00
checkboost.cpp Updated copyright year 2018-01-14 15:37:52 +01:00
checkboost.h Updated copyright year 2018-01-14 15:37:52 +01:00
checkbufferoverrun.cpp Refactoring, use early continue 2018-04-05 08:21:43 +02:00
checkbufferoverrun.h Updated copyright year 2018-01-14 15:37:52 +01:00
checkclass.cpp Refactor lib/checkclass.cpp 2018-04-05 15:48:23 +02:00
checkclass.h Improve check: Warn about virtual function calls in constructor/destructor 2018-04-02 15:31:47 +02:00
checkcondition.cpp astyle formatting 2018-04-08 09:25:59 +02:00
checkcondition.h Add a check for identical inner conditions (#1156) 2018-04-08 08:13:44 +02:00
checkexceptionsafety.cpp Updated copyright year 2018-01-14 15:37:52 +01:00
checkexceptionsafety.h Improve constness 2018-04-04 21:51:31 +02:00
checkfunctions.cpp Improve constness 2018-04-04 21:51:31 +02:00
checkfunctions.h Updated copyright year 2018-01-14 15:37:52 +01:00
checkinternal.cpp Updated copyright year 2018-01-14 15:37:52 +01:00
checkinternal.h Updated copyright year 2018-01-14 15:37:52 +01:00
checkio.cpp Remove inner identical condition 2018-04-08 08:12:56 +02:00
checkio.h Updated copyright year 2018-01-14 15:37:52 +01:00
checkleakautovar.cpp Refactor lib/checkleakautovar.cpp 2018-04-05 15:58:28 +02:00
checkleakautovar.h Updated copyright year 2018-01-14 15:37:52 +01:00
checkmemoryleak.cpp Refactor lib/checkmemoryleak.cpp 2018-04-05 21:41:31 +02:00
checkmemoryleak.h Improve constness 2018-04-04 21:51:31 +02:00
checknullpointer.cpp Improve constness 2018-04-04 21:51:31 +02:00
checknullpointer.h Remove whole program analysis from 'uninitialized variables' and 'null pointer dereference' checkers. I think this logic can more or less be added in ValueFlow instead and then all ValueFlow checkers should get whole program analysis. 2018-02-06 14:56:17 +01:00
checkother.cpp Find duplicate expressions assigned to the same variable (#1129) 2018-04-08 14:43:19 +02:00
checkother.h Find duplicate expressions assigned to the same variable (#1129) 2018-04-08 14:43:19 +02:00
checkpostfixoperator.cpp Updated copyright year 2018-01-14 15:37:52 +01:00
checkpostfixoperator.h Updated copyright year 2018-03-31 20:59:09 +02:00
checksizeof.cpp Improve constness 2018-04-04 21:51:31 +02:00
checksizeof.h Updated copyright year 2018-03-31 20:59:09 +02:00
checkstl.cpp Improve constness 2018-04-04 21:51:31 +02:00
checkstl.h Updated copyright year 2018-01-14 15:37:52 +01:00
checkstring.cpp Improve constness 2018-04-04 21:51:31 +02:00
checkstring.h Updated copyright year 2018-03-31 20:59:09 +02:00
checktype.cpp Updated copyright year 2018-03-31 20:59:09 +02:00
checktype.h Updated copyright year 2018-01-14 15:37:52 +01:00
checkuninitvar.cpp Refactor lib/checkuninitvar.cpp 2018-04-06 08:04:06 +02:00
checkuninitvar.h Updated copyright year 2018-03-31 20:59:09 +02:00
checkunusedfunctions.cpp Improve constness 2018-04-04 21:51:31 +02:00
checkunusedfunctions.h Fix testrunner in cygwin 2018-02-10 15:34:49 +01:00
checkunusedvar.cpp Refactor lib/checkunusedvar.cpp 2018-04-06 08:07:15 +02:00
checkunusedvar.h Updated copyright year 2018-01-14 15:37:52 +01:00
checkvaarg.cpp Updated copyright year 2018-01-14 15:37:52 +01:00
checkvaarg.h Updated copyright year 2018-01-14 15:37:52 +01:00
config.h Removed non-standard code annotations with __attribute__ 2016-01-09 09:33:56 +01:00
cppcheck.cpp Add purgedConfiguration to list of error ids. (#1087) 2018-02-10 22:30:49 +01:00
cppcheck.h Refactor f487182 2018-02-06 08:59:36 +01:00
cppcheck.natvis Added cppcheck.natvis file for human readable debug information in Visual Studio. 2017-01-22 10:21:29 +01:00
cppcheck.vcxproj Copy platforms/ directory to bin/ 2018-02-27 09:09:12 +01:00
cppcheck.vcxproj.filters Fixed travis build by replacing Token::Match by simpleMatch() 2017-03-16 21:15:10 +01:00
cxx11emu.h Update copyright year to 2007-2016. 2016-01-01 15:34:45 +02:00
errorlogger.cpp Updated copyright year 2018-03-31 20:59:09 +02:00
errorlogger.h Refactor f487182 2018-02-06 08:59:36 +01:00
foreach.h astyle formatting 2018-03-29 17:25:20 +02:00
importproject.cpp Fix Token::Match pattern 2018-04-05 15:47:25 +02:00
importproject.h Updated copyright year 2018-01-14 15:37:52 +01:00
lib.pri Added --cppcheck-build-dir flag 2016-10-29 12:18:11 +02:00
library.cpp Improve constness 2018-04-04 21:51:31 +02:00
library.h Improve constness 2018-04-04 21:51:31 +02:00
matchcompiler.h Update copyright year to 2007-2016. 2016-01-01 15:34:45 +02:00
mathlib.cpp Improve constness 2018-04-04 21:51:31 +02:00
mathlib.h Updated copyright year 2018-01-14 15:37:52 +01:00
path.cpp Updated copyright year 2018-01-14 15:37:52 +01:00
path.h Updated copyright year 2018-01-14 15:37:52 +01:00
pathmatch.cpp Updated copyright year 2018-01-14 15:37:52 +01:00
pathmatch.h Updated copyright year 2018-01-14 15:37:52 +01:00
pcrerules.pri
platform.cpp Updated copyright year 2018-03-31 20:59:09 +02:00
platform.h Updated copyright year 2018-03-31 20:59:09 +02:00
preprocessor.cpp Improve constness 2018-04-04 21:51:31 +02:00
preprocessor.h Updated copyright year 2018-01-14 15:37:52 +01:00
settings.cpp Updated copyright year 2018-01-14 15:37:52 +01:00
settings.h Updated copyright year 2018-01-14 15:37:52 +01:00
standards.h Updated copyright year 2018-01-14 15:37:52 +01:00
suppressions.cpp Improve constness 2018-04-04 21:51:31 +02:00
suppressions.h Updated copyright year 2018-01-14 15:37:52 +01:00
symboldatabase.cpp Fix another SymbolDatabase bailout (#1157) 2018-04-08 07:29:19 +02:00
symboldatabase.h ValueType: Improved type handling of containers when [] operator is used 2018-04-06 22:26:35 +02:00
templatesimplifier.cpp Improve constness 2018-04-04 21:51:31 +02:00
templatesimplifier.h Updated copyright year 2018-01-14 15:37:52 +01:00
timer.cpp Improve constness 2018-04-04 21:51:31 +02:00
timer.h Updated copyright year 2018-01-14 15:37:52 +01:00
token.cpp Improve constness 2018-04-04 21:51:31 +02:00
token.h Check more opposite conditions 2018-03-24 07:58:37 +01:00
tokenize.cpp Fix #8477 (False positive caused by anonymous enum in method body) (#1154) 2018-04-08 08:00:12 +02:00
tokenize.h Thread safety: changed local static variable 'count' to member variable 2018-03-14 09:41:27 +01:00
tokenlist.cpp Fixed #8462 (AST: no ast created for 'e = { std::move(address),httpPort, (httpsPort) };') 2018-03-27 13:44:28 +02:00
tokenlist.h Updated copyright year 2018-01-14 15:37:52 +01:00
utils.h Updated copyright year 2018-03-31 20:59:09 +02:00
valueflow.cpp Refactoring, use early continue 2018-04-08 09:30:13 +02:00
valueflow.h Updated copyright year 2018-01-14 15:37:52 +01:00
version.h Set version to 1.83.99/1.84 dev 2018-04-02 15:21:37 +02:00
version.rc