cppcheck/lib
Ken-Patrick 66ebc187f6 Cleanup some const_cast of Token* (#1886)
* Add non const version of some methods of Token

The aim is to reduce the (ab)use of const_cast.

* Cleanup some more const_cast in valueflow

* Remove useless const_cast

* Remove some const_cast from templatesimplifier

* Remove some const_cast from valueflow
2019-06-16 10:09:38 +02:00
..
CMakeLists.txt CMake: Find header in externals, e.g. externals/picojson.h 2019-04-22 18:52:02 +02:00
analyzerinfo.cpp Fixed 2 Cppcheck warnings 2019-05-04 11:58:03 +02:00
analyzerinfo.h
astutils.cpp Fixed #8997 (False positive redundantAssignment when pointer is updated with +=) 2019-05-31 12:24:31 +02:00
astutils.h Fix FP with unreadVariable (#1859) 2019-05-31 08:06:36 +02:00
check.cpp
check.h Disable all simplified checks 2019-03-16 09:17:50 +01:00
check64bit.cpp
check64bit.h Disable all simplified checks 2019-03-16 09:17:50 +01:00
checkassert.cpp
checkassert.h Disable all simplified checks 2019-03-16 09:17:50 +01:00
checkautovariables.cpp Fix FP with non-local variable referencing a non-local variable (#1864) 2019-06-02 10:21:26 +02:00
checkautovariables.h Disable all simplified checks 2019-03-16 09:17:50 +01:00
checkbool.cpp Fix #9128 (FP in return non bool with class declared in function) (#1830) 2019-05-14 08:56:28 +02:00
checkbool.h Disable all simplified checks 2019-03-16 09:17:50 +01:00
checkboost.cpp
checkboost.h Disable all simplified checks 2019-03-16 09:17:50 +01:00
checkbufferoverrun.cpp Fix issue 6821: New check: access heap/stack data using address of variable 2019-05-31 12:24:31 +02:00
checkbufferoverrun.h Fix Cppcheck warnings 2019-06-15 13:01:45 +02:00
checkclass.cpp Fixed #9045 (FP operatorEqRetRefThis - recent regression) 2019-05-20 21:30:20 +02:00
checkclass.h Disable all simplified checks 2019-03-16 09:17:50 +01:00
checkcondition.cpp Fix issue 9103: False positive duplicateConditionAssign (#1808) 2019-04-26 12:30:41 +02:00
checkcondition.h astyle formatting 2019-04-18 20:21:00 +02:00
checkexceptionsafety.cpp
checkexceptionsafety.h Disable all simplified checks 2019-03-16 09:17:50 +01:00
checkfunctions.cpp Fix false positive with ignoredReturnValue with std::move (#1809) 2019-04-26 12:22:31 +02:00
checkfunctions.h Disable all simplified checks 2019-03-16 09:17:50 +01:00
checkinternal.cpp CheckInternal: Extend redundant null pointer check before Token::Match() (#1789) 2019-04-06 07:44:44 +02:00
checkinternal.h Disable all simplified checks 2019-03-16 09:17:50 +01:00
checkio.cpp Set wchar_t type (#1807) 2019-05-01 16:34:28 +02:00
checkio.h Disable all simplified checks 2019-03-16 09:17:50 +01:00
checkleakautovar.cpp CheckLeakAutoVar: Fixed FP seen in daca@home 2019-06-02 15:25:54 +02:00
checkleakautovar.h Disable all simplified checks 2019-03-16 09:17:50 +01:00
checkmemoryleak.cpp Fixed #8848 (False positive memory leak if locally defined type returns a new pointer) 2019-04-22 17:37:41 +02:00
checkmemoryleak.h Disable all simplified checks 2019-03-16 09:17:50 +01:00
checknullpointer.cpp Improve diagnostics with null smart pointers (#1805) 2019-04-26 11:30:09 +02:00
checknullpointer.h Disable all simplified checks 2019-03-16 09:17:50 +01:00
checkother.cpp Fix issue 6821: New check: access heap/stack data using address of variable 2019-05-31 12:24:31 +02:00
checkother.h Disable all simplified checks 2019-03-16 09:17:50 +01:00
checkpostfixoperator.cpp
checkpostfixoperator.h Disable all simplified checks 2019-03-16 09:17:50 +01:00
checksizeof.cpp
checksizeof.h Disable all simplified checks 2019-03-16 09:17:50 +01:00
checkstl.cpp CheckStl: Modernize the recommendations. string::starts_with is more intuitive than string::compare 2019-05-05 10:35:44 +02:00
checkstl.h Fix Cppcheck warnings 2019-06-15 13:05:17 +02:00
checkstring.cpp Checkstring fixes (#1783) 2019-04-06 06:54:38 +02:00
checkstring.h Checkstring fixes (#1783) 2019-04-06 06:54:38 +02:00
checktype.cpp Set wchar_t type (#1807) 2019-05-01 16:34:28 +02:00
checktype.h Disable all simplified checks 2019-03-16 09:17:50 +01:00
checkuninitvar.cpp uninitStructMember: Fixed FP shown in daca@home 2019-06-02 20:19:53 +02:00
checkuninitvar.h Disable all simplified checks 2019-03-16 09:17:50 +01:00
checkunusedfunctions.cpp Fixed #8580 (False positive: unused function (lambda)) 2019-04-27 17:17:51 +02:00
checkunusedfunctions.h Disable all simplified checks 2019-03-16 09:17:50 +01:00
checkunusedvar.cpp
checkunusedvar.h Disable all simplified checks 2019-03-16 09:17:50 +01:00
checkvaarg.cpp
checkvaarg.h Disable all simplified checks 2019-03-16 09:17:50 +01:00
config.h sync (#1835) 2019-05-17 09:31:41 +02:00
cppcheck.cpp Record C/CPP/Posix Standard used for cppcheck in dump file / use this for misra checking (#1782) 2019-06-14 12:06:57 +02:00
cppcheck.h test/cli: execute addon 2019-04-14 15:00:03 +02:00
cppcheck.natvis
cppcheck.vcxproj
cppcheck.vcxproj.filters
ctu.cpp Fix Cppcheck warnings 2019-06-15 13:28:01 +02:00
ctu.h CheckBufferOverrun: Add CTU analysis 2019-03-23 08:36:10 +01:00
errorlogger.cpp Add missing line feed to the generated plist output (#1792) 2019-04-08 18:09:18 +02:00
errorlogger.h
importproject.cpp Fixed Cppcheck shadowVar warning 2019-04-30 20:19:21 +02:00
importproject.h analyzing one vs config (first debug config that matches platform) 2019-04-13 20:01:40 +02:00
lib.pri
library.cpp Add check for unnecessary search before insertion 2019-05-02 11:04:23 +02:00
library.h Add check for unnecessary search before insertion 2019-05-02 11:04:23 +02:00
matchcompiler.h
mathlib.cpp Running astyle [ci skip] 2019-05-28 08:49:59 +02:00
mathlib.h
path.cpp Fixed #error in self check when __CPPCHECK__ is defined 2019-04-30 20:31:46 +02:00
path.h
pathmatch.cpp
pathmatch.h
pcrerules.pri
platform.cpp
platform.h
preprocessor.cpp Add missing include 2019-05-09 06:55:36 +02:00
preprocessor.h Renamed private member file0 2018-06-17 09:06:16 +02:00
settings.cpp Only check unused templates if that is configured 2019-05-05 14:40:30 +02:00
settings.h test/cli: execute addon 2019-04-14 15:00:03 +02:00
standards.h astyle formatting 2019-06-14 12:07:22 +02:00
suppressions.cpp
suppressions.h
symboldatabase.cpp Cleanup some const_cast of Token* (#1886) 2019-06-16 10:09:38 +02:00
symboldatabase.h Add check for unnecessary search before insertion 2019-05-02 11:04:23 +02:00
templatesimplifier.cpp Cleanup some const_cast of Token* (#1886) 2019-06-16 10:09:38 +02:00
templatesimplifier.h template simplifier: specialized member class not recognized causing wrong instantiation (#1876) 2019-06-09 08:11:59 +02:00
timer.cpp
timer.h
token.cpp Running astyle [ci skip] 2019-06-02 13:29:20 +02:00
token.h Cleanup some const_cast of Token* (#1886) 2019-06-16 10:09:38 +02:00
tokenize.cpp Fix up a few more cases where templates ending in ">>" should be changed to end in "> >". (#1883) 2019-06-13 13:37:55 +02:00
tokenize.h wxwidgets.cfg: Added support for wxWindow::ClientToScreen(). 2019-05-28 08:50:38 +02:00
tokenlist.cpp Cleanup some const_cast of Token* (#1886) 2019-06-16 10:09:38 +02:00
tokenlist.h
utils.h
valueflow.cpp Cleanup some const_cast of Token* (#1886) 2019-06-16 10:09:38 +02:00
valueflow.h Cleanup some const_cast of Token* (#1886) 2019-06-16 10:09:38 +02:00
version.h
version.rc