| Verdict | Location | Message |
| - | build/lib/build/mc_astutils.cpp:1599:5 | variable 'decl' of type 'std::pair<const Token *, const Token *>' can be declared 'const' |
| - | build/lib/build/mc_astutils.cpp:1904:13 | variable 'sub' of type 'std::vector<const Token *>' can be declared 'const' |
| - | build/lib/build/mc_astutils.cpp:1925:5 | variable 'it' of type 'std::reverse_iterator<__gnu_cxx::__normal_iterator<const Token *const *, std::vector<const Token *>>>' can be declared 'const' |
| - | build/lib/build/mc_astutils.cpp:2037:25 | variable 'it' of type 'std::_List_const_iterator<Variable>' can be declared 'const' |
| - | build/lib/build/mc_astutils.cpp:2598:9 | variable 'returns' of type 'std::vector<const Token *>' can be declared 'const' |
| - | build/lib/build/mc_astutils.cpp:2627:21 | variable 'refs' of type 'SmallVector<ReferenceToken>' can be declared 'const' |
| - | build/lib/build/mc_astutils.cpp:2669:5 | variable 'v1' of type 'ValueFlow::Value' can be declared 'const' |
| - | build/lib/build/mc_astutils.cpp:2672:5 | variable 'v2' of type 'ValueFlow::Value' can be declared 'const' |
| - | build/lib/build/mc_astutils.cpp:2726:5 | variable 'adjustForCast' of type '(lambda at /__w/CTIT/CTIT/test_projects/cppcheck/lib/astutils.cpp:1473:26)' can be declared 'const' |
| - | build/lib/build/mc_astutils.cpp:2814:9 | variable 'vtParents' of type 'std::vector<ValueType>' can be declared 'const' |
| - | build/lib/build/mc_astutils.cpp:3286:17 | variable 'fs' of type 'std::vector<const Function *>' can be declared 'const' |
| - | build/lib/build/mc_astutils.cpp:3333:9 | variable 'args' of type 'std::vector<const Token *>' can be declared 'const' |
| - | build/lib/build/mc_astutils.cpp:3411:9 | variable 'pred' of type '(lambda at /__w/CTIT/CTIT/test_projects/cppcheck/lib/astutils.cpp:2158:21)' can be declared 'const' |
| - | build/lib/build/mc_astutils.cpp:3685:13 | variable 'it' of type 'std::_List_const_iterator<Variable>' can be declared 'const' |
| - | build/lib/build/mc_astutils.cpp:3836:5 | variable 'args' of type 'std::vector<const Variable *>' can be declared 'const' |
| - | build/lib/build/mc_astutils.cpp:3917:5 | variable 'skipRedundantPtrOp' of type '(lambda at /__w/CTIT/CTIT/test_projects/cppcheck/lib/astutils.cpp:2664:31)' can be declared 'const' |
| - | build/lib/build/mc_astutils.cpp:4232:5 | variable 'getExprTok' of type 'std::function<const Token *()>' can be declared 'const' |
| - | build/lib/build/mc_astutils.cpp:4457:5 | variable 'arg_it' of type 'std::_List_const_iterator<Variable>' can be declared 'const' |
| - | build/lib/build/mc_astutils.cpp:4528:5 | variable 'maybeLambda' of type '(lambda at /__w/CTIT/CTIT/test_projects/cppcheck/lib/astutils.cpp:3275:24)' can be declared 'const' |
| - | build/lib/build/mc_astutils.cpp:4633:9 | variable 'args' of type 'std::vector<const Token *>' can be declared 'const' |
| - | build/lib/build/mc_astutils.cpp:4684:17 | variable 'it' of type 'std::_List_const_iterator<Function>' can be declared 'const' |
| - | build/lib/build/mc_astutils.cpp:4693:9 | variable 'args' of type 'std::vector<const Variable *>' can be declared 'const' |
| - | build/lib/build/mc_checkautovariables.cpp:840:5 | variable 'decl' of type 'std::pair<const Token *, const Token *>' can be declared 'const' |
| - | build/lib/build/mc_checkautovariables.cpp:1078:5 | variable 'msg' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | build/lib/build/mc_checkautovariables.cpp:1087:5 | variable 'msg' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | build/lib/build/mc_checkautovariables.cpp:1096:5 | variable 'msg' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | build/lib/build/mc_checkautovariables.cpp:1111:5 | variable 'tokName' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | build/lib/build/mc_checkautovariables.cpp:1134:5 | variable 'tokName' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | build/lib/build/mc_checkautovariables.cpp:1135:5 | variable 'varName' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | build/lib/build/mc_checkautovariables.cpp:1136:5 | variable 'msg' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | build/lib/build/mc_checkbool.cpp:304:5 | variable 'getFunctionTok' of type '(lambda at /__w/CTIT/CTIT/test_projects/cppcheck/lib/checkbool.cpp:214:27)' can be declared 'const' |
| - | build/lib/build/mc_checkbufferoverrun.cpp:989:17 | variable 'it' of type 'std::_List_const_iterator<ValueFlow::Value>' can be declared 'const' |
| - | build/lib/build/mc_checkbufferoverrun.cpp:1285:13 | variable 'values' of type 'std::vector<ValueFlow::Value>' can be declared 'const' |
| - | build/lib/build/mc_checkbufferoverrun.cpp:1352:5 | variable 'verb' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | build/lib/build/mc_checkclass.cpp:2082:5 | variable 'it' of type '__gnu_cxx::__normal_iterator<CheckClass::Usage *, std::vector<CheckClass::Usage>>' can be declared 'const' |
| - | build/lib/build/mc_checkclass.cpp:2095:5 | variable 'it' of type '__gnu_cxx::__normal_iterator<CheckClass::Usage *, std::vector<CheckClass::Usage>>' can be declared 'const' |
| - | build/lib/build/mc_checkclass.cpp:2105:5 | variable 'it' of type '__gnu_cxx::__normal_iterator<CheckClass::Usage *, std::vector<CheckClass::Usage>>' can be declared 'const' |
| - | build/lib/build/mc_checkclass.cpp:2526:5 | variable 'id' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | build/lib/build/mc_checkclass.cpp:2950:5 | variable 'toks' of type 'std::list<const Token *>' can be declared 'const' |
| - | build/lib/build/mc_checkclass.cpp:2960:5 | variable 'toks' of type 'std::list<const Token *>' can be declared 'const' |
| - | build/lib/build/mc_checkclass.cpp:3051:9 | variable 'cast' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | build/lib/build/mc_checkclass.cpp:3548:13 | variable 'isPointerOrReference' of type '(lambda at /__w/CTIT/CTIT/test_projects/cppcheck/lib/checkclass.cpp:2153:41)' can be declared 'const' |
| - | build/lib/build/mc_checkclass.cpp:3831:5 | variable 'getFuncTok' of type '(lambda at /__w/CTIT/CTIT/test_projects/cppcheck/lib/checkclass.cpp:2436:23)' can be declared 'const' |
| - | build/lib/build/mc_checkclass.cpp:3843:5 | variable 'checkFuncCall' of type '(lambda at /__w/CTIT/CTIT/test_projects/cppcheck/lib/checkclass.cpp:2448:26)' can be declared 'const' |
| - | build/lib/build/mc_checkclass.cpp:3990:13 | variable 'hasOverloadedMemberAccess' of type '(lambda at /__w/CTIT/CTIT/test_projects/cppcheck/lib/checkclass.cpp:2595:46)' can be declared 'const' |
| - | build/lib/build/mc_checkclass.cpp:3994:17 | variable 'it' of type 'std::_List_const_iterator<Function>' can be declared 'const' |
| - | build/lib/build/mc_checkclass.cpp:4003:13 | variable 'isConstContainerUsage' of type '(lambda at /__w/CTIT/CTIT/test_projects/cppcheck/lib/checkclass.cpp:2608:42)' can be declared 'const' |
| - | build/lib/build/mc_checkclass.cpp:4223:5 | variable 'toks' of type 'std::list<const Token *>' can be declared 'const' |
| - | build/lib/build/mc_checkclass.cpp:4379:5 | variable 'found' of type 'const_iterator' (aka '_Rb_tree_const_iterator<std::pair<const Function *const, std::list<const Token *, std::allocator<const Token *>>>>') can be declared 'const' |
| - | build/lib/build/mc_checkclass.cpp:4973:5 | variable 'selfPointer' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | build/lib/build/mc_checkclass.cpp:5183:13 | variable 'it' of type 'iterator' (aka '__detail::_Node_iterator<std::pair<const std::basic_string<char>, MyFileInfo::NameLoc>, __constant_iterators::value, __hash_cached::value>') can be declared 'const' |
| - | build/lib/build/mc_checkcondition.cpp:1007:5 | variable 'locations' of type 'std::list<const Token *>' can be declared 'const' |
| - | build/lib/build/mc_checkcondition.cpp:1017:5 | variable 'locations' of type 'std::list<const Token *>' can be declared 'const' |
| - | build/lib/build/mc_checkcondition.cpp:1285:5 | variable 'msg' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | build/lib/build/mc_checkcondition.cpp:1707:5 | variable 'transformOp' of type '(lambda at /__w/CTIT/CTIT/test_projects/cppcheck/lib/checkcondition.cpp:952:24)' can be declared 'const' |
| - | build/lib/build/mc_checkcondition.cpp:2697:5 | variable 'expr' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | build/lib/build/mc_checkersreport.cpp:199:5 | variable 'reportSection' of type '(lambda at /__w/CTIT/CTIT/test_projects/cppcheck/lib/checkersreport.cpp:195:26)' can be declared 'const' |
| - | build/lib/build/mc_checkio.cpp:1151:17 | variable 'argInfo' of type 'ArgumentInfo' can be declared 'const' |
| - | build/lib/build/mc_checkleakautovar.cpp:996:13 | variable 'hasOutParam' of type 'bool' can be declared 'const' |
| - | build/lib/build/mc_checkleakautovar.cpp:1034:9 | variable 'isAssignment' of type '(lambda at /__w/CTIT/CTIT/test_projects/cppcheck/lib/checkleakautovar.cpp:419:29)' can be declared 'const' |
| - | build/lib/build/mc_checkleakautovar.cpp:1677:17 | variable 'dealloc' of type 'VarInfo::AllocInfo' can be declared 'const' |
| - | build/lib/build/mc_checkmemoryleak.cpp:765:9 | variable 'reallocType' of type 'AllocType' can be declared 'const' |
| - | build/lib/build/mc_checkmemoryleak.cpp:1196:5 | variable 'c' of type 'CheckMemoryLeakInFunction' can be declared 'const' |
| - | build/lib/build/mc_checkmemoryleak.cpp:1465:5 | variable 'deallocInFunction' of type '(lambda at /__w/CTIT/CTIT/test_projects/cppcheck/lib/checkmemoryleak.cpp:777:30)' can be declared 'const' |
| - | build/lib/build/mc_checkmemoryleak.cpp:1491:5 | variable 'isMemberAssignment' of type '(lambda at /__w/CTIT/CTIT/test_projects/cppcheck/lib/checkmemoryleak.cpp:803:31)' can be declared 'const' |
| - | build/lib/build/mc_checknullpointer.cpp:617:9 | variable 'pred' of type '(lambda at /__w/CTIT/CTIT/test_projects/cppcheck/lib/checknullpointer.cpp:292:21)' can be declared 'const' |
| - | build/lib/build/mc_checknullpointer.cpp:639:9 | variable 'tokens' of type 'std::vector<const Token *>' can be declared 'const' |
| - | build/lib/build/mc_checknullpointer.cpp:873:5 | variable 'arithmetic' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | build/lib/build/mc_checknullpointer.cpp:903:5 | variable 'arithmetic' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | build/lib/build/mc_checknullpointer.cpp:920:74 | pointee of variable 'value' of type 'CTU::FileInfo::Value *' can be declared 'const' |
| - | build/lib/build/mc_checknullpointer.cpp:1019:17 | variable 'errmsg' of type 'ErrorMessage' can be declared 'const' |
| - | build/lib/build/mc_checkother.cpp:3561:13 | variable 'returns' of type 'std::vector<const Token *>' can be declared 'const' |
| - | build/lib/build/mc_checkother.cpp:3571:17 | variable 'ltVal' of type 'ValueFlow::Value' can be declared 'const' |
| - | build/lib/build/mc_checkother.cpp:4348:5 | variable 'getConstructorTok' of type '(lambda at /__w/CTIT/CTIT/test_projects/cppcheck/lib/checkother.cpp:2510:30)' can be declared 'const' |
| - | build/lib/build/mc_checkother.cpp:4369:5 | variable 'isLibraryConstructor' of type '(lambda at /__w/CTIT/CTIT/test_projects/cppcheck/lib/checkother.cpp:2531:33)' can be declared 'const' |
| - | build/lib/build/mc_checkother.cpp:4612:5 | variable 'deallocated' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | build/lib/build/mc_checkother.cpp:4758:13 | variable 'isInsideLambdaCaptureList' of type '(lambda at /__w/CTIT/CTIT/test_projects/cppcheck/lib/checkother.cpp:2920:46)' can be declared 'const' |
| - | build/lib/build/mc_checkother.cpp:4836:25 | variable 'checkDuplicate' of type '(lambda at /__w/CTIT/CTIT/test_projects/cppcheck/lib/checkother.cpp:2998:47)' can be declared 'const' |
| - | build/lib/build/mc_checkother.cpp:4888:9 | variable 'exprMsg' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | build/lib/build/mc_checkother.cpp:5858:5 | variable 'tokens' of type 'std::list<const Token *>' can be declared 'const' |
| - | build/lib/build/mc_checkother.cpp:5871:5 | variable 'tokens' of type 'std::list<const Token *>' can be declared 'const' |
| - | build/lib/build/mc_checkother.cpp:5903:5 | variable 'it' of type 'std::_List_const_iterator<Function>' can be declared 'const' |
| - | build/lib/build/mc_checkother.cpp:5935:17 | variable 'it' of type 'std::_List_const_iterator<Variable>' can be declared 'const' |
| - | build/lib/build/mc_checkother.cpp:6136:5 | variable 'cond' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | build/lib/build/mc_checkother.cpp:6138:5 | variable 'errmsg' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | build/lib/build/mc_checkother.cpp:6157:13 | variable 'v1' of type 'ValueFlow::Value' can be declared 'const' |
| - | build/lib/build/mc_checkother.cpp:6160:13 | variable 'v2' of type 'ValueFlow::Value' can be declared 'const' |
| - | build/lib/build/mc_checkother.cpp:6336:9 | variable 'it' of type 'iterator' (aka '__detail::_Node_iterator<std::pair<const Scope *const, Union>, __constant_iterators::value, __hash_cached::value>') can be declared 'const' |
| - | build/lib/build/mc_checksizeof.cpp:438:25 | variable 'hasMultiplication' of type '(lambda at /__w/CTIT/CTIT/test_projects/cppcheck/lib/checksizeof.cpp:177:50)' can be declared 'const' |
| - | build/lib/build/mc_checkstl.cpp:2425:5 | variable 'errmsg' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | build/lib/build/mc_checkstl.cpp:2453:5 | variable 'callstack' of type 'std::list<const Token *>' can be declared 'const' |
| - | build/lib/build/mc_checkstl.cpp:2468:9 | variable 'callstack' of type 'std::list<const Token *>' can be declared 'const' |
| - | build/lib/build/mc_checkstl.cpp:2766:5 | variable 'values' of type 'std::vector<ValueFlow::Value>' can be declared 'const' |
| - | build/lib/build/mc_checkstl.cpp:2808:9 | variable 'it' of type '__gnu_cxx::__normal_iterator<ValueFlow::Value *, std::vector<ValueFlow::Value>>' can be declared 'const' |
| - | build/lib/build/mc_checkstl.cpp:2812:9 | variable 'root' of type '__gnu_cxx::__normal_iterator<ValueFlow::Value *, std::vector<ValueFlow::Value>>' can be declared 'const' |
| - | build/lib/build/mc_checkstl.cpp:2823:5 | variable 'findIterVal' of type '(lambda at /__w/CTIT/CTIT/test_projects/cppcheck/lib/checkstl.cpp:745:24)' can be declared 'const' |
| - | build/lib/build/mc_checkstl.cpp:2829:5 | variable 'it' of type '__gnu_cxx::__normal_iterator<const ValueFlow::Value *, std::vector<ValueFlow::Value>>' can be declared 'const' |
| - | build/lib/build/mc_checkstl.cpp:2831:9 | variable 'it2' of type '__gnu_cxx::__normal_iterator<const ValueFlow::Value *, std::vector<ValueFlow::Value>>' can be declared 'const' |
| - | build/lib/build/mc_checkstl.cpp:2846:5 | variable 'val1' of type 'ValueFlow::Value' can be declared 'const' |
| - | build/lib/build/mc_checkstl.cpp:2847:5 | variable 'val2' of type 'ValueFlow::Value' can be declared 'const' |
| - | build/lib/build/mc_checkstl.cpp:2927:26 | variable 'iter1' of type 'ArgIteratorInfo' can be declared 'const' |
| - | build/lib/build/mc_checkstl.cpp:2928:30 | variable 'iter2' of type 'ArgIteratorInfo' can be declared 'const' |
| - | build/lib/build/mc_checkstl.cpp:2987:13 | variable 'val' of type 'ValueFlow::Value' can be declared 'const' |
| - | build/lib/build/mc_checkstl.cpp:3079:17 | variable 'epi' of type 'ErrorPathItem' (aka 'std::pair<const Token *, basic_string<char>>') can be declared 'const' |
| - | build/lib/build/mc_checkstl.cpp:3081:17 | variable 'it' of type 'const_iterator' (aka '__detail::_Node_const_iterator<std::pair<const Function *const, (anonymous namespace)::InvalidContainerAnalyzer::Info>, __constant_iterators::value, __hash_cached::value>') can be declared 'const' |
| - | build/lib/build/mc_checkstl.cpp:3083:21 | variable 'refs' of type 'std::vector<Info::Reference>' can be declared 'const' |
| - | build/lib/build/mc_checkstl.cpp:3133:21 | variable 'c' of type 'std::vector<Info::Reference>' can be declared 'const' |
| - | build/lib/build/mc_checkstl.cpp:3259:21 | variable 'info' of type 'PathAnalysis::Info' can be declared 'const' |
| - | build/lib/build/mc_checkstl.cpp:3338:5 | variable 'msg' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | build/lib/build/mc_checkstl.cpp:3345:5 | variable 'name' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | build/lib/build/mc_checkstl.cpp:3346:5 | variable 'msg' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | build/lib/build/mc_checkstl.cpp:4016:5 | variable 'callstack' of type 'std::list<const Token *>' can be declared 'const' |
| - | build/lib/build/mc_checkstl.cpp:4074:5 | variable 'isString' of type '(lambda at /__w/CTIT/CTIT/test_projects/cppcheck/lib/checkstl.cpp:1996:21)' can be declared 'const' |
| - | build/lib/build/mc_checkstl.cpp:4276:5 | variable 'msg' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | build/lib/build/mc_checkstl.cpp:4283:5 | variable 'msg' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | build/lib/build/mc_checkstl.cpp:4290:5 | variable 'msg' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | build/lib/build/mc_checkstl.cpp:4297:5 | variable 'msg' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | build/lib/build/mc_checkstl.cpp:4547:17 | variable 'it' of type '__gnu_cxx::__normal_iterator<const ValueFlow::Value *, std::vector<ValueFlow::Value>>' can be declared 'const' |
| - | build/lib/build/mc_checkstl.cpp:4920:13 | variable 'n' of type 'int' can be declared 'const' |
| - | build/lib/build/mc_checkstl.cpp:4967:13 | variable 'loopVarChanged' of type 'bool' can be declared 'const' |
| - | build/lib/build/mc_checkstl.cpp:4973:17 | variable 'hasReturn' of type '(lambda at /__w/CTIT/CTIT/test_projects/cppcheck/lib/checkstl.cpp:2895:34)' can be declared 'const' |
| - | build/lib/build/mc_checkstl.cpp:5036:5 | variable 'checkAssignee' of type '(lambda at /__w/CTIT/CTIT/test_projects/cppcheck/lib/checkstl.cpp:2958:26)' can be declared 'const' |
| - | build/lib/build/mc_checkstl.cpp:5043:5 | variable 'isConditionWithoutSideEffects' of type '(lambda at /__w/CTIT/CTIT/test_projects/cppcheck/lib/checkstl.cpp:2965:42)' can be declared 'const' |
| - | build/lib/build/mc_checkstl.cpp:5059:5 | variable 'isAccumulation' of type '(lambda at /__w/CTIT/CTIT/test_projects/cppcheck/lib/checkstl.cpp:2981:27)' can be declared 'const' |
| - | build/lib/build/mc_checkstl.cpp:5073:13 | variable 'a' of type 'LoopAnalyzer' can be declared 'const' |
| - | build/lib/build/mc_checkstl.cpp:5074:13 | variable 'algoName' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | build/lib/build/mc_checkstl.cpp:5368:5 | variable 'it' of type 'std::_List_const_iterator<ValueFlow::Value>' can be declared 'const' |
| - | build/lib/build/mc_checkuninitvar.cpp:2554:5 | variable 'severity' of type 'Severity' can be declared 'const' |
| - | build/lib/build/mc_checkuninitvar.cpp:2555:5 | variable 'certainty' of type 'Certainty' can be declared 'const' |
| - | build/lib/build/mc_checkuninitvar.cpp:2615:17 | variable 'v' of type 'std::_List_const_iterator<ValueFlow::Value>' can be declared 'const' |
| - | build/lib/build/mc_checkuninitvar.cpp:2668:76 | pointee of variable 'value' of type 'MathLib::bigint *' (aka 'long long *') can be declared 'const' |
| - | build/lib/build/mc_checkuninitvar.cpp:2782:5 | variable 'v' of type 'ValueFlow::Value' can be declared 'const' |
| - | build/lib/build/mc_checkunusedvar.cpp:1124:5 | pointee of variable 'usage' of type 'VariableUsage *' can be declared 'const' |
| - | build/lib/build/mc_checkunusedvar.cpp:1204:5 | pointee of variable 'usage' of type 'VariableUsage *' can be declared 'const' |
| - | build/lib/build/mc_checkunusedvar.cpp:2049:5 | variable 'reportLibraryCfgError' of type '(lambda at /__w/CTIT/CTIT/test_projects/cppcheck/lib/checkunusedvar.cpp:1182:34)' can be declared 'const' |
| - | build/lib/build/mc_clangimport.cpp:300:13 | variable 'decl' of type 'Decl' can be declared 'const' |
| - | build/lib/build/mc_clangimport.cpp:307:13 | variable 'decl' of type 'Decl' can be declared 'const' |
| - | build/lib/build/mc_clangimport.cpp:314:13 | variable 'decl' of type 'Decl' can be declared 'const' |
| - | build/lib/build/mc_clangimport.cpp:319:13 | variable 'decl' of type 'Decl' can be declared 'const' |
| - | build/lib/build/mc_clangimport.cpp:337:13 | variable 'it' of type 'iterator' (aka '_Rb_tree_iterator<std::pair<const std::basic_string<char>, clangimport::Data::Decl>>') can be declared 'const' |
| - | build/lib/build/mc_clangimport.cpp:359:13 | variable 'it' of type 'iterator' (aka '_Rb_tree_iterator<std::pair<const std::basic_string<char>, clangimport::Data::Decl>>') can be declared 'const' |
| - | build/lib/build/mc_clangimport.cpp:369:13 | variable 'it' of type 'iterator' (aka '_Rb_tree_iterator<std::pair<const std::basic_string<char>, std::vector<Token *, std::allocator<Token *>>>>') can be declared 'const' |
| - | build/lib/build/mc_clangimport.cpp:763:5 | variable 'children2' of type 'std::vector<AstNodePtr>' (aka 'std::vector<std::shared_ptr<AstNode>>') can be declared 'const' |
| - | build/lib/build/mc_clangimport.cpp:981:9 | variable 'it' of type '__gnu_cxx::__normal_iterator<const std::shared_ptr<clangimport::AstNode> *, std::vector<std::shared_ptr<clangimport::AstNode>>>' can be declared 'const' |
| - | build/lib/build/mc_clangimport.cpp:986:9 | variable 'range' of type 'AstNodePtr' (aka 'std::shared_ptr<AstNode>') can be declared 'const' |
| - | build/lib/build/mc_clangimport.cpp:1067:9 | variable 'name' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | build/lib/build/mc_clangimport.cpp:1367:9 | variable 'cond' of type 'AstNodePtr' (aka 'std::shared_ptr<AstNode>') can be declared 'const' |
| - | build/lib/build/mc_clangimport.cpp:1467:9 | variable 'accessControl' of type 'iterator' (aka '_Rb_tree_iterator<std::pair<const Scope *const, AccessControl>>') can be declared 'const' |
| - | build/lib/build/mc_clangimport.cpp:1494:9 | variable 'child' of type 'AstNodePtr' (aka 'std::shared_ptr<AstNode>') can be declared 'const' |
| - | build/lib/build/mc_clangimport.cpp:1664:13 | variable 'vt' of type 'ValueType' can be declared 'const' |
| - | build/lib/build/mc_cppcheck.cpp:175:13 | variable 'lineNumber' of type 'int' can be declared 'const' |
| - | build/lib/build/mc_cppcheck.cpp:369:9 | variable 'fout' of type 'std::ofstream' (aka 'basic_ofstream<char>') can be declared 'const' |
| - | build/lib/build/mc_cppcheck.cpp:681:5 | variable 'exe' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | build/lib/build/mc_cppcheck.cpp:791:9 | variable 'msg' of type 'ErrorMessage' can be declared 'const' |
| - | build/lib/build/mc_cppcheck.cpp:928:9 | variable 'fixedpath' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | build/lib/build/mc_cppcheck.cpp:973:17 | variable 'tokenizer' of type 'Tokenizer' can be declared 'const' |
| - | build/lib/build/mc_cppcheck.cpp:1037:9 | variable 'directives' of type 'std::list<Directive>' can be declared 'const' |
| - | build/lib/build/mc_cppcheck.cpp:1189:21 | variable 'fixedpath' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | build/lib/build/mc_cppcheck.cpp:1241:17 | variable 'errmsg' of type 'ErrorMessage' can be declared 'const' |
| - | build/lib/build/mc_cppcheck.cpp:1255:13 | variable 'errmsg' of type 'ErrorMessage' can be declared 'const' |
| - | build/lib/build/mc_cppcheck.cpp:1307:5 | variable 'errmsg' of type 'ErrorMessage' can be declared 'const' |
| - | build/lib/build/mc_cppcheck.cpp:1341:21 | variable 'errmsg' of type 'ErrorMessage' can be declared 'const' |
| - | build/lib/build/mc_cppcheck.cpp:1551:17 | variable 'fileName' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | build/lib/build/mc_cppcheck.cpp:1558:21 | variable 'fileName' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | build/lib/build/mc_cppcheck.cpp:1567:17 | variable 'metric_json' of type 'picojson::object' (aka 'std::map<basic_string<char>, value>') can be declared 'const' |
| - | build/lib/build/mc_cppcheck.cpp:1660:5 | variable 'errmsg' of type 'ErrorMessage' can be declared 'const' |
| - | build/lib/build/mc_cppcheck.cpp:1680:5 | variable 'errmsg' of type 'ErrorMessage' can be declared 'const' |
| - | build/lib/build/mc_cppcheck.cpp:1725:5 | variable 'exe' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | build/lib/build/mc_cppcheck.cpp:1874:10 | pointee of variable 'fi' of type 'Check::FileInfo *' can be declared 'const' |
| - | build/lib/build/mc_ctu.cpp:280:9 | variable 'file' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | build/lib/build/mc_ctu.cpp:456:17 | variable 'isAddressOfArg' of type '(lambda at /__w/CTIT/CTIT/test_projects/cppcheck/lib/ctu.cpp:390:39)' can be declared 'const' |
| - | build/lib/build/mc_ctu.cpp:464:17 | variable 'isReferenceArg' of type '(lambda at /__w/CTIT/CTIT/test_projects/cppcheck/lib/ctu.cpp:398:39)' can be declared 'const' |
| - | build/lib/build/mc_findtoken.cpp:142:13 | variable 'r' of type 'value_type' (aka 'long long') can be declared 'const' |
| - | build/lib/build/mc_findtoken.cpp:190:13 | variable 'r' of type 'value_type' (aka 'long long') can be declared 'const' |
| - | build/lib/build/mc_forwardanalyzer.cpp:353:13 | variable 'result' of type 'std::vector<MathLib::bigint>' (aka 'std::vector<long long>') can be declared 'const' |
| - | build/lib/build/mc_forwardanalyzer.cpp:446:13 | variable 'action' of type 'Analyzer::Action' can be declared 'const' |
| - | build/lib/build/mc_forwardanalyzer.cpp:479:13 | variable 'action' of type 'Analyzer::Action' can be declared 'const' |
| - | build/lib/build/mc_forwardanalyzer.cpp:552:17 | variable 'action' of type 'Analyzer::Action' can be declared 'const' |
| - | build/lib/build/mc_forwardanalyzer.cpp:618:13 | variable 'a' of type 'Analyzer::Action' can be declared 'const' |
| - | build/lib/build/mc_forwardanalyzer.cpp:624:13 | variable 'a' of type 'Analyzer::Action' can be declared 'const' |
| - | build/lib/build/mc_forwardanalyzer.cpp:629:13 | variable 'a' of type 'Analyzer::Action' can be declared 'const' |
| - | build/lib/build/mc_forwardanalyzer.cpp:661:17 | variable 'exprToks' of type 'std::pair<const Token *, const Token *>' can be declared 'const' |
| - | build/lib/build/mc_forwardanalyzer.cpp:682:13 | variable 'oe' of type 'OnExit' can be declared 'const' |
| - | build/lib/build/mc_forwardanalyzer.cpp:717:13 | variable 'bodyAnalysis' of type 'Analyzer::Action' can be declared 'const' |
| - | build/lib/build/mc_fwdanalysis.cpp:478:13 | variable 'startEndTokens' of type 'std::pair<const Token *, const Token *>' can be declared 'const' |
| - | build/lib/build/mc_fwdanalysis.cpp:788:5 | variable 'exprVarIds' of type 'std::set<int>' can be declared 'const' |
| - | build/lib/build/mc_fwdanalysis.cpp:837:5 | variable 'result' of type 'Result' can be declared 'const' |
| - | build/lib/build/mc_fwdanalysis.cpp:850:5 | variable 'result' of type 'Result' can be declared 'const' |
| - | build/lib/build/mc_importproject.cpp:194:5 | variable 'matcher' of type 'PathMatch' can be declared 'const' |
| - | build/lib/build/mc_importproject.cpp:413:13 | variable 'error' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | build/lib/build/mc_importproject.cpp:801:29 | variable 'toInclude' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | build/lib/build/mc_importproject.cpp:844:29 | variable 'toAdd' of type 'SharedItemsProject' can be declared 'const' |
| - | build/lib/build/mc_importproject.cpp:873:5 | variable 'filtermatcher' of type 'PathMatch' can be declared 'const' |
| - | build/lib/build/mc_importproject.cpp:942:5 | variable 'isInCacheCheck' of type '(lambda at /__w/CTIT/CTIT/test_projects/cppcheck/lib/importproject.cpp:938:27)' can be declared 'const' |
| - | build/lib/build/mc_importproject.cpp:953:5 | variable 'filtermatcher' of type 'PathMatch' can be declared 'const' |
| - | build/lib/build/mc_importproject.cpp:987:13 | variable 'temp' of type 'ItemDefinitionGroup' can be declared 'const' |
| - | build/lib/build/mc_importproject.cpp:1316:5 | variable 'eos' of type 'std::istreambuf_iterator<char>' can be declared 'const' |
| - | build/lib/build/mc_importproject.cpp:1405:17 | variable 'it' of type 'iterator' (aka '__detail::_Node_iterator<std::basic_string<char>, __constant_iterators::value, __hash_cached::value>') can be declared 'const' |
| - | build/lib/build/mc_infer.cpp:208:13 | variable 'diff' of type 'Interval' can be declared 'const' |
| - | build/lib/build/mc_infer.cpp:296:5 | variable 'notMatch' of type '(lambda at /__w/CTIT/CTIT/test_projects/cppcheck/lib/infer.cpp:292:21)' can be declared 'const' |
| - | build/lib/build/mc_infer.cpp:306:5 | variable 'lhs' of type 'Interval' can be declared 'const' |
| - | build/lib/build/mc_infer.cpp:307:5 | variable 'rhs' of type 'Interval' can be declared 'const' |
| - | build/lib/build/mc_infer.cpp:312:13 | variable 'refs' of type 'std::vector<const ValueFlow::Value *>' can be declared 'const' |
| - | build/lib/build/mc_infer.cpp:335:13 | variable 'refs' of type 'std::vector<const ValueFlow::Value *>' can be declared 'const' |
| - | build/lib/build/mc_library.cpp:708:13 | variable 'result' of type 'std::pair<iterator, bool>' (aka 'std::pair<_Rb_tree_const_iterator<std::basic_string<char>>, bool>') can be declared 'const' |
| - | build/lib/build/mc_library.cpp:881:29 | variable 'actionName' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | build/lib/build/mc_library.cpp:890:29 | variable 'yieldName' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | build/lib/build/mc_library.cpp:926:25 | variable 'unstableType' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | build/lib/build/mc_library.cpp:1314:17 | variable 'actionName' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | build/lib/build/mc_library.cpp:1324:17 | variable 'yieldName' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | build/lib/build/mc_library.cpp:1840:5 | variable 'it' of type 'std::_Rb_tree_const_iterator<std::pair<const int, Library::ArgumentChecks>>' can be declared 'const' |
| - | build/lib/build/mc_library.cpp:2201:5 | variable 'it' of type 'iterator' (aka '__detail::_Node_iterator<std::pair<const std::basic_string<char>, Library::SmartPointer>, __constant_iterators::value, __hash_cached::value>') can be declared 'const' |
| - | build/lib/build/mc_library.cpp:2229:5 | variable 'it' of type 'iterator' (aka '_Rb_tree_iterator<std::pair<const std::pair<std::basic_string<char>, std::basic_string<char>>, Library::TypeCheck>>') can be declared 'const' |
| - | build/lib/build/mc_mathlib.cpp:485:5 | variable 'digitval' of type '(lambda at /__w/CTIT/CTIT/test_projects/cppcheck/lib/mathlib.cpp:481:21)' can be declared 'const' |
| - | build/lib/build/mc_path.cpp:228:5 | variable 'l' of type 'Standards::Language' can be declared 'const' |
| - | build/lib/build/mc_path.cpp:247:5 | variable 'buf' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | build/lib/build/mc_path.cpp:389:5 | variable 'spath' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | build/lib/build/mc_pathanalysis.cpp:287:5 | variable 'info' of type 'PathAnalysis::Info' can be declared 'const' |
| - | build/lib/build/mc_pathmatch.cpp:56:5 | variable 'dir_mismatch' of type 'bool' can be declared 'const' |
| - | build/lib/build/mc_pathmatch.cpp:63:5 | variable 'real' of type 'bool' can be declared 'const' |
| - | build/lib/build/mc_pathmatch.cpp:77:5 | variable 'p' of type 'PathIterator' can be declared 'const' |
| - | build/lib/build/mc_preprocessor.cpp:207:5 | variable 'polyspaceParser' of type 'polyspace::Parser' can be declared 'const' |
| - | build/lib/build/mc_preprocessor.cpp:502:5 | variable 'configs2' of type 'std::set<std::string>' (aka 'std::set<basic_string<char>>') can be declared 'const' |
| - | build/lib/build/mc_preprocessor.cpp:886:5 | variable 'tokens2' of type 'simplecpp::TokenList' can be declared 'const' |
| - | build/lib/build/mc_preprocessor.cpp:1013:5 | variable 'errmsg' of type 'ErrorMessage' can be declared 'const' |
| - | build/lib/build/mc_programmemory.cpp:467:13 | variable 'it' of type 'iterator' (aka '__detail::_Node_iterator<std::pair<const ExprIdToken, ValueFlow::Value>, __constant_iterators::value, __hash_cached::value>') can be declared 'const' |
| - | build/lib/build/mc_programmemory.cpp:571:5 | variable 'eval' of type '(lambda at /__w/CTIT/CTIT/test_projects/cppcheck/lib/programmemory.cpp:342:17)' can be declared 'const' |
| - | build/lib/build/mc_programmemory.cpp:610:9 | variable 'lhs' of type 'std::vector<MathLib::bigint>' (aka 'std::vector<long long>') can be declared 'const' |
| - | build/lib/build/mc_programmemory.cpp:611:9 | variable 'rhs' of type 'std::vector<MathLib::bigint>' (aka 'std::vector<long long>') can be declared 'const' |
| - | build/lib/build/mc_programmemory.cpp:802:9 | variable 'result' of type 'ValueFlow::Value' can be declared 'const' |
| - | build/lib/build/mc_programmemory.cpp:1497:5 | variable 'it' of type 'const_iterator' (aka '__detail::_Node_const_iterator<std::pair<const std::basic_string<char>, std::function<ValueFlow::Value (const std::vector<ValueFlow::Value, std::allocator<ValueFlow::Value>> &)>>, __constant_iterators::value, __hash_cached::value>') can be declared 'const' |
| - | build/lib/build/mc_programmemory.cpp:1538:9 | variable 'it' of type 'const_iterator' (aka '__detail::_Node_const_iterator<std::pair<const int, ValueFlow::Value>, __constant_iterators::value, __hash_cached::value>') can be declared 'const' |
| - | build/lib/build/mc_programmemory.cpp:1618:20 | variable 'n' of type 'int' can be declared 'const' |
| - | build/lib/build/mc_programmemory.cpp:1624:13 | variable 'condValues' of type 'std::unordered_map<int, ValueFlow::Value>' can be declared 'const' |
| - | build/lib/build/mc_programmemory.cpp:1667:25 | variable 'it' of type '__gnu_cxx::__normal_iterator<const Token **, std::vector<const Token *>>' can be declared 'const' |
| - | build/lib/build/mc_programmemory.cpp:1698:17 | variable 'i' of type 'MathLib::bigint' (aka 'long long') can be declared 'const' |
| - | build/lib/build/mc_programmemory.cpp:1716:21 | variable 'v' of type 'ValueFlow::Value' can be declared 'const' |
| - | build/lib/build/mc_programmemory.cpp:1770:21 | variable 'tokvalue_it' of type 'std::_List_const_iterator<ValueFlow::Value>' can be declared 'const' |
| - | build/lib/build/mc_programmemory.cpp:1782:17 | variable 'rhs' of type 'ValueFlow::Value' can be declared 'const' |
| - | build/lib/build/mc_programmemory.cpp:1839:17 | variable 'cond' of type 'ValueFlow::Value' can be declared 'const' |
| - | build/lib/build/mc_programmemory.cpp:1871:21 | variable 'tokArgs' of type 'std::vector<const Token *>' can be declared 'const' |
| - | build/lib/build/mc_programmemory.cpp:1895:25 | variable 'lf' of type 'BuiltinLibraryFunction' (aka 'std::function<ValueFlow::Value (const std::vector<ValueFlow::Value> &)>') can be declared 'const' |
| - | build/lib/build/mc_programmemory.cpp:1942:13 | variable 'it' of type '__gnu_cxx::__normal_iterator<const ValueFlow::Value **, std::vector<const ValueFlow::Value *>>' can be declared 'const' |
| - | build/lib/build/mc_programmemory.cpp:1962:13 | variable 'onExit' of type 'OnExit' can be declared 'const' |
| - | build/lib/build/mc_programmemory.cpp:2019:21 | variable 'v' of type 'ValueFlow::Value' can be declared 'const' |
| - | build/lib/build/mc_programmemory.cpp:2067:5 | variable 'tokenList' of type 'std::shared_ptr<TokenList>' can be declared 'const' |
| - | build/lib/build/mc_programmemory.cpp:2120:9 | variable 'expr' of type 'std::shared_ptr<Token>' can be declared 'const' |
| - | build/lib/build/mc_programmemory.cpp:2128:17 | variable 'it' of type 'const_iterator' (aka '__detail::_Node_const_iterator<std::pair<const int, const Token *>, __constant_iterators::value, __hash_cached::value>') can be declared 'const' |
| - | build/lib/build/mc_programmemory.cpp:2144:5 | variable 'v' of type 'ValueFlow::Value' can be declared 'const' |
| - | build/lib/build/mc_reverseanalyzer.cpp:95:5 | pointee of variable 'tok' of type 'Token *' can be declared 'const' |
| - | build/lib/build/mc_reverseanalyzer.cpp:175:13 | variable 'result' of type 'std::vector<MathLib::bigint>' (aka 'std::vector<long long>') can be declared 'const' |
| - | build/lib/build/mc_reverseanalyzer.cpp:187:13 | variable 'action' of type 'Analyzer::Action' can be declared 'const' |
| - | build/lib/build/mc_reverseanalyzer.cpp:276:17 | variable 'action' of type 'Analyzer::Action' can be declared 'const' |
| - | build/lib/build/mc_reverseanalyzer.cpp:372:25 | variable 'rhsAction' of type 'Analyzer::Action' can be declared 'const' |
| - | build/lib/build/mc_reverseanalyzer.cpp:374:25 | variable 'lhsAction' of type 'Analyzer::Action' can be declared 'const' |
| - | build/lib/build/mc_reverseanalyzer.cpp:379:29 | variable 'a' of type 'ValuePtr<Analyzer>' can be declared 'const' |
| - | build/lib/build/mc_reverseanalyzer.cpp:393:29 | variable 'a' of type 'ValuePtr<Analyzer>' can be declared 'const' |
| - | build/lib/build/mc_reverseanalyzer.cpp:426:21 | variable 'condAction' of type 'Analyzer::Action' can be declared 'const' |
| - | build/lib/build/mc_reverseanalyzer.cpp:444:21 | variable 'thenAction' of type 'Analyzer::Action' can be declared 'const' |
| - | build/lib/build/mc_reverseanalyzer.cpp:476:25 | variable 'action' of type 'Analyzer::Action' can be declared 'const' |
| - | build/lib/build/mc_reverseanalyzer.cpp:482:25 | variable 'r' of type 'Analyzer::Result' can be declared 'const' |
| - | build/lib/build/mc_sarifreport.cpp:177:5 | variable 'runs' of type 'picojson::array' (aka 'std::vector<value>') can be declared 'const' |
| - | build/lib/build/mc_settings.cpp:288:5 | variable 'errmsg' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | build/lib/build/mc_summaries.cpp:107:9 | variable 'join' of type '(lambda at /__w/CTIT/CTIT/test_projects/cppcheck/lib/summaries.cpp:64:21)' can be declared 'const' |
| - | build/lib/build/mc_summaries.cpp:188:5 | variable 'calledBy' of type 'std::vector<std::string>' (aka 'std::vector<basic_string<char>>') can be declared 'const' |
| - | build/lib/build/mc_summaries.cpp:210:5 | variable 'summaryFiles' of type 'std::vector<std::string>' (aka 'std::vector<basic_string<char>>') can be declared 'const' |
| - | build/lib/build/mc_summaries.cpp:220:13 | variable 'functionName' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | build/lib/build/mc_suppressions.cpp:276:5 | variable 'lg' of type 'std::lock_guard<std::mutex>' can be declared 'const' |
| - | build/lib/build/mc_suppressions.cpp:279:5 | variable 'foundSuppression' of type 'std::_List_iterator<SuppressionList::Suppression>' can be declared 'const' |
| - | build/lib/build/mc_suppressions.cpp:320:5 | variable 'lg' of type 'std::lock_guard<std::mutex>' can be declared 'const' |
| - | build/lib/build/mc_suppressions.cpp:323:5 | variable 'foundSuppression' of type 'std::_List_iterator<SuppressionList::Suppression>' can be declared 'const' |
| - | build/lib/build/mc_suppressions.cpp:463:5 | variable 'lg' of type 'std::lock_guard<std::mutex>' can be declared 'const' |
| - | build/lib/build/mc_suppressions.cpp:480:5 | variable 'lg' of type 'std::lock_guard<std::mutex>' can be declared 'const' |
| - | build/lib/build/mc_suppressions.cpp:496:9 | variable 'lg' of type 'std::lock_guard<std::mutex>' can be declared 'const' |
| - | build/lib/build/mc_suppressions.cpp:506:5 | variable 'lg' of type 'std::lock_guard<std::mutex>' can be declared 'const' |
| - | build/lib/build/mc_suppressions.cpp:549:5 | variable 'lg' of type 'std::lock_guard<std::mutex>' can be declared 'const' |
| - | build/lib/build/mc_suppressions.cpp:574:5 | variable 'lg' of type 'std::lock_guard<std::mutex>' can be declared 'const' |
| - | build/lib/build/mc_suppressions.cpp:615:5 | variable 'lg' of type 'std::lock_guard<std::mutex>' can be declared 'const' |
| - | build/lib/build/mc_suppressions.cpp:621:5 | variable 'lg' of type 'std::lock_guard<std::mutex>' can be declared 'const' |
| - | build/lib/build/mc_suppressions.cpp:820:5 | variable 'endpos' of type 'std::string::size_type' (aka 'unsigned long') can be declared 'const' |
| - | build/lib/build/mc_suppressions.cpp:825:9 | variable 'ret' of type 'int' can be declared 'const' |
| - | build/lib/build/mc_symboldatabase.cpp:648:5 | pointee of variable 'tok' of type 'Token *' can be declared 'const' |
| - | build/lib/build/mc_symboldatabase.cpp:2812:5 | variable 'inInitList' of type '(lambda at /__w/CTIT/CTIT/test_projects/cppcheck/lib/symboldatabase.cpp:156:23)' can be declared 'const' |
| - | build/lib/build/mc_symboldatabase.cpp:2820:5 | variable 'addLambda' of type '(lambda at /__w/CTIT/CTIT/test_projects/cppcheck/lib/symboldatabase.cpp:164:22)' can be declared 'const' |
| - | build/lib/build/mc_symboldatabase.cpp:2842:13 | variable 'it' of type '__gnu_cxx::__normal_iterator<Scope *const *, std::vector<Scope *>>' can be declared 'const' |
| - | build/lib/build/mc_symboldatabase.cpp:2852:9 | variable 'it' of type 'iterator' (aka '_Rb_tree_iterator<std::pair<Scope *const, std::set<std::basic_string<char>, std::less<std::basic_string<char>>, std::allocator<std::basic_string<char>>>>>') can be declared 'const' |
| - | build/lib/build/mc_symboldatabase.cpp:3380:21 | variable 'range' of type 'std::pair<iterator, iterator>' (aka 'std::pair<_Rb_tree_iterator<std::pair<const std::basic_string<char>, const Function *>>, _Rb_tree_iterator<std::pair<const std::basic_string<char>, const Function *>>>') can be declared 'const' |
| - | build/lib/build/mc_symboldatabase.cpp:3464:29 | variable 'range' of type 'std::pair<iterator, iterator>' (aka 'std::pair<_Rb_tree_iterator<std::pair<const std::basic_string<char>, const Function *>>, _Rb_tree_iterator<std::pair<const std::basic_string<char>, const Function *>>>') can be declared 'const' |
| - | build/lib/build/mc_symboldatabase.cpp:3788:5 | variable 'setScopePointers' of type '(lambda at /__w/CTIT/CTIT/test_projects/cppcheck/lib/symboldatabase.cpp:1132:29)' can be declared 'const' |
| - | build/lib/build/mc_symboldatabase.cpp:3797:22 | pointee of variable 'innerScope' of type 'Scope *' can be declared 'const' |
| - | build/lib/build/mc_symboldatabase.cpp:3967:5 | variable 'setMemberVar' of type '(lambda at /__w/CTIT/CTIT/test_projects/cppcheck/lib/symboldatabase.cpp:1311:25)' can be declared 'const' |
| - | build/lib/build/mc_symboldatabase.cpp:4079:13 | variable 'it' of type 'const_iterator' (aka '_Rb_tree_const_iterator<std::pair<const std::basic_string<char>, Library::Container::Function>>') can be declared 'const' |
| - | build/lib/build/mc_symboldatabase.cpp:4260:5 | variable 'result' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | build/lib/build/mc_symboldatabase.cpp:4821:13 | variable 'it' of type 'std::_List_const_iterator<Function>' can be declared 'const' |
| - | build/lib/build/mc_symboldatabase.cpp:5706:5 | variable 'skipTopLevelConst' of type '(lambda at /__w/CTIT/CTIT/test_projects/cppcheck/lib/symboldatabase.cpp:3050:30)' can be declared 'const' |
| - | build/lib/build/mc_symboldatabase.cpp:6108:9 | variable 'range' of type 'std::pair<iterator, iterator>' (aka 'std::pair<_Rb_tree_iterator<std::pair<const std::basic_string<char>, const Function *>>, _Rb_tree_iterator<std::pair<const std::basic_string<char>, const Function *>>>') can be declared 'const' |
| - | build/lib/build/mc_symboldatabase.cpp:6268:13 | variable 'range' of type 'std::pair<iterator, iterator>' (aka 'std::pair<_Rb_tree_iterator<std::pair<const std::basic_string<char>, const Function *>>, _Rb_tree_iterator<std::pair<const std::basic_string<char>, const Function *>>>') can be declared 'const' |
| - | build/lib/build/mc_symboldatabase.cpp:7541:9 | variable 'range' of type 'std::pair<const_iterator, const_iterator>' (aka 'std::pair<_Rb_tree_const_iterator<std::pair<const std::basic_string<char>, const Function *>>, _Rb_tree_const_iterator<std::pair<const std::basic_string<char>, const Function *>>>') can be declared 'const' |
| - | build/lib/build/mc_symboldatabase.cpp:7579:13 | variable 'it' of type 'std::_List_const_iterator<Function>' can be declared 'const' |
| - | build/lib/build/mc_symboldatabase.cpp:7906:5 | variable 'it' of type 'std::_List_const_iterator<Variable>' can be declared 'const' |
| - | build/lib/build/mc_symboldatabase.cpp:8468:17 | variable 'range' of type 'std::pair<const_iterator, const_iterator>' (aka 'std::pair<_Rb_tree_const_iterator<std::pair<const std::basic_string<char>, const Function *>>, _Rb_tree_const_iterator<std::pair<const std::basic_string<char>, const Function *>>>') can be declared 'const' |
| - | build/lib/build/mc_symboldatabase.cpp:8519:17 | variable 'baseScopes' of type 'std::vector<const Scope *>' can be declared 'const' |
| - | build/lib/build/mc_symboldatabase.cpp:8629:5 | variable 'addMatchingFunctions' of type '(lambda at /__w/CTIT/CTIT/test_projects/cppcheck/lib/symboldatabase.cpp:5973:33)' can be declared 'const' |
| - | build/lib/build/mc_symboldatabase.cpp:8630:9 | variable 'range' of type 'std::pair<const_iterator, const_iterator>' (aka 'std::pair<_Rb_tree_const_iterator<std::pair<const std::basic_string<char>, const Function *>>, _Rb_tree_const_iterator<std::pair<const std::basic_string<char>, const Function *>>>') can be declared 'const' |
| - | build/lib/build/mc_symboldatabase.cpp:8729:21 | variable 'parseDecl' of type '(lambda at /__w/CTIT/CTIT/test_projects/cppcheck/lib/symboldatabase.cpp:6073:38)' can be declared 'const' |
| - | build/lib/build/mc_symboldatabase.cpp:8863:5 | variable 'fb_pred' of type '(lambda at /__w/CTIT/CTIT/test_projects/cppcheck/lib/symboldatabase.cpp:6207:20)' can be declared 'const' |
| - | build/lib/build/mc_symboldatabase.cpp:9019:13 | variable 'vt' of type 'ValueType' can be declared 'const' |
| - | build/lib/build/mc_symboldatabase.cpp:9033:17 | variable 'vt' of type 'ValueType' can be declared 'const' |
| - | build/lib/build/mc_symboldatabase.cpp:9063:9 | variable 'vt' of type 'ValueType' can be declared 'const' |
| - | build/lib/build/mc_symboldatabase.cpp:9075:5 | variable 'it' of type 'std::_List_const_iterator<Scope>' can be declared 'const' |
| - | build/lib/build/mc_symboldatabase.cpp:9105:5 | pointee of variable 'nested_type' of type 'Type *' can be declared 'const' |
| - | build/lib/build/mc_symboldatabase.cpp:9171:5 | variable 'it' of type '__gnu_cxx::__normal_iterator<Scope *const *, std::vector<Scope *>>' can be declared 'const' |
| - | build/lib/build/mc_symboldatabase.cpp:9189:5 | variable 'it' of type 'std::_List_const_iterator<Function>' can be declared 'const' |
| - | build/lib/build/mc_symboldatabase.cpp:9398:5 | variable 'range' of type 'std::pair<const_iterator, const_iterator>' (aka 'std::pair<_Rb_tree_const_iterator<std::pair<const std::basic_string<char>, const Function *>>, _Rb_tree_const_iterator<std::pair<const std::basic_string<char>, const Function *>>>') can be declared 'const' |
| - | build/lib/build/mc_symboldatabase.cpp:9763:13 | variable 'it' of type 'std::_List_const_iterator<Variable>' can be declared 'const' |
| - | build/lib/build/mc_symboldatabase.cpp:10178:20 | variable 'type_s' of type 'ValueType::Type' can be declared 'const' |
| - | build/lib/build/mc_symboldatabase.cpp:10317:9 | variable 'it' of type 'const_iterator' (aka '_Rb_tree_const_iterator<std::pair<const std::basic_string<char>, const Function *>>') can be declared 'const' |
| - | build/lib/build/mc_symboldatabase.cpp:10324:9 | variable 'it' of type 'const_iterator' (aka '_Rb_tree_const_iterator<std::pair<const std::basic_string<char>, const Function *>>') can be declared 'const' |
| - | build/lib/build/mc_symboldatabase.cpp:10575:17 | variable 'vt' of type 'ValueType' can be declared 'const' |
| - | build/lib/build/mc_symboldatabase.cpp:10741:17 | variable 'vt' of type 'ValueType' can be declared 'const' |
| - | build/lib/build/mc_symboldatabase.cpp:11145:9 | variable 'align' of type 'size_t' (aka 'unsigned long') can be declared 'const' |
| - | build/lib/build/mc_symboldatabase.cpp:11150:13 | variable 'a' of type 'size_t' (aka 'unsigned long') can be declared 'const' |
| - | build/lib/build/mc_symboldatabase.cpp:11153:9 | variable 'result' of type 'Result' can be declared 'const' |
| - | build/lib/build/mc_symboldatabase.cpp:11204:13 | variable 'a' of type 'size_t' (aka 'unsigned long') can be declared 'const' |
| - | build/lib/build/mc_symboldatabase.cpp:11232:13 | variable 'padding' of type 'size_t' (aka 'unsigned long') can be declared 'const' |
| - | build/lib/build/mc_symboldatabase.cpp:11234:17 | variable 'fitsInBitfield' of type 'bool' can be declared 'const' |
| - | build/lib/build/mc_symboldatabase.cpp:11235:17 | variable 'isAligned' of type 'bool' can be declared 'const' |
| - | build/lib/build/mc_symboldatabase.cpp:11246:9 | variable 'result' of type 'Result' can be declared 'const' |
| - | build/lib/build/mc_symboldatabase.cpp:11260:9 | variable 'align' of type 'size_t' (aka 'unsigned long') can be declared 'const' |
| - | build/lib/build/mc_symboldatabase.cpp:11273:5 | variable 'tie' of type '(lambda at /__w/CTIT/CTIT/test_projects/cppcheck/lib/symboldatabase.cpp:8617:16)' can be declared 'const' |
| - | build/lib/build/mc_symboldatabase.cpp:11349:5 | variable 'file' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | build/lib/build/mc_templatesimplifier.cpp:181:5 | pointee of variable 'tok' of type 'Token *' can be declared 'const' |
| - | build/lib/build/mc_templatesimplifier.cpp:2658:21 | variable 'decl' of type 'TokenAndName' can be declared 'const' |
| - | build/lib/build/mc_templatesimplifier.cpp:2681:5 | variable 'instantiation' of type 'TokenAndName' can be declared 'const' |
| - | build/lib/build/mc_templatesimplifier.cpp:2842:17 | variable 'range' of type 'std::pair<iterator, iterator>' (aka 'std::pair<_Rb_tree_iterator<std::pair<const std::basic_string<char>, const TemplateSimplifier::TokenAndName *>>, _Rb_tree_iterator<std::pair<const std::basic_string<char>, const TemplateSimplifier::TokenAndName *>>>') can be declared 'const' |
| - | build/lib/build/mc_templatesimplifier.cpp:2900:33 | variable 'num' of type 'MathLib::value' can be declared 'const' |
| - | build/lib/build/mc_templatesimplifier.cpp:2912:37 | variable 'suffix' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | build/lib/build/mc_templatesimplifier.cpp:2972:25 | variable 'fullNameSpace' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | build/lib/build/mc_templatesimplifier.cpp:3173:21 | variable 'entry' of type 'iterator' (aka '_Rb_tree_iterator<std::pair<const std::basic_string<char>, unsigned int>>') can be declared 'const' |
| - | build/lib/build/mc_templatesimplifier.cpp:3383:5 | variable 'n' of type 'unsigned int' can be declared 'const' |
| - | build/lib/build/mc_templatesimplifier.cpp:3496:5 | variable 'it' of type 'iterator' (aka '__detail::_Node_iterator<std::pair<const Token *const, int>, __constant_iterators::value, __hash_cached::value>') can be declared 'const' |
| - | build/lib/build/mc_templatesimplifier.cpp:3533:9 | variable 'token' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | build/lib/build/mc_templatesimplifier.cpp:3560:5 | variable 'token' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | build/lib/build/mc_templatesimplifier.cpp:3639:9 | variable 'it' of type 'iterator' (aka '_Rb_tree_iterator<std::pair<Token *const, Token *>>') can be declared 'const' |
| - | build/lib/build/mc_templatesimplifier.cpp:3656:13 | variable 'it2' of type 'iterator' (aka '_Rb_tree_iterator<std::pair<Token *const, Token *>>') can be declared 'const' |
| - | build/lib/build/mc_templatesimplifier.cpp:4204:17 | pointee of variable 'tok2' of type 'Token *' can be declared 'const' |
| - | build/lib/build/mc_templatesimplifier.cpp:4740:17 | variable 'suffix' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | build/lib/build/mc_templatesimplifier.cpp:5195:17 | variable 'errmsg' of type 'ErrorMessage' can be declared 'const' |
| - | build/lib/build/mc_templatesimplifier.cpp:5233:9 | variable 'typeForNewName' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | build/lib/build/mc_templatesimplifier.cpp:5238:17 | variable 'callstack' of type 'std::list<const Token *>' can be declared 'const' |
| - | build/lib/build/mc_templatesimplifier.cpp:5271:17 | variable 'errmsg' of type 'ErrorMessage' can be declared 'const' |
| - | build/lib/build/mc_templatesimplifier.cpp:5311:9 | variable 'typeForNewName' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | build/lib/build/mc_templatesimplifier.cpp:5315:17 | variable 'callstack' of type 'std::list<const Token *>' can be declared 'const' |
| - | build/lib/build/mc_templatesimplifier.cpp:5390:9 | pointee of variable 'pointers' of type 'std::set<TemplateSimplifier::TokenAndName *> *' can be declared 'const' |
| - | build/lib/build/mc_templatesimplifier.cpp:5845:13 | variable 'title' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | build/lib/build/mc_templatesimplifier.cpp:5948:13 | variable 'decl' of type 'std::_List_iterator<TemplateSimplifier::TokenAndName>' can be declared 'const' |
| - | build/lib/build/mc_templatesimplifier.cpp:5959:21 | variable 'it1' of type 'iterator' (aka '_Rb_tree_iterator<std::pair<Token *const, Token *>>') can be declared 'const' |
| - | build/lib/build/mc_timer.cpp:48:9 | variable 'l' of type 'std::lock_guard<std::mutex>' can be declared 'const' |
| - | build/lib/build/mc_timer.cpp:56:5 | variable 'l' of type 'std::lock_guard<std::mutex>' can be declared 'const' |
| - | build/lib/build/mc_timer.cpp:73:5 | variable 'l' of type 'std::lock_guard<std::mutex>' can be declared 'const' |
| - | build/lib/build/mc_timer.cpp:81:5 | variable 'l' of type 'std::lock_guard<std::mutex>' can be declared 'const' |
| - | build/lib/build/mc_timer.cpp:111:9 | variable 'diff' of type '__enable_if_is_duration<std::chrono::duration<long, std::ratio<1, 1000>>>' (aka 'std::chrono::duration<long, std::ratio<1, 1000>>') can be declared 'const' |
| - | build/lib/build/mc_timer.cpp:113:13 | variable 'l' of type 'std::lock_guard<std::mutex>' can be declared 'const' |
| - | build/lib/build/mc_timer.cpp:125:5 | variable 'hours' of type '__enable_if_is_duration<std::chrono::duration<long, std::ratio<3600, 1>>>' (aka 'std::chrono::duration<long, std::ratio<3600>>') can be declared 'const' |
| - | build/lib/build/mc_timer.cpp:129:5 | variable 'minutes' of type '__enable_if_is_duration<std::chrono::duration<long, std::ratio<60, 1>>>' (aka 'std::chrono::duration<long, std::ratio<60>>') can be declared 'const' |
| - | build/lib/build/mc_timer.cpp:133:5 | variable 'seconds' of type 'std::chrono::duration<double>' can be declared 'const' |
| - | build/lib/build/mc_timer.cpp:141:5 | variable 'pos' of type 'size_type' (aka 'unsigned long') can be declared 'const' |
| - | build/lib/build/mc_token.cpp:2473:17 | variable 'compare' of type '(lambda at /__w/CTIT/CTIT/test_projects/cppcheck/lib/token.cpp:2066:32)' can be declared 'const' |
| - | build/lib/build/mc_token.cpp:2476:17 | variable 'itMax' of type 'std::_List_iterator<ValueFlow::Value>' can be declared 'const' |
| - | build/lib/build/mc_token.cpp:2477:17 | variable 'itMin' of type 'std::_List_iterator<ValueFlow::Value>' can be declared 'const' |
| - | build/lib/build/mc_token.cpp:2919:5 | variable 'r' of type 'std::pair<const Token *, const Token *>' can be declared 'const' |
| - | build/lib/build/mc_token.cpp:2982:5 | variable 'it' of type 'std::_List_iterator<ValueFlow::Value>' can be declared 'const' |
| - | build/lib/build/mc_token.cpp:3068:9 | pointee of variable 'c' of type 'CppcheckAttributes *' can be declared 'const' |
| - | build/lib/build/mc_tokenize.cpp:384:5 | pointee of variable 'tok' of type 'Token *' can be declared 'const' |
| - | build/lib/build/mc_tokenize.cpp:3039:5 | pointee of variable 'tok' of type 'Token *' can be declared 'const' |
| - | build/lib/build/mc_tokenize.cpp:3778:5 | pointee of variable 'tok' of type 'Token *' can be declared 'const' |
| - | build/lib/build/mc_tokenize.cpp:5212:5 | pointee of variable 'tok' of type 'Token *' can be declared 'const' |
| - | build/lib/build/mc_tokenize.cpp:6838:5 | pointee of variable 'tok' of type 'Token *' can be declared 'const' |
| - | build/lib/build/mc_tokenize.cpp:6864:5 | pointee of variable 'tok' of type 'Token *' can be declared 'const' |
| - | build/lib/build/mc_tokenize.cpp:6875:5 | pointee of variable 'tok' of type 'Token *' can be declared 'const' |
| - | build/lib/build/mc_tokenize.cpp:6886:5 | pointee of variable 'tok' of type 'Token *' can be declared 'const' |
| - | build/lib/build/mc_tokenize.cpp:6897:5 | pointee of variable 'tok' of type 'Token *' can be declared 'const' |
| - | build/lib/build/mc_tokenize.cpp:6908:5 | pointee of variable 'tok' of type 'Token *' can be declared 'const' |
| - | build/lib/build/mc_tokenize.cpp:6955:5 | pointee of variable 'tok' of type 'Token *' can be declared 'const' |
| - | build/lib/build/mc_tokenize.cpp:7836:5 | pointee of variable 'tok' of type 'Token *' can be declared 'const' |
| - | build/lib/build/mc_tokenize.cpp:8893:13 | variable 'ts' of type 'TypedefSimplifier' can be declared 'const' |
| - | build/lib/build/mc_tokenize.cpp:8918:13 | variable 'ts' of type 'TypedefSimplifier' can be declared 'const' |
| - | build/lib/build/mc_tokenize.cpp:9037:17 | variable 'errmsg' of type 'ErrorMessage' can be declared 'const' |
| - | build/lib/build/mc_tokenize.cpp:9115:9 | pointee of variable 'argStart' of type 'Token *' can be declared 'const' |
| - | build/lib/build/mc_tokenize.cpp:9124:9 | pointee of variable 'funcStart' of type 'Token *' can be declared 'const' |
| - | build/lib/build/mc_tokenize.cpp:9136:9 | pointee of variable 'namespaceEnd' of type 'Token *' can be declared 'const' |
| - | build/lib/build/mc_tokenize.cpp:9877:21 | pointee of variable 'start' of type 'Token *' can be declared 'const' |
| - | build/lib/build/mc_tokenize.cpp:10273:13 | pointee of variable 'scope' of type 'ScopeInfo3 *' can be declared 'const' |
| - | build/lib/build/mc_tokenize.cpp:10319:17 | variable 'it' of type 'std::_List_const_iterator<(anonymous namespace)::ScopeInfo3>' can be declared 'const' |
| - | build/lib/build/mc_tokenize.cpp:10844:9 | variable 'scope' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | build/lib/build/mc_tokenize.cpp:10964:9 | pointee of variable 'enumOpenBrace' of type 'Token *' can be declared 'const' |
| - | build/lib/build/mc_tokenize.cpp:11330:9 | variable 'callstack' of type 'std::list<const Token *>' can be declared 'const' |
| - | build/lib/build/mc_tokenize.cpp:11344:9 | variable 't' of type 'Timer' can be declared 'const' |
| - | build/lib/build/mc_tokenize.cpp:11559:13 | variable 'prefix' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | build/lib/build/mc_tokenize.cpp:11741:5 | variable 'getStrTok' of type '(lambda at /__w/CTIT/CTIT/test_projects/cppcheck/lib/tokenize.cpp:3886:22)' can be declared 'const' |
| - | build/lib/build/mc_tokenize.cpp:11846:13 | variable 'dimensions' of type 'std::vector<Dimension>' can be declared 'const' |
| - | build/lib/build/mc_tokenize.cpp:12178:13 | variable 'isC23' of type 'bool' can be declared 'const' |
| - | build/lib/build/mc_tokenize.cpp:14181:21 | variable 'id' of type 'int' can be declared 'const' |
| - | build/lib/build/mc_tokenize.cpp:15728:13 | variable 'isNamespace' of type 'bool' can be declared 'const' |
| - | build/lib/build/mc_tokenize.cpp:16088:9 | variable 'p' of type 'const_iterator' (aka '__detail::_Node_const_iterator<std::pair<const std::basic_string<char>, std::basic_string<char>>, __constant_iterators::value, __hash_cached::value>') can be declared 'const' |
| - | build/lib/build/mc_tokenize.cpp:17207:17 | variable 'isFuncDecl' of type 'bool' can be declared 'const' |
| - | build/lib/build/mc_tokenize.cpp:17704:13 | variable 'getTypeTokens' of type '(lambda at /__w/CTIT/CTIT/test_projects/cppcheck/lib/tokenize.cpp:9849:34)' can be declared 'const' |
| - | build/lib/build/mc_tokenize.cpp:17812:9 | variable 'it' of type 'const_iterator' (aka '__detail::_Node_const_iterator<std::pair<const std::basic_string<char>, TokenDebug>, __constant_iterators::value, __hash_cached::value>') can be declared 'const' |
| - | build/lib/build/mc_tokenize.cpp:19020:5 | variable 'tokenizer' of type 'Tokenizer' can be declared 'const' |
| - | build/lib/build/mc_tokenlist.cpp:784:5 | pointee of variable 'tok' of type 'Token *' can be declared 'const' |
| - | build/lib/build/mc_tokenlist.cpp:1416:5 | pointee of variable 'tok' of type 'Token *' can be declared 'const' |
| - | build/lib/build/mc_tokenlist.cpp:2064:5 | variable 'it' of type '__gnu_cxx::__normal_iterator<const std::basic_string<char> *, std::vector<std::basic_string<char>>>' can be declared 'const' |
| - | build/lib/build/mc_tokenlist.cpp:2397:5 | variable 'isDecltypeFuncParam' of type '(lambda at /__w/CTIT/CTIT/test_projects/cppcheck/lib/tokenlist.cpp:432:32)' can be declared 'const' |
| - | build/lib/build/mc_tokenlist.cpp:2561:5 | variable 'isCaseStmt' of type '(lambda at /__w/CTIT/CTIT/test_projects/cppcheck/lib/tokenlist.cpp:596:23)' can be declared 'const' |
| - | build/lib/build/mc_tokenlist.cpp:2911:5 | variable 'doCompileScope' of type '(lambda at /__w/CTIT/CTIT/test_projects/cppcheck/lib/tokenlist.cpp:946:27)' can be declared 'const' |
| - | build/lib/build/mc_tokenlist.cpp:3867:5 | variable 'oe' of type 'OnException' can be declared 'const' |
| - | build/lib/build/mc_tokenlist.cpp:4139:5 | variable 'isVarDeclC' of type '(lambda at /__w/CTIT/CTIT/test_projects/cppcheck/lib/tokenlist.cpp:2174:23)' can be declared 'const' |
| - | build/lib/build/mc_valueflow.cpp:1090:5 | pointee of variable 'tok' of type 'Token *' can be declared 'const' |
| - | build/lib/build/mc_valueflow.cpp:1185:5 | pointee of variable 'tok' of type 'Token *' can be declared 'const' |
| - | build/lib/build/mc_valueflow.cpp:1596:5 | variable 'errmsg' of type 'ErrorMessage' can be declared 'const' |
| - | build/lib/build/mc_valueflow.cpp:1801:9 | variable 'v' of type 'std::vector<MathLib::bigint>' (aka 'std::vector<long long>') can be declared 'const' |
| - | build/lib/build/mc_valueflow.cpp:1941:21 | variable 't' of type 'std::pair<const Token *, const Token *>' can be declared 'const' |
| - | build/lib/build/mc_valueflow.cpp:1951:17 | variable 't' of type 'std::pair<const Token *, const Token *>' can be declared 'const' |
| - | build/lib/build/mc_valueflow.cpp:1998:5 | variable 'it' of type '__gnu_cxx::__normal_iterator<const Token **, std::vector<const Token *>>' can be declared 'const' |
| - | build/lib/build/mc_valueflow.cpp:2556:13 | variable 'tokens' of type 'std::array<const Token *, sizeof...(Ts) + 1>' can be declared 'const' |
| - | build/lib/build/mc_valueflow.cpp:2557:13 | variable 'branches' of type 'std::array<const Token *, sizeof...(Ts) + 1>' can be declared 'const' |
| - | build/lib/build/mc_valueflow.cpp:2881:5 | variable 'type' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | build/lib/build/mc_valueflow.cpp:2916:5 | variable 'pred' of type '(lambda at /__w/CTIT/CTIT/test_projects/cppcheck/lib/valueflow.cpp:1464:17)' can be declared 'const' |
| - | build/lib/build/mc_valueflow.cpp:3028:13 | variable 'returns' of type 'std::vector<const Token *>' can be declared 'const' |
| - | build/lib/build/mc_valueflow.cpp:3055:25 | variable 'arglts' of type 'std::vector<ValueFlow::LifetimeToken>' can be declared 'const' |
| - | build/lib/build/mc_valueflow.cpp:3114:9 | variable 'it' of type '__gnu_cxx::__normal_iterator<const ValueType *, std::vector<ValueType>>' can be declared 'const' |
| - | build/lib/build/mc_valueflow.cpp:3287:9 | variable 'decl' of type 'std::pair<const Token *, const Token *>' can be declared 'const' |
| - | build/lib/build/mc_valueflow.cpp:3288:9 | variable 'parentdecl' of type 'std::pair<const Token *, const Token *>' can be declared 'const' |
| - | build/lib/build/mc_valueflow.cpp:3310:5 | variable 'vtParents' of type 'std::vector<ValueType>' can be declared 'const' |
| - | build/lib/build/mc_valueflow.cpp:3967:9 | variable 'returns' of type 'std::vector<const Token *>' can be declared 'const' |
| - | build/lib/build/mc_valueflow.cpp:4111:9 | variable 'args' of type 'std::vector<const Token *>' can be declared 'const' |
| - | build/lib/build/mc_valueflow.cpp:4129:9 | variable 'args' of type 'std::vector<const Token *>' can be declared 'const' |
| - | build/lib/build/mc_valueflow.cpp:4192:13 | variable 'args' of type 'std::vector<const Token *>' can be declared 'const' |
| - | build/lib/build/mc_valueflow.cpp:4312:5 | variable 'vtParents' of type 'std::vector<ValueType>' can be declared 'const' |
| - | build/lib/build/mc_valueflow.cpp:4327:5 | variable 'vt' of type 'ValueType' can be declared 'const' |
| - | build/lib/build/mc_valueflow.cpp:4338:9 | variable 'lam' of type 'Lambda' can be declared 'const' |
| - | build/lib/build/mc_valueflow.cpp:4348:13 | variable 'isImplicitCapturingVariable' of type '(lambda at /__w/CTIT/CTIT/test_projects/cppcheck/lib/valueflow.cpp:2896:48)' can be declared 'const' |
| - | build/lib/build/mc_valueflow.cpp:4369:13 | variable 'captureVariable' of type '(lambda at /__w/CTIT/CTIT/test_projects/cppcheck/lib/valueflow.cpp:2917:36)' can be declared 'const' |
| - | build/lib/build/mc_valueflow.cpp:4386:13 | variable 'captureThisVariable' of type '(lambda at /__w/CTIT/CTIT/test_projects/cppcheck/lib/valueflow.cpp:2934:40)' can be declared 'const' |
| - | build/lib/build/mc_valueflow.cpp:4419:13 | variable 'isImplicitCapturingThis' of type '(lambda at /__w/CTIT/CTIT/test_projects/cppcheck/lib/valueflow.cpp:2967:44)' can be declared 'const' |
| - | build/lib/build/mc_valueflow.cpp:4789:9 | variable 'args' of type 'std::vector<const Token *>' can be declared 'const' |
| - | build/lib/build/mc_valueflow.cpp:4877:25 | variable 'a1' of type 'ValuePtr<Analyzer>' can be declared 'const' |
| - | build/lib/build/mc_valueflow.cpp:4884:21 | variable 'a2' of type 'ValuePtr<Analyzer>' can be declared 'const' |
| - | build/lib/build/mc_valueflow.cpp:4892:13 | variable 'conds' of type 'std::vector<const Token *>' can be declared 'const' |
| - | build/lib/build/mc_valueflow.cpp:4900:21 | variable 'a1' of type 'ValuePtr<Analyzer>' can be declared 'const' |
| - | build/lib/build/mc_valueflow.cpp:4906:25 | variable 'a2' of type 'ValuePtr<Analyzer>' can be declared 'const' |
| - | build/lib/build/mc_valueflow.cpp:4926:21 | variable 'a1' of type 'ValuePtr<Analyzer>' can be declared 'const' |
| - | build/lib/build/mc_valueflow.cpp:4932:25 | variable 'a2' of type 'ValuePtr<Analyzer>' can be declared 'const' |
| - | build/lib/build/mc_valueflow.cpp:5102:17 | variable 'c' of type 'ValueFlow::Value' can be declared 'const' |
| - | build/lib/build/mc_valueflow.cpp:5229:17 | variable 'leftModel' of type 'SymbolicInferModel' can be declared 'const' |
| - | build/lib/build/mc_valueflow.cpp:5233:17 | variable 'rightModel' of type 'SymbolicInferModel' can be declared 'const' |
| - | build/lib/build/mc_valueflow.cpp:5264:17 | variable 'it' of type '__gnu_cxx::__normal_iterator<const ReferenceToken *, std::vector<ReferenceToken, TaggedAllocator<ReferenceToken, 3>>>' can be declared 'const' |
| - | build/lib/build/mc_valueflow.cpp:5425:9 | variable 'it' of type 'std::_List_iterator<ValueFlow::Value>' can be declared 'const' |
| - | build/lib/build/mc_valueflow.cpp:5444:9 | variable 'b' of type 'ValueFlow::Value::Bound' can be declared 'const' |
| - | build/lib/build/mc_valueflow.cpp:5446:13 | variable 'knownValueIt' of type 'std::_List_iterator<ValueFlow::Value>' can be declared 'const' |
| - | build/lib/build/mc_valueflow.cpp:5556:34 | variable 'tokenlist' of type 'TokenList &' can be declared 'const' |
| - | build/lib/build/mc_valueflow.cpp:5785:13 | variable 'it' of type 'std::_List_const_iterator<ValueFlow::Value>' can be declared 'const' |
| - | build/lib/build/mc_valueflow.cpp:5813:13 | variable 'then' of type 'bool' can be declared 'const' |
| - | build/lib/build/mc_valueflow.cpp:6108:25 | variable 'r' of type 'Analyzer::Result' can be declared 'const' |
| - | build/lib/build/mc_valueflow.cpp:6236:13 | pointee of variable 'startTokens' of type 'Token *[2]' can be declared 'const' |
| - | build/lib/build/mc_valueflow.cpp:6254:17 | variable 'r' of type 'Analyzer::Result' can be declared 'const' |
| - | build/lib/build/mc_valueflow.cpp:6363:25 | variable 'r' of type 'Analyzer::Result' can be declared 'const' |
| - | build/lib/build/mc_valueflow.cpp:6390:32 | variable 'symboldatabase' of type 'SymbolDatabase &' can be declared 'const' |
| - | build/lib/build/mc_valueflow.cpp:6505:21 | variable 'result' of type 'std::vector<ValueFlow::Value>' can be declared 'const' |
| - | build/lib/build/mc_valueflow.cpp:6561:9 | variable 'addCond' of type '(lambda at /__w/CTIT/CTIT/test_projects/cppcheck/lib/valueflow.cpp:5109:24)' can be declared 'const' |
| - | build/lib/build/mc_valueflow.cpp:6807:17 | variable 'result' of type 'Analyzer::Result' can be declared 'const' |
| - | build/lib/build/mc_valueflow.cpp:6868:5 | variable 'max' of type 'int' can be declared 'const' |
| - | build/lib/build/mc_valueflow.cpp:6923:9 | variable 'a' of type 'ValuePtr<Analyzer>' can be declared 'const' |
| - | build/lib/build/mc_valueflow.cpp:7196:5 | variable 'it' of type 'std::_List_const_iterator<ValueFlow::Value>' can be declared 'const' |
| - | build/lib/build/mc_valueflow.cpp:7218:9 | variable 'it' of type '__gnu_cxx::__normal_iterator<ValueFlow::Value *, std::vector<ValueFlow::Value>>' can be declared 'const' |
| - | build/lib/build/mc_valueflow.cpp:7265:9 | variable 'returns' of type 'std::vector<const Token *>' can be declared 'const' |
| - | build/lib/build/mc_valueflow.cpp:7299:9 | variable 'values' of type 'std::vector<ValueFlow::Value>' can be declared 'const' |
| - | build/lib/build/mc_valueflow.cpp:7471:17 | variable 'partialReadsAnalyzer' of type 'shared_ptr<_NonArray<std::vector<std::pair<Token *, ValueFlow::Value>, std::allocator<std::pair<Token *, ValueFlow::Value>>>>>' (aka 'shared_ptr<std::vector<std::pair<Token *, ValueFlow::Value>, std::allocator<std::pair<Token *, ValueFlow::Value>>>>') can be declared 'const' |
| - | build/lib/build/mc_valueflow.cpp:7472:17 | variable 'analyzer' of type 'ValuePtr<Analyzer>' can be declared 'const' |
| - | build/lib/build/mc_valueflow.cpp:7479:21 | variable 'pp' of type 'std::pair<iterator, bool>' (aka 'std::pair<_Rb_tree_iterator<std::pair<Token *const, ValueFlow::Value>>, bool>') can be declared 'const' |
| - | build/lib/build/mc_valueflow.cpp:7774:5 | variable 'yield' of type 'Library::Container::Yield' can be declared 'const' |
| - | build/lib/build/mc_valueflow.cpp:7986:13 | variable 'vt' of type 'ValueType' can be declared 'const' |
| - | build/lib/build/mc_valueflow.cpp:8118:5 | variable 'forwardMinimumContainerSize' of type '(lambda at /__w/CTIT/CTIT/test_projects/cppcheck/lib/valueflow.cpp:6666:40)' can be declared 'const' |
| - | build/lib/build/mc_valueflow.cpp:8194:21 | variable 'values' of type 'std::vector<ValueFlow::Value>' can be declared 'const' |
| - | build/lib/build/mc_valueflow.cpp:8317:5 | variable 'getBufferSizeFromAllocFunc' of type '(lambda at /__w/CTIT/CTIT/test_projects/cppcheck/lib/valueflow.cpp:6865:39)' can be declared 'const' |
| - | build/lib/build/mc_valueflow.cpp:8352:5 | variable 'getBufferSizeFromNew' of type '(lambda at /__w/CTIT/CTIT/test_projects/cppcheck/lib/valueflow.cpp:6900:33)' can be declared 'const' |
| - | build/lib/build/mc_valueflow.cpp:8559:9 | variable 'unknownValues' of type 'std::vector<MathLib::bigint>' (aka 'std::vector<long long>') can be declared 'const' |
| - | build/lib/build/mc_valueflow.cpp:8589:13 | variable 'msg' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | build/lib/build/mc_valueflow.cpp:8667:17 | variable 'errmsg' of type 'ErrorMessage' can be declared 'const' |
| - | build/lib/build/mc_valueflow.cpp:8681:9 | variable 'start' of type 'time_point' (aka 'chrono::time_point<steady_clock, duration<long, ratio<1, 1000000000>>>') can be declared 'const' |
| - | build/lib/build/mc_valueflow.cpp:8689:13 | variable 't' of type 'Timer' can be declared 'const' |
| - | build/lib/build/mc_valueflow.cpp:8817:5 | variable 'runner' of type 'ValueFlowPassRunner' can be declared 'const' |
| - | build/lib/build/mc_valueflow.cpp:8952:5 | variable 'inBoundsValue' of type 'ValueFlow::Value' can be declared 'const' |
| - | build/lib/build/mc_vf_analyzers.cpp:405:17 | variable 'cs' of type 'ConditionState' can be declared 'const' |
| - | build/lib/build/mc_vf_analyzers.cpp:416:9 | variable 'symbols' of type 'std::unordered_map<int, const Token *>' can be declared 'const' |
| - | build/lib/build/mc_vf_analyzers.cpp:421:13 | variable 'cs' of type 'ConditionState' can be declared 'const' |
| - | build/lib/build/mc_vf_analyzers.cpp:539:17 | variable 'rhsValue' of type 'ValueFlow::Value' can be declared 'const' |
| - | build/lib/build/mc_vf_analyzers.cpp:579:13 | variable 'rhsValue' of type 'ValueFlow::Value' can be declared 'const' |
| - | build/lib/build/mc_vf_analyzers.cpp:603:21 | variable 'newvalue' of type 'MathLib::bigint' (aka 'long long') can be declared 'const' |
| - | build/lib/build/mc_vf_analyzers.cpp:694:9 | variable 'it' of type 'iterator' (aka '__detail::_Node_iterator<std::pair<const std::basic_string<char>, std::basic_string<char>>, __constant_iterators::value, __hash_cached::value>') can be declared 'const' |
| - | build/lib/build/mc_vf_analyzers.cpp:817:13 | variable 'a' of type 'Action' can be declared 'const' |
| - | build/lib/build/mc_vf_analyzers.cpp:825:9 | variable 'w' of type 'Action' can be declared 'const' |
| - | build/lib/build/mc_vf_analyzers.cpp:841:17 | variable 'a' of type 'Action' can be declared 'const' |
| - | build/lib/build/mc_vf_analyzers.cpp:860:13 | variable 'la' of type 'Action' can be declared 'const' |
| - | build/lib/build/mc_vf_analyzers.cpp:878:13 | variable 'a' of type 'Action' can be declared 'const' |
| - | build/lib/build/mc_vf_analyzers.cpp:960:13 | variable 'pm' of type 'ProgramMemory' can be declared 'const' |
| - | build/lib/build/mc_vf_analyzers.cpp:997:17 | variable 's' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | build/lib/build/mc_vf_analyzers.cpp:1000:17 | variable 's' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | build/lib/build/mc_vf_analyzers.cpp:1205:9 | variable 'it' of type 'const_iterator' (aka '__detail::_Node_const_iterator<std::pair<const int, ValueFlow::Value>, __constant_iterators::value, __hash_cached::value>') can be declared 'const' |
| - | build/lib/build/mc_vf_analyzers.cpp:1213:9 | variable 'it' of type 'iterator' (aka '__detail::_Node_iterator<std::pair<const int, ValueFlow::Value>, __constant_iterators::value, __hash_cached::value>') can be declared 'const' |
| - | build/lib/build/mc_vf_analyzers.cpp:1295:13 | variable 'pred' of type '(lambda at /__w/CTIT/CTIT/test_projects/cppcheck/lib/vf_analyzers.cpp:1052:25)' can be declared 'const' |
| - | build/lib/build/mc_vf_analyzers.cpp:1452:9 | variable 'cs' of type 'ConditionState' can be declared 'const' |
| - | build/lib/build/mc_vf_analyzers.cpp:1743:17 | variable 'args' of type 'std::vector<const Token *>' can be declared 'const' |
| - | build/lib/build/mc_vf_analyzers.cpp:1775:17 | variable 'it' of type 'std::_List_const_iterator<ValueFlow::Value>' can be declared 'const' |
| - | build/lib/build/mc_vf_analyzers.cpp:1791:17 | variable 'args' of type 'std::vector<const Token *>' can be declared 'const' |
| - | build/lib/build/mc_vf_common.cpp:498:9 | variable 'file' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | build/lib/build/mc_vf_settokenvalue.cpp:459:9 | variable 'it' of type 'const_iterator' (aka '__detail::_Node_const_iterator<std::pair<const ValueFlow::Value::ValueType, std::unordered_set<ValueFlow::Value::ValueType, EnumClassHash, std::equal_to<ValueFlow::Value::ValueType>, std::allocator<ValueFlow::Value::ValueType>>>, __constant_iterators::value, __hash_cached::value>') can be declared 'const' |
| - | build/lib/build/mc_vf_settokenvalue.cpp:815:29 | variable 'val' of type 'double' can be declared 'const' |
| - | build/lib/build/mc_vf_settokenvalue.cpp:822:29 | variable 'val' of type 'long long' can be declared 'const' |
| - | build/lib/build/mc_vf_settokenvalue.cpp:975:13 | variable 'args' of type 'std::vector<const Token *>' can be declared 'const' |
| - | cli/cmdlineparser.cpp:759:13 | variable 'filename' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | cli/cmdlineparser.cpp:1451:13 | variable 'filename' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | cli/cppcheckexecutor.cpp:272:5 | variable 'realTimeClock' of type 'Timer' can be declared 'const' |
| - | cli/cppcheckexecutor.cpp:656:5 | variable 'cmd' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | cli/executor.cpp:56:9 | variable 'lg' of type 'std::lock_guard<std::mutex>' can be declared 'const' |
| - | cli/filelister.cpp:230:5 | variable 'dir_deleter' of type 'std::unique_ptr<DIR, closedir_deleter>' (aka 'std::unique_ptr<struct __dirstream, closedir_deleter>') can be declared 'const' |
| - | cli/signalhandler.cpp:111:46 | pointee of variable 'info' of type 'siginfo_t *' can be declared 'const' |
| - | cli/signalhandler.cpp:111:64 | pointee of variable 'context' of type 'void *' can be declared 'const' |
| - | cli/signalhandler.cpp:113:5 | variable 'type' of type 'int' can be declared 'const' |
| - | cli/threadexecutor.cpp:58:9 | variable 'lg' of type 'std::lock_guard<std::mutex>' can be declared 'const' |
| - | cli/threadexecutor.cpp:67:9 | variable 'lg' of type 'std::lock_guard<std::mutex>' can be declared 'const' |
| - | cli/threadexecutor.cpp:72:9 | variable 'lg' of type 'std::lock_guard<std::mutex>' can be declared 'const' |
| - | cli/threadexecutor.cpp:77:9 | variable 'lg' of type 'std::lock_guard<std::mutex>' can be declared 'const' |
| - | cli/threadexecutor.cpp:103:9 | variable 'l' of type 'std::lock_guard<std::mutex>' can be declared 'const' |
| - | cli/threadexecutor.cpp:154:9 | variable 'l' of type 'std::lock_guard<std::mutex>' can be declared 'const' |
| - | cli/threadexecutor.cpp:215:5 | variable 'result' of type 'unsigned int' can be declared 'const' |
| - | externals/picojson/./picojson.h:444:3 | variable 's_null' of type 'value' can be declared 'const' |
| - | externals/picojson/./picojson.h:456:3 | variable 's_null' of type 'value' can be declared 'const' |
| - | externals/picojson/./picojson.h:458:3 | variable 'i' of type 'object::const_iterator' (aka '_Rb_tree_const_iterator<std::pair<const std::basic_string<char>, picojson::value>>') can be declared 'const' |
| - | externals/picojson/./picojson.h:463:3 | variable 's_null' of type 'value' can be declared 'const' |
| - | externals/picojson/./picojson.h:465:3 | variable 'i' of type 'object::iterator' (aka '_Rb_tree_iterator<std::pair<const std::basic_string<char>, picojson::value>>') can be declared 'const' |
| - | externals/picojson/./picojson.h:476:3 | variable 'i' of type 'object::const_iterator' (aka '_Rb_tree_const_iterator<std::pair<const std::basic_string<char>, picojson::value>>') can be declared 'const' |
| - | externals/picojson/./picojson.h:498:5 | pointee of variable 'decimal_point' of type 'char *' can be declared 'const' |
| - | externals/picojson/./picojson.h:500:7 | variable 'decimal_point_len' of type 'size_t' (aka 'unsigned long') can be declared 'const' |
| - | externals/picojson/./picojson.h:561:3 | variable 'process_char' of type 'serialize_str_char<std::back_insert_iterator<std::basic_string<char>>>' can be declared 'const' |
| - | externals/picojson/./picojson.h:691:7 | variable 'ch' of type 'int' can be declared 'const' |
| - | externals/picojson/./picojson.h:753:5 | variable 'second' of type 'int' can be declared 'const' |
| - | externals/picojson/./picojson.h:859:5 | variable 'ch' of type 'int' can be declared 'const' |
| - | externals/picojson/./picojson.h:878:3 | variable 'ch' of type 'int' can be declared 'const' |
| - | externals/picojson/./picojson.h:902:7 | variable 'num_str' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | externals/picojson/./picojson.h:909:9 | variable 'ival' of type 'intmax_t' (aka 'long') can be declared 'const' |
| - | externals/picojson/./picojson.h:1111:7 | variable 'ch' of type 'int' can be declared 'const' |
| - | externals/picojson/./picojson.h:1133:38 | variable 'is' of type 'std::istream &' (aka 'basic_istream<char> &') can be declared 'const' |
| - | externals/tinyxml2/tinyxml2.cpp:96:3 | variable 'len' of type 'int' can be declared 'const' |
| - | externals/tinyxml2/tinyxml2.cpp:198:5 | variable 'len' of type 'size_t' (aka 'unsigned long') can be declared 'const' |
| - | externals/tinyxml2/tinyxml2.cpp:215:5 | variable 'length' of type 'size_t' (aka 'unsigned long') can be declared 'const' |
| - | externals/tinyxml2/tinyxml2.cpp:1091:2 | variable 'tracker' of type 'XMLDocument::DepthTracker' can be declared 'const' |
| - | externals/tinyxml2/tinyxml2.cpp:1618:10 | pointee of variable 'a' of type 'XMLAttribute *' can be declared 'const' |
| - | externals/tinyxml2/tinyxml2.h:354:13 | pointee of variable 'lastBlock' of type 'Block *' can be declared 'const' |
| - | lib/./../lib/pathmatch.h:340:9 | variable 'c' of type 'char' can be declared 'const' |
| - | lib/./../lib/pathmatch.h:355:13 | variable 'pos' of type 'Pos' can be declared 'const' |
| - | lib/./pathmatch.h:340:9 | variable 'c' of type 'char' can be declared 'const' |
| - | lib/./pathmatch.h:355:13 | variable 'pos' of type 'Pos' can be declared 'const' |
| - | lib/./symboldatabase.h:1088:9 | variable 'it' of type '__gnu_cxx::__normal_iterator<const Enumerator *, std::vector<Enumerator>>' can be declared 'const' |
| - | lib/./timer.h:94:9 | variable 't' of type 'Timer' can be declared 'const' |
| - | lib/calculate.h:55:5 | variable 'wrap' of type '(lambda at /__w/CTIT/CTIT/test_projects/cppcheck/lib/calculate.h:55:17)' can be declared 'const' |
| - | lib/pathmatch.h:340:9 | variable 'c' of type 'char' can be declared 'const' |
| - | lib/pathmatch.h:355:13 | variable 'pos' of type 'Pos' can be declared 'const' |
| - | lib/symboldatabase.h:1088:9 | variable 'it' of type '__gnu_cxx::__normal_iterator<const Enumerator *, std::vector<Enumerator>>' can be declared 'const' |
| - | lib/timer.h:94:9 | variable 't' of type 'Timer' can be declared 'const' |
| - | test/fixture.cpp:358:13 | variable 'supprout' of type 'SuppressOutput' can be declared 'const' |
| - | test/main.cpp:31:5 | variable 'args' of type 'options' can be declared 'const' |
| - | test/testastutils.cpp:261:9 | variable 'indirect' of type 'int' can be declared 'const' |
| - | test/testbufferoverrun.cpp:5308:9 | pointee of variable 'ctu' of type 'CTU::FileInfo *' can be declared 'const' |
| - | test/testclass.cpp:9279:9 | pointee of variable 'fileInfo' of type 'Check::FileInfo *' can be declared 'const' |
| - | test/testcmdlineparser.cpp:544:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:551:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:552:9 | variable 'file' of type 'ScopedFile' can be declared 'const' |
| - | test/testcmdlineparser.cpp:567:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:568:9 | variable 'file' of type 'ScopedFile' can be declared 'const' |
| - | test/testcmdlineparser.cpp:576:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:583:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:590:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:591:9 | variable 'file' of type 'ScopedFile' can be declared 'const' |
| - | test/testcmdlineparser.cpp:606:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:613:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:620:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:621:9 | variable 'file' of type 'ScopedFile' can be declared 'const' |
| - | test/testcmdlineparser.cpp:636:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:643:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:644:9 | variable 'file' of type 'ScopedFile' can be declared 'const' |
| - | test/testcmdlineparser.cpp:658:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:665:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:673:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:680:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:688:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:696:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:704:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:711:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:718:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:725:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:732:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:739:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:746:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:753:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:760:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:770:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:780:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:787:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:794:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:802:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:810:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:818:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:825:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:832:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:839:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:846:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:853:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:860:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:867:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:874:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:881:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:888:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:895:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:903:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:910:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:917:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:924:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:931:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:940:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:941:9 | variable 'file' of type 'ScopedFile' can be declared 'const' |
| - | test/testcmdlineparser.cpp:953:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:960:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:961:9 | variable 'file' of type 'ScopedFile' can be declared 'const' |
| - | test/testcmdlineparser.cpp:973:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:980:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:992:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1005:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1018:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1031:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1040:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1048:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1056:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1066:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1076:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1096:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1109:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1116:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1123:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1131:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1146:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1162:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1177:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1186:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1194:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1201:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1208:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1215:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1222:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1229:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1237:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1245:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1252:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1253:9 | variable 'file' of type 'ScopedFile' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1266:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1293:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1294:9 | variable 'input' of type 'RedirectInput' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1304:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1305:9 | variable 'file' of type 'ScopedFile' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1317:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1318:9 | variable 'input' of type 'RedirectInput' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1327:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1328:9 | variable 'file' of type 'ScopedFile' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1341:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1348:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1349:9 | variable 'input' of type 'RedirectInput' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1360:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1367:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1374:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1381:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1388:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1396:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1404:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1411:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1418:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1426:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1434:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1442:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1450:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1457:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1464:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1471:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1479:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1487:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1494:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1502:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1509:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1517:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1524:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1531:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1538:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1547:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1556:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1565:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1574:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1583:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1600:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1611:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1619:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1627:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1635:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1643:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1651:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1659:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1666:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1673:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1680:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1687:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1694:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1701:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1708:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1715:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1723:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1731:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1738:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1745:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1752:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1760:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1768:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1776:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1784:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1792:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1800:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1808:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1816:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1824:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1832:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1840:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1848:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1856:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1864:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1872:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1880:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1887:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1894:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1901:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1909:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1916:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1917:9 | variable 'file' of type 'ScopedFile' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1930:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1937:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1944:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1959:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1966:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1973:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1982:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1990:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:1998:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2006:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2014:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2022:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2030:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2039:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2047:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2056:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2064:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2073:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2081:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2090:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2098:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2106:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2114:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2122:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2130:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2138:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2146:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2153:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2160:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2167:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2174:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2181:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2188:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2195:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2202:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2209:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2216:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2234:9 | variable 'file' of type 'ScopedFile' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2256:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2265:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2273:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2281:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2289:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2296:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2318:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2326:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2334:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2341:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2348:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2355:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2362:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2369:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2376:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2383:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2390:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2398:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2405:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2412:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2427:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2434:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2441:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2449:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2456:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2463:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2470:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2477:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2484:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2491:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2498:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2505:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2512:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2519:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2526:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2527:9 | variable 'file' of type 'ScopedFile' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2536:9 | variable 'it' of type 'const_iterator' (aka '__gnu_cxx::__normal_iterator<const std::basic_string<char> *, vector<std::basic_string<char>, std::allocator<std::basic_string<char>>>>') can be declared 'const' |
| - | test/testcmdlineparser.cpp:2541:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2542:9 | variable 'file' of type 'ScopedFile' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2549:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2550:9 | variable 'file' of type 'ScopedFile' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2557:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2564:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2571:9 | variable 'file' of type 'ScopedFile' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2578:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2586:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2595:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2602:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2609:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2616:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2623:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2654:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2889:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2897:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2905:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2914:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2924:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2931:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2938:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2939:9 | variable 'file' of type 'ScopedFile' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2954:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2961:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2968:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2969:9 | variable 'file' of type 'ScopedFile' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2976:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2977:9 | variable 'file' of type 'ScopedFile' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2984:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:2995:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3006:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3018:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3025:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3042:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3049:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3066:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3077:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3088:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3099:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3106:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3113:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3120:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3127:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3150:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3165:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3172:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3179:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3186:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3193:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3200:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3207:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3214:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3221:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3228:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3235:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3242:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3249:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3260:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3267:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3274:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3281:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3289:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3297:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3304:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3311:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3319:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3327:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3335:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3342:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3349:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3356:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3367:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3378:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3389:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3400:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3407:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3414:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3421:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3428:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3438:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3448:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3459:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3470:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3480:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3490:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3500:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3511:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3522:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3533:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3544:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3555:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3566:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3573:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3580:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3587:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3595:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3604:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3612:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3620:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3628:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3635:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3642:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3649:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3657:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3665:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3672:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3673:9 | variable 'file' of type 'ScopedFile' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3681:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3688:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3695:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3702:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3709:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3716:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3723:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3730:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3737:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcmdlineparser.cpp:3744:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testcppcheck.cpp:174:9 | variable 'file' of type 'ScopedFile' can be declared 'const' |
| - | test/testcppcheck.cpp:258:9 | variable 'file' of type 'ScopedFile' can be declared 'const' |
| - | test/testcppcheck.cpp:284:9 | variable 'fs' of type 'FileSettings' can be declared 'const' |
| - | test/testcppcheck.cpp:341:9 | variable 'file' of type 'ScopedFile' can be declared 'const' |
| - | test/testcppcheck.cpp:363:9 | variable 'file' of type 'ScopedFile' can be declared 'const' |
| - | test/testcppcheck.cpp:368:9 | variable 'test_file_a' of type 'ScopedFile' can be declared 'const' |
| - | test/testcppcheck.cpp:370:9 | variable 'test_file_b' of type 'ScopedFile' can be declared 'const' |
| - | test/testcppcheck.cpp:396:9 | variable 'test_file' of type 'ScopedFile' can be declared 'const' |
| - | test/testcppcheck.cpp:421:13 | variable 'stack' of type 'const_iterator' (aka 'std::_List_const_iterator<ErrorMessage::FileLocation>') can be declared 'const' |
| - | test/testcppcheck.cpp:430:13 | variable 'stack' of type 'const_iterator' (aka 'std::_List_const_iterator<ErrorMessage::FileLocation>') can be declared 'const' |
| - | test/testcppcheck.cpp:443:13 | variable 'cppcheck' of type 'CppCheck' can be declared 'const' |
| - | test/testcppcheck.cpp:460:13 | variable 'cppcheck' of type 'CppCheck' can be declared 'const' |
| - | test/testcppcheck.cpp:480:9 | variable 'cppcheck' of type 'CppCheck' can be declared 'const' |
| - | test/testcppcheck.cpp:482:9 | variable 'tokens1' of type 'simplecpp::TokenList' can be declared 'const' |
| - | test/testcppcheck.cpp:511:13 | variable 'cppcheck' of type 'CppCheck' can be declared 'const' |
| - | test/testcppcheck.cpp:521:13 | variable 'cppcheck' of type 'CppCheck' can be declared 'const' |
| - | test/testcppcheck.cpp:530:9 | variable 'files' of type 'std::vector<std::string>' (aka 'std::vector<basic_string<char>>') can be declared 'const' |
| - | test/testcppcheck.cpp:557:13 | variable 's' of type 'Settings' can be declared 'const' |
| - | test/testcppcheck.cpp:588:9 | variable 'check' of type 'CppCheck' can be declared 'const' |
| - | test/testcppcheck.cpp:600:9 | variable 'test_file' of type 'ScopedFile' can be declared 'const' |
| - | test/testcppcheck.cpp:620:9 | variable 'it' of type 'const_iterator' (aka 'std::_List_const_iterator<ErrorMessage>') can be declared 'const' |
| - | test/testerrorlogger.cpp:249:9 | variable 'msg' of type 'ErrorMessage' can be declared 'const' |
| - | test/testerrorlogger.cpp:259:9 | variable 'msg' of type 'ErrorMessage' can be declared 'const' |
| - | test/testerrorlogger.cpp:269:9 | variable 'msg' of type 'ErrorMessage' can be declared 'const' |
| - | test/testerrorlogger.cpp:279:9 | variable 'msg' of type 'ErrorMessage' can be declared 'const' |
| - | test/testerrorlogger.cpp:290:13 | variable 'internalError' of type 'InternalError' can be declared 'const' |
| - | test/testerrorlogger.cpp:303:13 | variable 'internalError' of type 'InternalError' can be declared 'const' |
| - | test/testerrorlogger.cpp:346:9 | variable 'msg' of type 'ErrorMessage' can be declared 'const' |
| - | test/testerrorlogger.cpp:356:9 | variable 'msg' of type 'ErrorMessage' can be declared 'const' |
| - | test/testerrorlogger.cpp:367:9 | variable 'msg' of type 'ErrorMessage' can be declared 'const' |
| - | test/testerrorlogger.cpp:377:9 | variable 'msg' of type 'ErrorMessage' can be declared 'const' |
| - | test/testerrorlogger.cpp:405:9 | variable 'msg' of type 'ErrorMessage' can be declared 'const' |
| - | test/testerrorlogger.cpp:420:13 | variable 'msg' of type 'ErrorMessage' can be declared 'const' |
| - | test/testerrorlogger.cpp:427:13 | variable 'msg1' of type 'ErrorMessage' can be declared 'const' |
| - | test/testerrorlogger.cpp:429:13 | variable 'msg2' of type 'ErrorMessage' can be declared 'const' |
| - | test/testerrorlogger.cpp:485:9 | variable 'msg' of type 'ErrorMessage' can be declared 'const' |
| - | test/testerrorlogger.cpp:623:9 | variable 'msg' of type 'ErrorMessage' can be declared 'const' |
| - | test/testfilelister.cpp:63:9 | variable 'err' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | test/testfilelister.cpp:117:9 | variable 'matcher' of type 'PathMatch' can be declared 'const' |
| - | test/testfilelister.cpp:118:9 | variable 'err' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | test/testfilelister.cpp:127:9 | variable 'err' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | test/testfilelister.cpp:137:9 | variable 'matcher' of type 'PathMatch' can be declared 'const' |
| - | test/testfilelister.cpp:138:9 | variable 'err' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | test/testimportproject.cpp:108:9 | variable 'in' of type 'std::list<std::string>' (aka 'std::list<basic_string<char>>') can be declared 'const' |
| - | test/testimportproject.cpp:117:9 | variable 'in' of type 'std::list<std::string>' (aka 'std::list<basic_string<char>>') can be declared 'const' |
| - | test/testimportproject.cpp:127:9 | variable 'in' of type 'std::list<std::string>' (aka 'std::list<basic_string<char>>') can be declared 'const' |
| - | test/testimportproject.cpp:136:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testimportproject.cpp:150:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testimportproject.cpp:178:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testimportproject.cpp:192:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testimportproject.cpp:205:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testimportproject.cpp:225:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testimportproject.cpp:247:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testimportproject.cpp:268:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testimportproject.cpp:282:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testimportproject.cpp:299:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testimportproject.cpp:319:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testimportproject.cpp:342:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testimportproject.cpp:359:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testimportproject.cpp:381:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testimportproject.cpp:404:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testimportproject.cpp:424:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testimportproject.cpp:436:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testimportproject.cpp:448:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testimportproject.cpp:459:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testimportproject.cpp:471:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testimportproject.cpp:502:9 | variable 'redir' of type 'RedirectOutputError' can be declared 'const' |
| - | test/testnullpointer.cpp:4654:9 | pointee of variable 'ctu' of type 'CTU::FileInfo *' can be declared 'const' |
| - | test/testoptions.cpp:53:9 | variable 'args' of type 'options' can be declared 'const' |
| - | test/testoptions.cpp:60:9 | variable 'args' of type 'options' can be declared 'const' |
| - | test/testoptions.cpp:67:9 | variable 'args' of type 'options' can be declared 'const' |
| - | test/testoptions.cpp:74:9 | variable 'args' of type 'options' can be declared 'const' |
| - | test/testoptions.cpp:81:9 | variable 'args' of type 'options' can be declared 'const' |
| - | test/testoptions.cpp:87:9 | variable 'args' of type 'options' can be declared 'const' |
| - | test/testoptions.cpp:94:9 | variable 'args' of type 'options' can be declared 'const' |
| - | test/testoptions.cpp:101:9 | variable 'args' of type 'options' can be declared 'const' |
| - | test/testoptions.cpp:107:9 | variable 'args' of type 'options' can be declared 'const' |
| - | test/testoptions.cpp:108:9 | variable 'expected' of type 'std::set<std::string>' (aka 'std::set<basic_string<char>>') can be declared 'const' |
| - | test/testoptions.cpp:114:9 | variable 'args' of type 'options' can be declared 'const' |
| - | test/testoptions.cpp:115:9 | variable 'expected' of type 'std::set<std::string>' (aka 'std::set<basic_string<char>>') can be declared 'const' |
| - | test/testoptions.cpp:121:9 | variable 'args' of type 'options' can be declared 'const' |
| - | test/testoptions.cpp:122:9 | variable 'expected' of type 'std::set<std::string>' (aka 'std::set<basic_string<char>>') can be declared 'const' |
| - | test/testoptions.cpp:129:9 | variable 'args' of type 'options' can be declared 'const' |
| - | test/testoptions.cpp:135:9 | variable 'args' of type 'options' can be declared 'const' |
| - | test/testpath.cpp:208:9 | variable 'file' of type 'ScopedFile' can be declared 'const' |
| - | test/testpath.cpp:209:9 | variable 'file2' of type 'ScopedFile' can be declared 'const' |
| - | test/testpath.cpp:217:9 | variable 'file' of type 'ScopedFile' can be declared 'const' |
| - | test/testpath.cpp:218:9 | variable 'file2' of type 'ScopedFile' can be declared 'const' |
| - | test/testpath.cpp:502:9 | variable 'file' of type 'ScopedFile' can be declared 'const' |
| - | test/testpath.cpp:503:9 | variable 'expected' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | test/testpath.cpp:583:9 | variable 'file' of type 'ScopedFile' can be declared 'const' |
| - | test/testpath.cpp:584:9 | variable 'file2' of type 'ScopedFile' can be declared 'const' |
| - | test/testpathmatch.cpp:119:9 | variable 'srcMatcher2' of type 'PathMatch' can be declared 'const' |
| - | test/testpathmatch.cpp:125:9 | variable 'match' of type 'PathMatch' can be declared 'const' |
| - | test/testpathmatch.cpp:138:9 | variable 'match' of type 'PathMatch' can be declared 'const' |
| - | test/testpathmatch.cpp:177:9 | variable 'match' of type 'PathMatch' can be declared 'const' |
| - | test/testpathmatch.cpp:182:9 | variable 'match' of type 'PathMatch' can be declared 'const' |
| - | test/testpathmatch.cpp:188:9 | variable 'match' of type 'PathMatch' can be declared 'const' |
| - | test/testpathmatch.cpp:194:9 | variable 'match' of type 'PathMatch' can be declared 'const' |
| - | test/testpathmatch.cpp:205:9 | variable 'match' of type 'PathMatch' can be declared 'const' |
| - | test/testpathmatch.cpp:240:9 | variable 'match' of type 'PathMatch' can be declared 'const' |
| - | test/testpathmatch.cpp:247:9 | variable 'match' of type 'PathMatch' can be declared 'const' |
| - | test/testpathmatch.cpp:256:9 | variable 'match' of type 'PathMatch' can be declared 'const' |
| - | test/testpathmatch.cpp:265:9 | variable 'match' of type 'PathMatch' can be declared 'const' |
| - | test/testpathmatch.cpp:274:9 | variable 'match' of type 'PathMatch' can be declared 'const' |
| - | test/testplatform.cpp:423:9 | variable 'platform' of type 'Platform' can be declared 'const' |
| - | test/testplatform.cpp:441:9 | variable 'platform' of type 'Platform' can be declared 'const' |
| - | test/testpreprocessor.cpp:60:9 | variable 'tokens2' of type 'simplecpp::TokenList' can be declared 'const' |
| - | test/testpreprocessor.cpp:1373:9 | variable 'actual' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | test/testpreprocessor.cpp:1434:9 | variable 'actual' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | test/testpreprocessor.cpp:1444:9 | variable 'actual' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | test/testpreprocessor.cpp:1454:9 | variable 'actual' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | test/testpreprocessor.cpp:1466:9 | variable 'actual' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | test/testpreprocessor.cpp:2102:9 | variable 'actual' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | test/testpreprocessor.cpp:2112:13 | variable 'actual' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | test/testpreprocessor.cpp:2117:13 | variable 'actual' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | test/testpreprocessor.cpp:2542:9 | variable 'header' of type 'ScopedFile' can be declared 'const' |
| - | test/testpreprocessor.cpp:2574:9 | variable 'header' of type 'ScopedFile' can be declared 'const' |
| - | test/testpreprocessor.cpp:2592:9 | variable 'header' of type 'ScopedFile' can be declared 'const' |
| - | test/testpreprocessor.cpp:2610:9 | variable 'header' of type 'ScopedFile' can be declared 'const' |
| - | test/testpreprocessor.cpp:2612:9 | variable 'code' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | test/testpreprocessor.cpp:2629:9 | variable 'code' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | test/testpreprocessor.cpp:2644:9 | variable 'header' of type 'ScopedFile' can be declared 'const' |
| - | test/testpreprocessor.cpp:2677:9 | variable 'header' of type 'ScopedFile' can be declared 'const' |
| - | test/testpreprocessor.cpp:2695:9 | variable 'header' of type 'ScopedFile' can be declared 'const' |
| - | test/testpreprocessor.cpp:2697:9 | variable 'code' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | test/testpreprocessor.cpp:2714:9 | variable 'code' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | test/testpreprocessor.cpp:2730:9 | variable 'header' of type 'ScopedFile' can be declared 'const' |
| - | test/testpreprocessor.cpp:2731:9 | variable 'header2' of type 'ScopedFile' can be declared 'const' |
| - | test/testpreprocessor.cpp:2753:9 | variable 'header' of type 'ScopedFile' can be declared 'const' |
| - | test/testpreprocessor.cpp:2754:9 | variable 'header2' of type 'ScopedFile' can be declared 'const' |
| - | test/testpreprocessor.cpp:2755:9 | variable 'header3' of type 'ScopedFile' can be declared 'const' |
| - | test/testpreprocessor.cpp:2756:9 | variable 'header4' of type 'ScopedFile' can be declared 'const' |
| - | test/testpreprocessor.cpp:2757:9 | variable 'header5' of type 'ScopedFile' can be declared 'const' |
| - | test/testpreprocessor.cpp:2758:9 | variable 'header6' of type 'ScopedFile' can be declared 'const' |
| - | test/testpreprocessor.cpp:2763:9 | variable 'code' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | test/testpreprocessor.cpp:2881:9 | variable 'header' of type 'ScopedFile' can be declared 'const' |
| - | test/testprocessexecutor.cpp:110:9 | variable 'executeFn' of type '(lambda at /__w/CTIT/CTIT/test_projects/cppcheck/test/testprocessexecutor.cpp:110:26)' can be declared 'const' |
| - | test/testprocessexecutor.cpp:177:9 | variable 'supprout' of type 'SuppressOutput' can be declared 'const' |
| - | test/testprocessexecutor.cpp:189:9 | variable 'plistFile' of type 'ScopedFile' can be declared 'const' |
| - | test/testprocessexecutor.cpp:306:9 | variable 'supprout' of type 'SuppressOutput' can be declared 'const' |
| - | test/testprocessexecutor.cpp:320:9 | variable 'supprout' of type 'SuppressOutput' can be declared 'const' |
| - | test/testprocessexecutor.cpp:321:9 | variable 'inc_h' of type 'ScopedFile' can be declared 'const' |
| - | test/testprogrammemory.cpp:90:9 | variable 'pm' of type 'ProgramMemory' can be declared 'const' |
| - | test/testprogrammemory.cpp:95:9 | variable 'pm' of type 'ProgramMemory' can be declared 'const' |
| - | test/testsarifreport.cpp:75:9 | variable 'loc' of type 'ErrorMessage::FileLocation' can be declared 'const' |
| - | test/testsarifreport.cpp:87:9 | variable 'parseError' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | test/testsarifreport.cpp:93:9 | variable 'report' of type 'SarifReport' can be declared 'const' |
| - | test/testsarifreport.cpp:94:9 | variable 'sarif' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | test/testsarifreport.cpp:125:9 | variable 'sarif' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | test/testsarifreport.cpp:161:9 | variable 'sarif' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | test/testsarifreport.cpp:183:9 | variable 'errorMessage' of type 'ErrorMessage' can be declared 'const' |
| - | test/testsarifreport.cpp:187:9 | variable 'sarif' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | test/testsarifreport.cpp:209:9 | variable 'loc1' of type 'ErrorMessage::FileLocation' can be declared 'const' |
| - | test/testsarifreport.cpp:210:9 | variable 'loc2' of type 'ErrorMessage::FileLocation' can be declared 'const' |
| - | test/testsarifreport.cpp:211:9 | variable 'loc3' of type 'ErrorMessage::FileLocation' can be declared 'const' |
| - | test/testsarifreport.cpp:213:9 | variable 'errorMessage' of type 'ErrorMessage' can be declared 'const' |
| - | test/testsarifreport.cpp:221:9 | variable 'sarif' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | test/testsarifreport.cpp:255:9 | variable 'sarif' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | test/testsarifreport.cpp:285:9 | variable 'sarif' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | test/testsarifreport.cpp:330:9 | variable 'sarif' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | test/testsarifreport.cpp:364:9 | variable 'sarif' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | test/testsarifreport.cpp:403:9 | variable 'sarif' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | test/testsarifreport.cpp:433:9 | variable 'sarif' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | test/testsarifreport.cpp:455:9 | variable 'sarif' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | test/testsarifreport.cpp:483:9 | variable 'loc1' of type 'ErrorMessage::FileLocation' can be declared 'const' |
| - | test/testsarifreport.cpp:484:9 | variable 'loc2' of type 'ErrorMessage::FileLocation' can be declared 'const' |
| - | test/testsarifreport.cpp:486:9 | variable 'errorMessage1' of type 'ErrorMessage' can be declared 'const' |
| - | test/testsarifreport.cpp:487:9 | variable 'errorMessage2' of type 'ErrorMessage' can be declared 'const' |
| - | test/testsarifreport.cpp:492:9 | variable 'sarif' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | test/testsarifreport.cpp:511:13 | variable 'line' of type 'int' can be declared 'const' |
| - | test/testsarifreport.cpp:512:13 | variable 'column' of type 'int' can be declared 'const' |
| - | test/testsarifreport.cpp:527:13 | variable 'line' of type 'int' can be declared 'const' |
| - | test/testsarifreport.cpp:528:13 | variable 'column' of type 'int' can be declared 'const' |
| - | test/testsarifreport.cpp:544:9 | variable 'sarif' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | test/testsarifreport.cpp:571:9 | variable 'sarif' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | test/testsarifreport.cpp:590:9 | variable 'sarif' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | test/testsarifreport.cpp:630:9 | variable 'sarif' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | test/testsarifreport.cpp:650:13 | variable 'severityValue' of type 'double' can be declared 'const' |
| - | test/testsarifreport.cpp:681:9 | variable 'sarif' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | test/testsarifreport.cpp:703:9 | variable 'sarif' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | test/testsarifreport.cpp:723:9 | variable 'loc0' of type 'ErrorMessage::FileLocation' can be declared 'const' |
| - | test/testsarifreport.cpp:724:9 | variable 'errorMessage0' of type 'ErrorMessage' can be declared 'const' |
| - | test/testsarifreport.cpp:728:9 | variable 'locPos' of type 'ErrorMessage::FileLocation' can be declared 'const' |
| - | test/testsarifreport.cpp:729:9 | variable 'errorMessagePos' of type 'ErrorMessage' can be declared 'const' |
| - | test/testsarifreport.cpp:733:9 | variable 'sarif' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | test/testsarifreport.cpp:751:9 | variable 'line0' of type 'int' can be declared 'const' |
| - | test/testsarifreport.cpp:752:9 | variable 'column0' of type 'int' can be declared 'const' |
| - | test/testsarifreport.cpp:779:9 | variable 'loc1' of type 'ErrorMessage::FileLocation' can be declared 'const' |
| - | test/testsarifreport.cpp:780:9 | variable 'loc2' of type 'ErrorMessage::FileLocation' can be declared 'const' |
| - | test/testsarifreport.cpp:781:9 | variable 'loc3' of type 'ErrorMessage::FileLocation' can be declared 'const' |
| - | test/testsarifreport.cpp:783:9 | variable 'internal' of type 'ErrorMessage' can be declared 'const' |
| - | test/testsarifreport.cpp:785:9 | variable 'debug' of type 'ErrorMessage' can be declared 'const' |
| - | test/testsarifreport.cpp:786:9 | variable 'none' of type 'ErrorMessage' can be declared 'const' |
| - | test/testsarifreport.cpp:792:9 | variable 'sarif' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | test/testsarifreport.cpp:827:9 | variable 'sarif' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | test/testsarifreport.cpp:863:9 | variable 'noLoc1' of type 'ErrorMessage' can be declared 'const' |
| - | test/testsarifreport.cpp:864:9 | variable 'noLoc2' of type 'ErrorMessage' can be declared 'const' |
| - | test/testsarifreport.cpp:872:9 | variable 'sarif' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | test/testsettings.cpp:113:13 | variable 'file' of type 'ScopedFile' can be declared 'const' |
| - | test/testsettings.cpp:120:13 | variable 'file' of type 'ScopedFile' can be declared 'const' |
| - | test/testsettings.cpp:127:13 | variable 'file' of type 'ScopedFile' can be declared 'const' |
| - | test/testsettings.cpp:135:13 | variable 'file' of type 'ScopedFile' can be declared 'const' |
| - | test/testsettings.cpp:143:13 | variable 'file' of type 'ScopedFile' can be declared 'const' |
| - | test/testsettings.cpp:150:13 | variable 'file' of type 'ScopedFile' can be declared 'const' |
| - | test/testsettings.cpp:158:13 | variable 'file' of type 'ScopedFile' can be declared 'const' |
| - | test/testsettings.cpp:166:13 | variable 'file' of type 'ScopedFile' can be declared 'const' |
| - | test/testsettings.cpp:173:13 | variable 'file' of type 'ScopedFile' can be declared 'const' |
| - | test/testsettings.cpp:181:13 | variable 'file' of type 'ScopedFile' can be declared 'const' |
| - | test/testsettings.cpp:188:13 | variable 'file' of type 'ScopedFile' can be declared 'const' |
| - | test/testsettings.cpp:197:13 | variable 'file' of type 'ScopedFile' can be declared 'const' |
| - | test/testsettings.cpp:204:13 | variable 'file' of type 'ScopedFile' can be declared 'const' |
| - | test/testsettings.cpp:212:13 | variable 'file' of type 'ScopedFile' can be declared 'const' |
| - | test/testsettings.cpp:219:13 | variable 'file' of type 'ScopedFile' can be declared 'const' |
| - | test/testsettings.cpp:228:13 | variable 'file' of type 'ScopedFile' can be declared 'const' |
| - | test/testsettings.cpp:235:13 | variable 'file' of type 'ScopedFile' can be declared 'const' |
| - | test/testsettings.cpp:242:13 | variable 'file' of type 'ScopedFile' can be declared 'const' |
| - | test/testsettings.cpp:250:13 | variable 'file' of type 'ScopedFile' can be declared 'const' |
| - | test/testsettings.cpp:265:13 | variable 'file' of type 'ScopedFile' can be declared 'const' |
| - | test/testsettings.cpp:274:13 | variable 'file' of type 'ScopedFile' can be declared 'const' |
| - | test/testsettings.cpp:283:13 | variable 'file' of type 'ScopedFile' can be declared 'const' |
| - | test/testsettings.cpp:306:9 | variable 's' of type 'Settings' can be declared 'const' |
| - | test/testsettings.cpp:315:9 | variable 's' of type 'Settings' can be declared 'const' |
| - | test/testsingleexecutor.cpp:165:9 | variable 'supprout' of type 'SuppressOutput' can be declared 'const' |
| - | test/testsingleexecutor.cpp:177:9 | variable 'plistFile' of type 'ScopedFile' can be declared 'const' |
| - | test/testsingleexecutor.cpp:298:9 | variable 'supprout' of type 'SuppressOutput' can be declared 'const' |
| - | test/testsingleexecutor.cpp:312:9 | variable 'supprout' of type 'SuppressOutput' can be declared 'const' |
| - | test/testsingleexecutor.cpp:313:9 | variable 'inc_h' of type 'ScopedFile' can be declared 'const' |
| - | test/testsuppressions.cpp:1572:13 | variable 'suppressions' of type 'SuppressionList' can be declared 'const' |
| - | test/testsuppressions.cpp:1634:13 | variable 'file' of type 'ScopedFile' can be declared 'const' |
| - | test/testsuppressions.cpp:1669:13 | variable 'file' of type 'ScopedFile' can be declared 'const' |
| - | test/testsuppressions.cpp:1678:13 | variable 'file' of type 'ScopedFile' can be declared 'const' |
| - | test/testsuppressions.cpp:1687:13 | variable 'file' of type 'ScopedFile' can be declared 'const' |
| - | test/testsuppressions.cpp:1696:13 | variable 'file' of type 'ScopedFile' can be declared 'const' |
| - | test/testsuppressions.cpp:2026:9 | variable 'list' of type 'SuppressionList' can be declared 'const' |
| - | test/testsuppressions.cpp:2034:9 | variable 'parser' of type 'polyspace::Parser' can be declared 'const' |
| - | test/testsymboldatabase.cpp:132:9 | variable 'result' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | test/testsymboldatabase.cpp:155:13 | variable 'it' of type 'std::_List_const_iterator<Function>' can be declared 'const' |
| - | test/testsymboldatabase.cpp:755:9 | variable 'v' of type 'Variable' can be declared 'const' |
| - | test/testsymboldatabase.cpp:765:9 | variable 'v' of type 'Variable' can be declared 'const' |
| - | test/testsymboldatabase.cpp:778:9 | variable 'v' of type 'Variable' can be declared 'const' |
| - | test/testsymboldatabase.cpp:791:9 | variable 'v' of type 'Variable' can be declared 'const' |
| - | test/testsymboldatabase.cpp:804:9 | variable 'v' of type 'Variable' can be declared 'const' |
| - | test/testsymboldatabase.cpp:817:9 | variable 'v' of type 'Variable' can be declared 'const' |
| - | test/testsymboldatabase.cpp:830:9 | variable 'v' of type 'Variable' can be declared 'const' |
| - | test/testsymboldatabase.cpp:843:9 | variable 'v' of type 'Variable' can be declared 'const' |
| - | test/testsymboldatabase.cpp:857:13 | variable 'v1' of type 'Variable' can be declared 'const' |
| - | test/testsymboldatabase.cpp:866:13 | variable 'v2' of type 'Variable' can be declared 'const' |
| - | test/testsymboldatabase.cpp:879:13 | variable 'v3' of type 'Variable' can be declared 'const' |
| - | test/testsymboldatabase.cpp:915:9 | variable 'v' of type 'Variable' can be declared 'const' |
| - | test/testsymboldatabase.cpp:928:9 | variable 'v' of type 'Variable' can be declared 'const' |
| - | test/testsymboldatabase.cpp:941:9 | variable 'v' of type 'Variable' can be declared 'const' |
| - | test/testsymboldatabase.cpp:954:9 | variable 'v' of type 'Variable' can be declared 'const' |
| - | test/testsymboldatabase.cpp:967:9 | variable 'v' of type 'Variable' can be declared 'const' |
| - | test/testsymboldatabase.cpp:981:9 | variable 'v' of type 'Variable' can be declared 'const' |
| - | test/testsymboldatabase.cpp:996:9 | variable 'v' of type 'Variable' can be declared 'const' |
| - | test/testsymboldatabase.cpp:1011:9 | variable 'v' of type 'Variable' can be declared 'const' |
| - | test/testsymboldatabase.cpp:1026:9 | variable 'v' of type 'Variable' can be declared 'const' |
| - | test/testsymboldatabase.cpp:1041:9 | variable 'v' of type 'Variable' can be declared 'const' |
| - | test/testsymboldatabase.cpp:1057:9 | variable 'v' of type 'Variable' can be declared 'const' |
| - | test/testsymboldatabase.cpp:1070:9 | variable 'v' of type 'Variable' can be declared 'const' |
| - | test/testsymboldatabase.cpp:1083:9 | variable 'v' of type 'Variable' can be declared 'const' |
| - | test/testsymboldatabase.cpp:1096:9 | variable 'v' of type 'Variable' can be declared 'const' |
| - | test/testsymboldatabase.cpp:1109:9 | variable 'v' of type 'Variable' can be declared 'const' |
| - | test/testsymboldatabase.cpp:1122:9 | variable 'v' of type 'Variable' can be declared 'const' |
| - | test/testsymboldatabase.cpp:1134:13 | variable 'v1' of type 'Variable' can be declared 'const' |
| - | test/testsymboldatabase.cpp:1144:13 | variable 'v2' of type 'Variable' can be declared 'const' |
| - | test/testsymboldatabase.cpp:1154:13 | variable 'v3' of type 'Variable' can be declared 'const' |
| - | test/testsymboldatabase.cpp:1180:9 | variable 'v' of type 'Variable' can be declared 'const' |
| - | test/testsymboldatabase.cpp:1191:9 | variable 'v' of type 'Variable' can be declared 'const' |
| - | test/testsymboldatabase.cpp:1634:13 | variable 'v' of type 'Variable' can be declared 'const' |
| - | test/testsymboldatabase.cpp:1647:13 | variable 'v' of type 'Variable' can be declared 'const' |
| - | test/testsymboldatabase.cpp:1660:13 | variable 'v' of type 'Variable' can be declared 'const' |
| - | test/testsymboldatabase.cpp:1673:9 | variable 'v' of type 'Variable' can be declared 'const' |
| - | test/testsymboldatabase.cpp:1684:9 | variable 'v' of type 'Variable' can be declared 'const' |
| - | test/testsymboldatabase.cpp:1695:9 | variable 'v' of type 'Variable' can be declared 'const' |
| - | test/testsymboldatabase.cpp:1706:9 | variable 'v' of type 'Variable' can be declared 'const' |
| - | test/testsymboldatabase.cpp:3156:9 | variable 'it' of type 'std::_List_const_iterator<Scope>' can be declared 'const' |
| - | test/testsymboldatabase.cpp:3187:9 | variable 'it' of type 'std::_List_const_iterator<Scope>' can be declared 'const' |
| - | test/testsymboldatabase.cpp:3524:9 | variable 'it' of type 'std::_List_const_iterator<Scope>' can be declared 'const' |
| - | test/testsymboldatabase.cpp:5544:13 | variable 'it' of type 'std::_List_const_iterator<Scope>' can be declared 'const' |
| - | test/testsymboldatabase.cpp:5566:13 | variable 'it' of type 'std::_List_const_iterator<Scope>' can be declared 'const' |
| - | test/testsymboldatabase.cpp:5589:13 | variable 'it' of type 'std::_List_const_iterator<Scope>' can be declared 'const' |
| - | test/testsymboldatabase.cpp:5790:13 | variable 'it' of type 'const_iterator' (aka 'std::_List_const_iterator<Function>') can be declared 'const' |
| - | test/testsymboldatabase.cpp:8863:9 | variable 'vt_int' of type 'ValueType' can be declared 'const' |
| - | test/testsymboldatabase.cpp:8864:9 | variable 'vt_const_int' of type 'ValueType' can be declared 'const' |
| - | test/testsymboldatabase.cpp:8869:9 | variable 'vt_char_pointer' of type 'ValueType' can be declared 'const' |
| - | test/testsymboldatabase.cpp:8870:9 | variable 'vt_void_pointer' of type 'ValueType' can be declared 'const' |
| - | test/testsymboldatabase.cpp:8871:9 | variable 'vt_int_pointer' of type 'ValueType' can be declared 'const' |
| - | test/testsymboldatabase.cpp:8875:9 | variable 'vt_char_pointer2' of type 'ValueType' can be declared 'const' |
| - | test/testsymboldatabase.cpp:8878:9 | variable 'vt_const_float_pointer' of type 'ValueType' can be declared 'const' |
| - | test/testsymboldatabase.cpp:8879:9 | variable 'vt_long_long' of type 'ValueType' can be declared 'const' |
| - | test/testthreadexecutor.cpp:111:9 | variable 'executeFn' of type '(lambda at /__w/CTIT/CTIT/test_projects/cppcheck/test/testthreadexecutor.cpp:111:26)' can be declared 'const' |
| - | test/testthreadexecutor.cpp:178:9 | variable 'supprout' of type 'SuppressOutput' can be declared 'const' |
| - | test/testthreadexecutor.cpp:190:9 | variable 'plistFile' of type 'ScopedFile' can be declared 'const' |
| - | test/testthreadexecutor.cpp:306:9 | variable 'supprout' of type 'SuppressOutput' can be declared 'const' |
| - | test/testthreadexecutor.cpp:320:9 | variable 'supprout' of type 'SuppressOutput' can be declared 'const' |
| - | test/testthreadexecutor.cpp:321:9 | variable 'inc_h' of type 'ScopedFile' can be declared 'const' |
| - | test/testtoken.cpp:566:9 | variable 'listEnds' of type 'shared_ptr<_NonArray<TokensFrontBack>>' (aka 'shared_ptr<TokensFrontBack>') can be declared 'const' |
| - | test/testtoken.cpp:567:9 | pointee of variable 'tokensBack' of type 'Token **const' can be declared 'const' |
| - | test/testtoken.cpp:576:9 | variable 'listEnds' of type 'shared_ptr<_NonArray<TokensFrontBack>>' (aka 'shared_ptr<TokensFrontBack>') can be declared 'const' |
| - | test/testtoken.cpp:577:9 | pointee of variable 'tokensFront' of type 'Token **const' can be declared 'const' |
| - | test/testtoken.cpp:1244:9 | variable 'v1' of type 'ValueFlow::Value' can be declared 'const' |
| - | test/testtoken.cpp:1370:13 | variable 'list_c' of type 'TokenList' can be declared 'const' |
| - | test/testtoken.cpp:1377:13 | variable 'list_c' of type 'TokenList' can be declared 'const' |
| - | test/testtoken.cpp:1384:13 | variable 'list_c' of type 'TokenList' can be declared 'const' |
| - | test/testtoken.cpp:1396:13 | variable 'list_cpp' of type 'TokenList' can be declared 'const' |
| - | test/testtoken.cpp:1403:13 | variable 'list_cpp' of type 'TokenList' can be declared 'const' |
| - | test/testtoken.cpp:1410:13 | variable 'list_cpp' of type 'TokenList' can be declared 'const' |
| - | test/testtoken.cpp:1469:13 | variable 'list_c' of type 'TokenList' can be declared 'const' |
| - | test/testtoken.cpp:1476:13 | variable 'list_c' of type 'TokenList' can be declared 'const' |
| - | test/testtoken.cpp:1487:13 | variable 'list_cpp' of type 'TokenList' can be declared 'const' |
| - | test/testtoken.cpp:1494:13 | variable 'list_cpp' of type 'TokenList' can be declared 'const' |
| - | test/testtoken.cpp:1514:9 | variable 'list_c' of type 'TokenList' can be declared 'const' |
| - | test/testtokenize.cpp:2101:9 | variable 'code' of type 'char[61]' can be declared 'const' |
| - | test/testtokenize.cpp:2117:13 | variable 'code' of type 'char[51]' can be declared 'const' |
| - | test/testtokenize.cpp:2123:13 | variable 'code' of type 'char[34]' can be declared 'const' |
| - | test/testtokenize.cpp:2128:13 | variable 'code' of type 'char[42]' can be declared 'const' |
| - | test/testtokenize.cpp:2133:13 | variable 'code' of type 'char[52]' can be declared 'const' |
| - | test/testtokenize.cpp:2139:13 | variable 'code' of type 'char[40]' can be declared 'const' |
| - | test/testtokenize.cpp:2146:9 | variable 'code' of type 'char[41]' can be declared 'const' |
| - | test/testtokenize.cpp:2152:9 | variable 'code' of type 'char[9]' can be declared 'const' |
| - | test/testtokenize.cpp:2158:9 | variable 'code' of type 'char[9]' can be declared 'const' |
| - | test/testtokenize.cpp:2164:9 | variable 'code' of type 'char[97]' can be declared 'const' |
| - | test/testtokenize.cpp:2178:9 | variable 'code' of type 'char[53]' can be declared 'const' |
| - | test/testtokenize.cpp:2184:9 | variable 'code' of type 'char[48]' can be declared 'const' |
| - | test/testtokenize.cpp:3817:9 | variable 'tokenizer' of type 'TokenizerTest' can be declared 'const' |
| - | test/testtokenize.cpp:8434:9 | variable 'testIsCpp11init_' of type '(lambda at /__w/CTIT/CTIT/test_projects/cppcheck/test/testtokenize.cpp:8434:33)' can be declared 'const' |
| - | test/testtokenrange.cpp:47:9 | variable 'tokenToString' of type '(lambda at /__w/CTIT/CTIT/test_projects/cppcheck/test/testtokenrange.cpp:47:30)' can be declared 'const' |
| - | test/testtokenrange.cpp:115:9 | variable 'range' of type 'ConstTokenRange' can be declared 'const' |
| - | test/testuninitvar.cpp:5522:9 | pointee of variable 'ctu' of type 'CTU::FileInfo *' can be declared 'const' |
| - | test/testunusedvar.cpp:1638:9 | variable 'tokenList' of type 'simplecpp::TokenList' can be declared 'const' |
| - | test/testunusedvar.cpp:5602:13 | variable 'code' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |
| - | test/testvalueflow.cpp:4483:9 | variable 'value1' of type 'ValueFlow::Value' can be declared 'const' |
| - | test/testvalueflow.cpp:4487:9 | variable 'value2' of type 'ValueFlow::Value' can be declared 'const' |
| - | test/testvarid.cpp:2420:9 | variable 'nr' of type 'std::string' (aka 'basic_string<char>') can be declared 'const' |