cppcheck:

Run:41616037979
Check:PR #219880: performance-inefficient-substr
Status:ok
Time:17s
Warnings:11 (TP 11, FP 0, unclassified 0)
Source:danmar/cppcheck/blob/1e79f7ffa1de4b9dc34cd96080f7d78c925d19b0

Warnings (11):

VerdictLocationMessage
TPbuild/lib/build/mc_analyzerinfo.cpp:141:18inefficient assignment via 'substr' temporary; use 'assign' to avoid the temporary string
TPbuild/lib/build/mc_clangimport.cpp:672:18inefficient assignment via 'substr' temporary; use 'assign' to avoid the temporary string
TPbuild/lib/build/mc_errorlogger.cpp:1069:23inefficient assignment via 'substr' temporary; use 'assign' to avoid the temporary string
TPbuild/lib/build/mc_errorlogger.cpp:1078:23inefficient assignment via 'substr' temporary; use 'assign' to avoid the temporary string
TPbuild/lib/build/mc_errorlogger.cpp:1087:23inefficient assignment via 'substr' temporary; use 'assign' to avoid the temporary string
TPbuild/lib/build/mc_errorlogger.cpp:1091:23inefficient assignment via 'substr' temporary; use 'assign' to avoid the temporary string
TPbuild/lib/build/mc_errorlogger.cpp:1095:23inefficient assignment via 'substr' temporary; use 'assign' to avoid the temporary string
TPbuild/lib/build/mc_suppressions.cpp:777:26inefficient assignment via 'substr' temporary; use 'assign' to avoid the temporary string
TPbuild/lib/build/mc_tokenize.cpp:10594:26inefficient assignment via 'substr' temporary; use 'assign' to avoid the temporary string
TPtest/fixture.cpp:394:22inefficient assignment via 'substr' temporary; use 'assign' to avoid the temporary string
TPtools/dmake/dmake.cpp:135:15inefficient concatenation via 'substr' temporary; use 'append' to avoid the temporary string

Generated from 3ddf6fa37f.