cppcheck/lib
Paul Fultz II 166e4cafcd Check for functions calls in sizeof calculations (#1111)
* Check for functions calls in sizeof calculations

* Use seperate message and id for sizeofFunction

* Check for overloads

* Using decltype with a function should not be an error

* Fix warning

* Fix false positives when running pass the close paren

* Fix test error

* Try to fix more false positives

* Traverse using astOperand2

* Only check first argument

* Update fixes from feedback from PR
2018-03-15 10:24:17 +01:00
..
CMakeLists.txt
analyzerinfo.cpp Updated copyright year 2018-01-14 15:37:52 +01:00
analyzerinfo.h Updated copyright year 2018-01-14 15:37:52 +01:00
astutils.cpp Updated copyright year 2018-01-14 15:37:52 +01:00
astutils.h Updated copyright year 2018-01-14 15:37:52 +01: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 Fixed #8325 (False negative: address of auto variable being returned when assigned to another variable first) 2018-01-27 14:48:45 +01: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 Refactor f487182 2018-02-06 08:59:36 +01:00
checkbufferoverrun.h Updated copyright year 2018-01-14 15:37:52 +01:00
checkclass.cpp Updated copyright year 2018-01-14 15:37:52 +01:00
checkclass.h Updated copyright year 2018-01-14 15:37:52 +01:00
checkcondition.cpp Updated copyright year 2018-01-14 15:37:52 +01:00
checkcondition.h Updated copyright year 2018-01-14 15:37:52 +01:00
checkexceptionsafety.cpp Updated copyright year 2018-01-14 15:37:52 +01:00
checkexceptionsafety.h Updated copyright year 2018-01-14 15:37:52 +01:00
checkfunctions.cpp Updated copyright year 2018-01-14 15:37:52 +01: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 checkio: Fixed potential usage of invalid iterator. (#1066) 2018-01-30 08:43:15 +01:00
checkio.h Updated copyright year 2018-01-14 15:37:52 +01:00
checkleakautovar.cpp Updated copyright year 2018-01-14 15:37:52 +01:00
checkleakautovar.h Updated copyright year 2018-01-14 15:37:52 +01:00
checkmemoryleak.cpp Updated copyright year 2018-01-14 15:37:52 +01:00
checkmemoryleak.h Updated copyright year 2018-01-14 15:37:52 +01:00
checknullpointer.cpp 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
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 checkother: Removed statement that is always true. (#1059) 2018-01-26 22:49:07 +01:00
checkother.h Updated copyright year 2018-01-14 15:37:52 +01:00
checkpostfixoperator.cpp Updated copyright year 2018-01-14 15:37:52 +01:00
checkpostfixoperator.h Fixed #8350 (False positive: enum class static_cast to int is treated as non-primitive when type inference is used) (#1042) 2018-01-21 07:26:37 +01:00
checksizeof.cpp Check for functions calls in sizeof calculations (#1111) 2018-03-15 10:24:17 +01:00
checksizeof.h Check for functions calls in sizeof calculations (#1111) 2018-03-15 10:24:17 +01:00
checkstl.cpp Updated copyright year 2018-01-14 15:37:52 +01:00
checkstl.h Updated copyright year 2018-01-14 15:37:52 +01:00
checkstring.cpp Cleanup not needed variable. 2018-01-19 22:41:51 +01:00
checkstring.h Fix Cppcheck warning about mismatching argument names 2018-01-15 22:25:55 +01:00
checktype.cpp checkTypes: Take into account type promotion to integer. 2018-02-19 23:55:38 +01:00
checktype.h Updated copyright year 2018-01-14 15:37:52 +01:00
checkuninitvar.cpp 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
checkuninitvar.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
checkunusedfunctions.cpp Taking care of operation overloading functions (#1108) 2018-03-12 10:25:30 +01:00
checkunusedfunctions.h Fix testrunner in cygwin 2018-02-10 15:34:49 +01:00
checkunusedvar.cpp Updated copyright year 2018-01-14 15:37:52 +01: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
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
errorlogger.cpp Updated copyright year 2018-01-14 15:37:52 +01:00
errorlogger.h Refactor f487182 2018-02-06 08:59:36 +01:00
importproject.cpp fix some typos found by codespell. 2018-02-04 20:53:43 +01:00
importproject.h Updated copyright year 2018-01-14 15:37:52 +01:00
lib.pri
library.cpp Updated copyright year 2018-01-14 15:37:52 +01:00
library.h Updated copyright year 2018-01-14 15:37:52 +01:00
matchcompiler.h
mathlib.cpp Updated copyright year 2018-01-14 15:37:52 +01: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 Renamed method 2018-03-11 15:06:08 +01:00
platform.h GUI: Allow that platform is selected in project dialog 2018-03-13 13:07:10 +01:00
preprocessor.cpp Updated copyright year 2018-01-14 15:37:52 +01: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 Updated copyright year 2018-01-14 15:37:52 +01:00
suppressions.h Updated copyright year 2018-01-14 15:37:52 +01:00
symboldatabase.cpp dump: save if variable is const 2018-03-14 11:54:23 +01:00
symboldatabase.h fix some typos found by codespell. 2018-02-04 20:53:43 +01:00
templatesimplifier.cpp templatesimplifier: Removed redundant local string variable. (#1041) 2018-01-20 22:26:48 +01:00
templatesimplifier.h Updated copyright year 2018-01-14 15:37:52 +01:00
timer.cpp Updated copyright year 2018-01-14 15:37:52 +01:00
timer.h Updated copyright year 2018-01-14 15:37:52 +01:00
token.cpp Ticket #8352: Properly detect AST cycles. (#1060) 2018-02-10 14:39:57 +01:00
token.h Added doxygen comment 2018-03-12 12:49:27 +01:00
tokenize.cpp Thread safety: changed local static variable 'count' to member variable 2018-03-14 09:41:27 +01:00
tokenize.h Thread safety: changed local static variable 'count' to member variable 2018-03-14 09:41:27 +01:00
tokenlist.cpp Fixed #8418 (AST: wrong ast for throw expression) 2018-03-10 22:30:21 +01:00
tokenlist.h Updated copyright year 2018-01-14 15:37:52 +01:00
utils.h Updated copyright year 2018-01-14 15:37:52 +01:00
valueflow.cpp Fix internal warning 2018-02-24 22:35:37 +01:00
valueflow.h Updated copyright year 2018-01-14 15:37:52 +01:00
version.h 1.82: Updated versions 2018-01-14 16:25:17 +01:00
version.rc