cppcheck:

Run:39228895707/2
Check:PR #233377: clang-diagnostic-lifetime-safety-experimental-*
Status:ok
Time:15s
Warnings:173 (TP 124, FP 49, unclassified 0)
Source:danmar/cppcheck/blob/1e79f7ffa1de4b9dc34cd96080f7d78c925d19b0

New warnings, not in baseline (173):

VerdictLocationMessage
FPbuild/lib/build/mc_checkbufferoverrun.cpp:400:88parameter 'dimensions' is later invalidated
FPbuild/lib/build/mc_checkcondition.cpp:1813:60parameter 'op' is later invalidated
FPbuild/lib/build/mc_checkcondition.cpp:1813:77parameter 'value' is later invalidated
FPbuild/lib/build/mc_checkother.cpp:4348:51parameter 'typeStr' is later invalidated
TPbuild/lib/build/mc_checkstl.cpp:4943:22return value depends on the object referenced by field 'bodyTok', not on '*this'
FPbuild/lib/build/mc_checkuninitvar.cpp:1371:183parameter 'variableValue' is later invalidated
FPbuild/lib/build/mc_cppcheck.cpp:358:28parameter 'dumpFile' is later invalidated
FPbuild/lib/build/mc_cppcheck.cpp:571:108parameter 'warnings' is later invalidated
FPbuild/lib/build/mc_errorlogger.cpp:250:29parameter 'oss' is later invalidated
FPbuild/lib/build/mc_errorlogger.cpp:567:33parameter 'source' is later invalidated
FPbuild/lib/build/mc_errorlogger.cpp:592:21parameter 'source' is later invalidated
FPbuild/lib/build/mc_importproject.cpp:50:64parameter 'args' is later invalidated
FPbuild/lib/build/mc_importproject.cpp:141:15local variable 'optArg' is later invalidated
FPbuild/lib/build/mc_importproject.cpp:150:15local variable 'optArg' is later invalidated
FPbuild/lib/build/mc_importproject.cpp:155:15local variable 'optArg' is later invalidated
FPbuild/lib/build/mc_importproject.cpp:160:15local variable 'optArg' is later invalidated
FPbuild/lib/build/mc_importproject.cpp:165:15local variable 'optArg' is later invalidated
FPbuild/lib/build/mc_importproject.cpp:170:15local variable 'optArg' is later invalidated
FPbuild/lib/build/mc_importproject.cpp:182:15local variable 'optArg' is later invalidated
FPbuild/lib/build/mc_importproject.cpp:247:39parameter 's' is later invalidated
FPbuild/lib/build/mc_importproject.cpp:547:32parameter 'c' is later invalidated
FPbuild/lib/build/mc_importproject.cpp:682:133parameter 'includePath' is later invalidated
FPbuild/lib/build/mc_library.cpp:1560:49parameter 'unknownFunc' is later invalidated
FPbuild/lib/build/mc_preprocessor.cpp:1156:74parameter 'remarkComments' is later invalidated
FPbuild/lib/build/mc_programmemory.cpp:1585:36parameter 'conditions' is later invalidated
FPbuild/lib/build/mc_summaries.cpp:185:33parameter 'functionCalls' is later invalidated
FPbuild/lib/build/mc_summaries.cpp:186:33parameter 'add' is later invalidated
FPbuild/lib/build/mc_symboldatabase.cpp:8458:67parameter 'matches' is later invalidated
FPbuild/lib/build/mc_templatesimplifier.cpp:2706:58parameter 'args' is later invalidated
FPbuild/lib/build/mc_templatesimplifier.cpp:4938:5parameter 'typeParametersInDeclaration' is later invalidated
FPbuild/lib/build/mc_token.cpp:2105:20parameter 'str' is later invalidated
FPbuild/lib/build/mc_token.cpp:2113:39parameter 'ret' is later invalidated
TPbuild/lib/build/mc_token.cpp:3151:43return value depends on the object referenced by field 'mImpl', not on '*this'
TPbuild/lib/build/mc_tokenize.cpp:8494:22return value depends on the object referenced by field 'mTypedefToken', not on '*this'
TPbuild/lib/build/mc_tokenize.cpp:8839:16return value depends on the object referenced by field 'mEndToken', not on '*this'
TPbuild/lib/build/mc_tokenize.cpp:8843:16return value depends on the object referenced by field 'mNameToken', not on '*this'
FPbuild/lib/build/mc_utils.cpp:141:21parameter 'source' is later invalidated
TPbuild/lib/build/mc_valueflow.cpp:8759:17return value depends on the object referenced by field 'mName', not on '*this'
TPbuild/lib/build/mc_vf_analyzers.cpp:346:21return value depends on the object referenced by field 'settings', not on '*this'
TPbuild/lib/build/mc_vf_analyzers.cpp:1143:23return value depends on the object referenced by field 'mIt', not on '*this'
TPbuild/lib/build/mc_vf_analyzers.cpp:1147:21return value depends on the object referenced by field 'mIt', not on '*this'
TPbuild/lib/build/mc_vf_analyzers.cpp:1381:12return value depends on the object referenced by field 'x', not on '*this'
TPbuild/lib/build/mc_vf_analyzers.cpp:1384:12return value depends on the object referenced by field 'x', not on '*this'
FPcli/cmdlineparser.cpp:66:57parameter 'pathNames' is later invalidated
FPcli/cppcheckexecutor.cpp:636:108parameter 'output_' is later invalidated
TPexternals/picojson/./picojson.h:678:8return value depends on the object referenced by field 'cur_', not on '*this'
FPexternals/picojson/./picojson.h:738:72parameter 'out' is later invalidated
FPexternals/picojson/./picojson.h:779:69parameter 'out' is later invalidated
FPexternals/picojson/./picojson.h:1104:114parameter 'err' is later invalidated
TPexternals/simplecpp/./simplecpp.h:98:21return value depends on the object referenced by field 'mData', not on '*this'
TPexternals/simplecpp/./simplecpp.h:191:22return value depends on the object referenced by field 'previous', not on '*this'
TPexternals/simplecpp/./simplecpp.h:198:22return value depends on the object referenced by field 'next', not on '*this'
TPexternals/simplecpp/./simplecpp.h:318:16return value depends on the object referenced by field 'frontToken', not on '*this'
TPexternals/simplecpp/./simplecpp.h:322:22return value depends on the object referenced by field 'frontToken', not on '*this'
TPexternals/simplecpp/./simplecpp.h:326:16return value depends on the object referenced by field 'backToken', not on '*this'
TPexternals/simplecpp/./simplecpp.h:330:22return value depends on the object referenced by field 'backToken', not on '*this'
TPexternals/simplecpp/./simplecpp.h:366:41return value depends on the object referenced by field 'files', not on '*this'
TPexternals/simplecpp/simplecpp.cpp:1478:42return value depends on the object referenced by field 'files', not on '*this'
TPexternals/simplecpp/simplecpp.cpp:1663:25return value depends on the object referenced by field 'nameTokDef', not on '*this'
TPexternals/simplecpp/simplecpp.h:98:21return value depends on the object referenced by field 'mData', not on '*this'
TPexternals/simplecpp/simplecpp.h:191:22return value depends on the object referenced by field 'previous', not on '*this'
TPexternals/simplecpp/simplecpp.h:198:22return value depends on the object referenced by field 'next', not on '*this'
TPexternals/simplecpp/simplecpp.h:318:16return value depends on the object referenced by field 'frontToken', not on '*this'
TPexternals/simplecpp/simplecpp.h:322:22return value depends on the object referenced by field 'frontToken', not on '*this'
TPexternals/simplecpp/simplecpp.h:326:16return value depends on the object referenced by field 'backToken', not on '*this'
TPexternals/simplecpp/simplecpp.h:330:22return value depends on the object referenced by field 'backToken', not on '*this'
TPexternals/simplecpp/simplecpp.h:366:41return value depends on the object referenced by field 'files', not on '*this'
TPexternals/tinyxml2/./tinyxml2.h:285:14return value depends on the object referenced by field '_mem', not on '*this'
TPexternals/tinyxml2/./tinyxml2.h:677:24return value depends on the object referenced by field '_document', not on '*this'
TPexternals/tinyxml2/./tinyxml2.h:682:18return value depends on the object referenced by field '_document', not on '*this'
TPexternals/tinyxml2/./tinyxml2.h:757:20return value depends on the object referenced by field '_parent', not on '*this'
TPexternals/tinyxml2/./tinyxml2.h:761:14return value depends on the object referenced by field '_parent', not on '*this'
TPexternals/tinyxml2/./tinyxml2.h:771:21return value depends on the object referenced by field '_firstChild', not on '*this'
TPexternals/tinyxml2/./tinyxml2.h:775:15return value depends on the object referenced by field '_firstChild', not on '*this'
TPexternals/tinyxml2/./tinyxml2.h:789:20return value depends on the object referenced by field '_lastChild', not on '*this'
TPexternals/tinyxml2/./tinyxml2.h:793:15return value depends on the object referenced by field '_lastChild', not on '*this'
TPexternals/tinyxml2/./tinyxml2.h:807:20return value depends on the object referenced by field '_prev', not on '*this'
TPexternals/tinyxml2/./tinyxml2.h:811:14return value depends on the object referenced by field '_prev', not on '*this'
TPexternals/tinyxml2/./tinyxml2.h:823:20return value depends on the object referenced by field '_next', not on '*this'
TPexternals/tinyxml2/./tinyxml2.h:827:14return value depends on the object referenced by field '_next', not on '*this'
TPexternals/tinyxml2/./tinyxml2.h:948:8return value depends on the object referenced by field '_userData', not on '*this'
TPexternals/tinyxml2/./tinyxml2.h:1156:25return value depends on the object referenced by field '_next', not on '*this'
TPexternals/tinyxml2/./tinyxml2.h:1516:25return value depends on the object referenced by field '_rootAttribute', not on '*this'
TPexternals/tinyxml2/./tinyxml2.h:2107:14return value depends on the object referenced by field '_node', not on '*this'
TPexternals/tinyxml2/./tinyxml2.h:2177:20return value depends on the object referenced by field '_node', not on '*this'
TPexternals/tinyxml2/tinyxml2.cpp:281:22return value depends on the object referenced by field '_start', not on '*this'
FPexternals/tinyxml2/tinyxml2.cpp:1188:38parameter 'node' is later invalidated
TPexternals/tinyxml2/tinyxml2.cpp:1616:33return value depends on the object referenced by field '_rootAttribute', not on '*this'
TPexternals/tinyxml2/tinyxml2.cpp:1912:27return value depends on the object referenced by field '_rootAttribute', not on '*this'
FPexternals/tinyxml2/tinyxml2.cpp:2018:35parameter 'attribute' is later invalidated
TPexternals/tinyxml2/tinyxml2.h:230:8return value depends on the object referenced by field '_mem', not on '*this'
TPexternals/tinyxml2/tinyxml2.h:253:8return value depends on the object referenced by field '_mem', not on '*this'
TPexternals/tinyxml2/tinyxml2.h:285:14return value depends on the object referenced by field '_mem', not on '*this'
TPexternals/tinyxml2/tinyxml2.h:371:19return value depends on the object referenced by field '_root', not on '*this'
TPexternals/tinyxml2/tinyxml2.h:677:24return value depends on the object referenced by field '_document', not on '*this'
TPexternals/tinyxml2/tinyxml2.h:682:18return value depends on the object referenced by field '_document', not on '*this'
TPexternals/tinyxml2/tinyxml2.h:757:20return value depends on the object referenced by field '_parent', not on '*this'
TPexternals/tinyxml2/tinyxml2.h:761:14return value depends on the object referenced by field '_parent', not on '*this'
TPexternals/tinyxml2/tinyxml2.h:771:21return value depends on the object referenced by field '_firstChild', not on '*this'
TPexternals/tinyxml2/tinyxml2.h:775:15return value depends on the object referenced by field '_firstChild', not on '*this'
TPexternals/tinyxml2/tinyxml2.h:789:20return value depends on the object referenced by field '_lastChild', not on '*this'
TPexternals/tinyxml2/tinyxml2.h:793:15return value depends on the object referenced by field '_lastChild', not on '*this'
TPexternals/tinyxml2/tinyxml2.h:807:20return value depends on the object referenced by field '_prev', not on '*this'
TPexternals/tinyxml2/tinyxml2.h:811:14return value depends on the object referenced by field '_prev', not on '*this'
TPexternals/tinyxml2/tinyxml2.h:823:20return value depends on the object referenced by field '_next', not on '*this'
TPexternals/tinyxml2/tinyxml2.h:827:14return value depends on the object referenced by field '_next', not on '*this'
TPexternals/tinyxml2/tinyxml2.h:948:8return value depends on the object referenced by field '_userData', not on '*this'
TPexternals/tinyxml2/tinyxml2.h:1156:25return value depends on the object referenced by field '_next', not on '*this'
TPexternals/tinyxml2/tinyxml2.h:1516:25return value depends on the object referenced by field '_rootAttribute', not on '*this'
TPexternals/tinyxml2/tinyxml2.h:2107:14return value depends on the object referenced by field '_node', not on '*this'
TPexternals/tinyxml2/tinyxml2.h:2177:20return value depends on the object referenced by field '_node', not on '*this'
TPlib/./programmemory.h:82:18return value depends on the object referenced by field 'tok', not on '*this'
TPlib/./programmemory.h:86:18return value depends on the object referenced by field 'tok', not on '*this'
TPlib/./sourcelocation.h:89:17return value depends on the object referenced by field 'm_file_name', not on '*this'
TPlib/./sourcelocation.h:92:17return value depends on the object referenced by field 'm_function_name', not on '*this'
TPlib/./symboldatabase.h:252:18return value depends on the object referenced by field 'mNameToken', not on '*this'
TPlib/./symboldatabase.h:264:18return value depends on the object referenced by field 'mTypeStartToken', not on '*this'
TPlib/./symboldatabase.h:276:18return value depends on the object referenced by field 'mTypeEndToken', not on '*this'
TPlib/./symboldatabase.h:521:17return value depends on the object referenced by field 'mType', not on '*this'
TPlib/./symboldatabase.h:537:18return value depends on the object referenced by field 'mScope', not on '*this'
TPlib/./symboldatabase.h:650:22return value depends on the object referenced by field 'mValueType', not on '*this'
TPlib/./symboldatabase.h:951:18return value depends on the object referenced by field 'tokenDef', not on '*this'
TPlib/./templatesimplifier.h:169:17return value depends on the object referenced by field 'mToken', not on '*this'
TPlib/./templatesimplifier.h:184:23return value depends on the object referenced by field 'mNameToken', not on '*this'
TPlib/./templatesimplifier.h:187:23return value depends on the object referenced by field 'mParamEnd', not on '*this'
TPlib/./token.h:601:24return value depends on the object referenced by field 'mImpl', not on '*this'
TPlib/./token.h:959:12return value depends on the object referenced by field 'mNext', not on '*this'
TPlib/./token.h:963:18return value depends on the object referenced by field 'mNext', not on '*this'
TPlib/./token.h:1020:12return value depends on the object referenced by field 'mPrevious', not on '*this'
TPlib/./token.h:1024:18return value depends on the object referenced by field 'mPrevious', not on '*this'
TPlib/./token.h:1193:18return value depends on the object referenced by field 'mLink', not on '*this'
TPlib/./token.h:1197:12return value depends on the object referenced by field 'mLink', not on '*this'
TPlib/./tokenize.h:573:27return value depends on the object referenced by field 'mSymbolDatabase', not on '*this'
TPlib/./tokenize.h:631:21return value depends on the object referenced by field 'mSettings', not on '*this'
TPlib/./tokenize.h:635:18return value depends on the object referenced by field 'mErrorLogger', not on '*this'
TPlib/./tokenlist.h:214:21return value depends on the object referenced by field 'mSettings', not on '*this'
TPlib/./tokenrange.h:60:12return value depends on the object referenced by field 'mt', not on '*this'
TPlib/matchcompiler.h:34:9return value depends on the object referenced by field '_s', not on '*this'
TPlib/programmemory.h:82:18return value depends on the object referenced by field 'tok', not on '*this'
TPlib/programmemory.h:86:18return value depends on the object referenced by field 'tok', not on '*this'
TPlib/sourcelocation.h:89:17return value depends on the object referenced by field 'm_file_name', not on '*this'
TPlib/sourcelocation.h:92:17return value depends on the object referenced by field 'm_function_name', not on '*this'
TPlib/symboldatabase.h:252:18return value depends on the object referenced by field 'mNameToken', not on '*this'
TPlib/symboldatabase.h:264:18return value depends on the object referenced by field 'mTypeStartToken', not on '*this'
TPlib/symboldatabase.h:276:18return value depends on the object referenced by field 'mTypeEndToken', not on '*this'
TPlib/symboldatabase.h:521:17return value depends on the object referenced by field 'mType', not on '*this'
TPlib/symboldatabase.h:537:18return value depends on the object referenced by field 'mScope', not on '*this'
TPlib/symboldatabase.h:650:22return value depends on the object referenced by field 'mValueType', not on '*this'
TPlib/symboldatabase.h:951:18return value depends on the object referenced by field 'tokenDef', not on '*this'
TPlib/templatesimplifier.h:169:17return value depends on the object referenced by field 'mToken', not on '*this'
TPlib/templatesimplifier.h:184:23return value depends on the object referenced by field 'mNameToken', not on '*this'
TPlib/templatesimplifier.h:187:23return value depends on the object referenced by field 'mParamEnd', not on '*this'
TPlib/token.h:601:24return value depends on the object referenced by field 'mImpl', not on '*this'
TPlib/token.h:959:12return value depends on the object referenced by field 'mNext', not on '*this'
TPlib/token.h:963:18return value depends on the object referenced by field 'mNext', not on '*this'
TPlib/token.h:1020:12return value depends on the object referenced by field 'mPrevious', not on '*this'
TPlib/token.h:1024:18return value depends on the object referenced by field 'mPrevious', not on '*this'
TPlib/token.h:1193:18return value depends on the object referenced by field 'mLink', not on '*this'
TPlib/token.h:1197:12return value depends on the object referenced by field 'mLink', not on '*this'
TPlib/tokenize.h:573:27return value depends on the object referenced by field 'mSymbolDatabase', not on '*this'
TPlib/tokenize.h:631:21return value depends on the object referenced by field 'mSettings', not on '*this'
TPlib/tokenize.h:635:18return value depends on the object referenced by field 'mErrorLogger', not on '*this'
TPlib/tokenlist.h:214:21return value depends on the object referenced by field 'mSettings', not on '*this'
FPtools/dmake/dmake.cpp:73:43parameter 'depfiles' is later invalidated
FPtools/dmake/dmake.cpp:169:32parameter 'files' is later invalidated
FPtools/dmake/dmake.cpp:353:20parameter 'libfiles_prio' is later invalidated
FPtools/dmake/dmake.cpp:358:20parameter 'extfiles' is later invalidated
FPtools/dmake/dmake.cpp:537:42parameter 'outstr' is later invalidated
FPtools/dmake/dmake.cpp:546:12parameter 'outstr' is later invalidated
FPtools/dmake/dmake.cpp:556:47parameter 'outstr' is later invalidated
FPtools/dmake/dmake.cpp:564:12parameter 'outstr' is later invalidated
FPtools/dmake/dmake.cpp:573:50parameter 'outstr' is later invalidated
FPtools/dmake/dmake.cpp:590:12parameter 'outstr' is later invalidated

Gone, only in baseline (0):

None.

Unchanged, also in baseline (0):

None.