cppcheck/test
chrchr-github d351a97a0f
Fix #8336 FN stlcstrParam (#4389)
* Fix #7515 New check: Not needed c_str() operation

* Comment

* Fix error messages

* Handle more complex string expressions

* Fix #8336 FN stlcstrParam

* Handle iterators

* Format

* Format

* Parentheses
2022-08-21 13:04:43 +02:00
..
bug-hunting Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
cfg Partial fix for #10057 unused variable without assignment not detected (#4348) 2022-08-13 08:29:06 +02:00
cli Fixed #11172 (Unmatched suppression for inline suppression even though --suppress=unmatchedSuppression is used) 2022-07-12 22:51:26 +02:00
synthetic Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
testsuites Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
CMakeLists.txt some `missingInclude`/`missingIncludeSystem` fixes and tests (#4027) 2022-07-09 23:21:11 +02:00
options.cpp Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
options.h fixed `modernize-use-equals-delete` warnings in headers (#4177) 2022-06-07 21:25:23 +02:00
precompiled.h Update Copyright year 2021-03-21 20:58:32 +01:00
redirect.h Update copyright year 2021-09-26 11:34:56 +02:00
test.cxx
test64bit.cpp added more missing `sstream` includes (#4384) 2022-08-19 18:23:15 +02:00
testanalyzerinformation.cpp added more missing `sstream` includes (#4384) 2022-08-19 18:23:15 +02:00
testassert.cpp added more missing `sstream` includes (#4384) 2022-08-19 18:23:15 +02:00
testastutils.cpp added more missing `sstream` includes (#4384) 2022-08-19 18:23:15 +02:00
testautovariables.cpp added more missing `sstream` includes (#4384) 2022-08-19 18:23:15 +02:00
testbool.cpp added more missing `sstream` includes (#4384) 2022-08-19 18:23:15 +02:00
testboost.cpp added more missing `sstream` includes (#4384) 2022-08-19 18:23:15 +02:00
testbufferoverrun.cpp Fix #11145 FP negativeMemoryAllocationSize with possible value (#4387) 2022-08-20 07:56:31 +02:00
testcharvar.cpp added more missing `sstream` includes (#4384) 2022-08-19 18:23:15 +02:00
testclangimport.cpp added more missing `sstream` includes (#4384) 2022-08-19 18:23:15 +02:00
testclass.cpp Fix #11167 FP virtual call in destructor even though class is final / Delete 'final' from specializations (#4383) 2022-08-19 18:26:00 +02:00
testcmdlineparser.cpp some `--exception-handling` related improvements (#4368) 2022-08-20 20:54:31 +02:00
testcondition.cpp Add test for #9817 (#4388) 2022-08-20 19:23:55 +02:00
testconstructors.cpp added more missing `sstream` includes (#4384) 2022-08-19 18:23:15 +02:00
testcppcheck.cpp Remove bug hunting. This feature will be provided in Cppcheck premium. 2022-04-11 07:31:33 +02:00
testerrorlogger.cpp Cppcheck: Write product name if provided in xml output 2022-07-07 17:35:13 +02:00
testexceptionsafety.cpp added more missing `sstream` includes (#4384) 2022-08-19 18:23:15 +02:00
testfilelister.cpp removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
testfunctions.cpp added more missing `sstream` includes (#4384) 2022-08-19 18:23:15 +02:00
testgarbage.cpp added more missing `sstream` includes (#4384) 2022-08-19 18:23:15 +02:00
testimportproject.cpp added more missing `sstream` includes (#4384) 2022-08-19 18:23:15 +02:00
testincompletestatement.cpp added more missing `sstream` includes (#4384) 2022-08-19 18:23:15 +02:00
testinternal.cpp added more missing `sstream` includes (#4384) 2022-08-19 18:23:15 +02:00
testio.cpp added more missing `sstream` includes (#4384) 2022-08-19 18:23:15 +02:00
testleakautovar.cpp added more missing `sstream` includes (#4384) 2022-08-19 18:23:15 +02:00
testlibrary.cpp refs #10663 - sped up `Library::detectContainerOrIterator()` by iterating the containers only once (#4380) 2022-08-20 12:14:55 +02:00
testmathlib.cpp mathlib.h: replaced slow `std::ostringstream` with `std::to_string()` in `MathLib::toString()` (#4382) 2022-08-19 20:44:24 +02:00
testmemleak.cpp added more missing `sstream` includes (#4384) 2022-08-19 18:23:15 +02:00
testnullpointer.cpp added more missing `sstream` includes (#4384) 2022-08-19 18:23:15 +02:00
testoptions.cpp removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
testother.cpp added more missing `sstream` includes (#4384) 2022-08-19 18:23:15 +02:00
testpath.cpp Fixed whole program analysis 2022-07-12 22:58:52 +02:00
testpathmatch.cpp removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
testplatform.cpp Implemented error handling in cppcheck::Platform::loadFromXmlDocument(), enabled related unit test (#8409) (#4181) 2022-06-08 12:35:23 +02:00
testpostfixoperator.cpp added more missing `sstream` includes (#4384) 2022-08-19 18:23:15 +02:00
testpreprocessor.cpp added more missing `sstream` includes (#4384) 2022-08-19 18:23:15 +02:00
testprocessexecutor.cpp added more missing `sstream` includes (#4384) 2022-08-19 18:23:15 +02:00
testrunner.cpp Update copyright year 2022-02-05 11:45:17 +01:00
testrunner.vcxproj cppcheckexecutor.cpp: extracted platform-dependent code into separate files (#4359) 2022-08-16 22:03:44 +02:00
testrunner.vcxproj.filters Remove bug hunting. This feature will be provided in Cppcheck premium. 2022-04-11 07:31:33 +02:00
testsimplifytemplate.cpp Fix #11167 FP virtual call in destructor even though class is final / Delete 'final' from specializations (#4383) 2022-08-19 18:26:00 +02:00
testsimplifytokens.cpp added more missing `sstream` includes (#4384) 2022-08-19 18:23:15 +02:00
testsimplifytypedef.cpp Fix #9282 FP Unused private function (#4327) 2022-08-07 20:06:32 +02:00
testsimplifyusing.cpp added more missing `sstream` includes (#4384) 2022-08-19 18:23:15 +02:00
testsizeof.cpp added more missing `sstream` includes (#4384) 2022-08-19 18:23:15 +02:00
teststl.cpp Fix #8336 FN stlcstrParam (#4389) 2022-08-21 13:04:43 +02:00
teststring.cpp added more missing `sstream` includes (#4384) 2022-08-19 18:23:15 +02:00
testsuite.cpp added more missing `sstream` includes (#4384) 2022-08-19 18:23:15 +02:00
testsuite.h Remove bug hunting. This feature will be provided in Cppcheck premium. 2022-04-11 07:31:33 +02:00
testsummaries.cpp added more missing `sstream` includes (#4384) 2022-08-19 18:23:15 +02:00
testsuppressions.cpp added more missing `sstream` includes (#4384) 2022-08-19 18:23:15 +02:00
testsymboldatabase.cpp Fix #9282 FP Unused private function (#4327) 2022-08-07 20:06:32 +02:00
testthreadexecutor.cpp added more missing `sstream` includes (#4384) 2022-08-19 18:23:15 +02:00
testtimer.cpp removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
testtoken.cpp added more missing `sstream` includes (#4384) 2022-08-19 18:23:15 +02:00
testtokenize.cpp Fix #10138 syntax error : int (operator"" _ii)(unsigned long long v) … (#4374) 2022-08-18 23:38:45 +02:00
testtokenlist.cpp added more missing `sstream` includes (#4384) 2022-08-19 18:23:15 +02:00
testtokenrange.cpp added more missing `sstream` includes (#4384) 2022-08-19 18:23:15 +02:00
testtype.cpp added more missing `sstream` includes (#4384) 2022-08-19 18:23:15 +02:00
testuninitvar.cpp Correctly interpret boolean literals in `execute()` (#4251) 2022-07-08 12:39:29 +02:00
testunusedfunctions.cpp Fix #10661 FP extern function reported as unused (#4279) 2022-07-14 20:59:58 +02:00
testunusedprivfunc.cpp added more missing `sstream` includes (#4384) 2022-08-19 18:23:15 +02:00
testunusedvar.cpp added more missing `sstream` includes (#4384) 2022-08-19 18:23:15 +02:00
testutils.cpp Update copyright year 2022-05-21 12:18:27 +02:00
testutils.h added more missing `sstream` includes (#4384) 2022-08-19 18:23:15 +02:00
testvaarg.cpp added more missing `sstream` includes (#4384) 2022-08-19 18:23:15 +02:00
testvalueflow.cpp added more missing `sstream` includes (#4384) 2022-08-19 18:23:15 +02:00
testvarid.cpp Fix #11167 FP virtual call in destructor even though class is final / Delete 'final' from specializations (#4383) 2022-08-19 18:26:00 +02:00