cppcheck/test
chrchr-github d717e62ec3
Fix #11371 Detect assignment to temporary (#4571)
* Fix #11371 Detect assignment to temporary

* Use AST

* Warn if type definition is not seen
2022-11-01 11:46:42 +01:00
..
bug-hunting
cfg Fix #9653 FP leakReturnValNotUsed although (void) is specified (#4431) 2022-09-27 20:09:04 +02:00
cli selfcheck : cleaned up some suppressions, fixed warnings and some cleanups (#4436) 2022-09-06 23:11:39 +02:00
synthetic
testsuites
CMakeLists.txt some small cleanups and refactorings (#4488) 2022-09-24 11:59:13 +02:00
options.cpp
options.h Update Copyrights 2022-08-28 14:22:12 +02:00
precompiled.h
redirect.h include all (internal non-generated) headers in clang-tidy checks (#4100) 2022-10-16 13:51:17 +02:00
test.cxx
test64bit.cpp iwyu.yml: use `debian:unstable` to always get latest include-what-you-use / cleaned up includes (#4466) 2022-09-16 07:15:49 +02:00
testanalyzerinformation.cpp Fix sense of test (.analyzerinfo files get placed in wrong directory) (#4486) 2022-09-21 17:38:23 +02:00
testassert.cpp Fixed #9926 (False positive assertWithSideEffects, calling method that has no side effects) 2022-10-12 07:51:50 +02:00
testastutils.cpp iwyu.yml: use `debian:unstable` to always get latest include-what-you-use / cleaned up includes (#4466) 2022-09-16 07:15:49 +02:00
testautovariables.cpp Fix #11362 FP returnDanglingLifetime for pointer to struct member in static array (#4563) 2022-10-22 00:27:30 +02:00
testbool.cpp iwyu.yml: use `debian:unstable` to always get latest include-what-you-use / cleaned up includes (#4466) 2022-09-16 07:15:49 +02:00
testboost.cpp iwyu.yml: use `debian:unstable` to always get latest include-what-you-use / cleaned up includes (#4466) 2022-09-16 07:15:49 +02:00
testbufferoverrun.cpp Fix #11355 FN: arrayIndexOutOfBounds (#4555) 2022-10-18 07:24:24 +02:00
testcharvar.cpp iwyu.yml: use `debian:unstable` to always get latest include-what-you-use / cleaned up includes (#4466) 2022-09-16 07:15:49 +02:00
testclangimport.cpp iwyu.yml: use `debian:unstable` to always get latest include-what-you-use / cleaned up includes (#4466) 2022-09-16 07:15:49 +02:00
testclass.cpp Fix FP with std::array (#4497) 2022-09-23 20:18:49 +02:00
testcmdlineparser.cpp improved `TestCmdlineParser` (#4475) 2022-09-17 18:50:25 +02:00
testcondition.cpp Add tests for #9327, #10597 (#4566) 2022-10-25 19:41:48 +02:00
testconstructors.cpp Add tests for #6504, #11177 (#4494) 2022-09-22 19:41:29 +02:00
testcppcheck.cpp enabled and fixed `readability-named-parameter` clang-tidy warnings (#4487) 2022-09-27 20:03:25 +02:00
testerrorlogger.cpp Cppcheck: Write product name if provided in xml output 2022-07-07 17:35:13 +02:00
testexceptionsafety.cpp iwyu.yml: use `debian:unstable` to always get latest include-what-you-use / cleaned up includes (#4466) 2022-09-16 07:15:49 +02:00
testfilelister.cpp modernized `erase()` calls (#4530) 2022-10-02 07:13:31 +02:00
testfunctions.cpp Typo found in Summary of CWE: 758 (#4553) 2022-10-20 19:11:15 +02:00
testgarbage.cpp iwyu.yml: use `debian:unstable` to always get latest include-what-you-use / cleaned up includes (#4466) 2022-09-16 07:15:49 +02:00
testimportproject.cpp Fixed #11102 (False positive: unreadVariable when union in derived struct is used) 2022-10-11 20:47:07 +02:00
testincompletestatement.cpp Fix #11359 FP constStatement for function-local struct definition+initialization statement (#4561) 2022-10-22 00:27:19 +02:00
testinternal.cpp added more missing `sstream` includes (#4384) 2022-08-19 18:23:15 +02:00
testio.cpp iwyu.yml: use `debian:unstable` to always get latest include-what-you-use / cleaned up includes (#4466) 2022-09-16 07:15:49 +02:00
testleakautovar.cpp iwyu.yml: use `debian:unstable` to always get latest include-what-you-use / cleaned up includes (#4466) 2022-09-16 07:15:49 +02:00
testlibrary.cpp applied clang-tidy `misc-const-correctness` fixes for POD types, iterators and references (#4529) 2022-10-02 07:12:40 +02:00
testmathlib.cpp Fix #11368 FP "Same value in both branches of ternary operator" on plus and minus zero (#4569) 2022-10-31 15:18:25 +01:00
testmemleak.cpp Fix leakNoVarFunctionCall FP (#4523) 2022-09-29 21:58:11 +02:00
testnullpointer.cpp Fix ctunullpointer FP (#4471) 2022-09-16 12:11:34 +02:00
testoptions.cpp
testother.cpp Fix #11371 Detect assignment to temporary (#4571) 2022-11-01 11:46:42 +01:00
testpath.cpp Fixed whole program analysis 2022-07-12 22:58:52 +02:00
testpathmatch.cpp
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 iwyu.yml: use `debian:unstable` to always get latest include-what-you-use / cleaned up includes (#4466) 2022-09-16 07:15:49 +02:00
testpreprocessor.cpp iwyu.yml: use `debian:unstable` to always get latest include-what-you-use / cleaned up includes (#4466) 2022-09-16 07:15:49 +02:00
testprocessexecutor.cpp iwyu.yml: use `debian:unstable` to always get latest include-what-you-use / cleaned up includes (#4466) 2022-09-16 07:15:49 +02:00
testrunner.cpp
testrunner.vcxproj LCppC backports: Refactorizations/Optimizations (#4204) 2022-08-21 17:21:02 +02:00
testrunner.vcxproj.filters LCppC backports: Refactorizations/Optimizations (#4204) 2022-08-21 17:21:02 +02:00
testsimplifytemplate.cpp #11351 follow-up: Handle more variadic template arguments (#4554) 2022-10-22 00:28:33 +02:00
testsimplifytokens.cpp Fix #11359 FP constStatement for function-local struct definition+initialization statement (#4561) 2022-10-22 00:27:19 +02:00
testsimplifytypedef.cpp Handle simple typedefs (#4558) 2022-10-22 00:28:05 +02:00
testsimplifyusing.cpp iwyu.yml: use `debian:unstable` to always get latest include-what-you-use / cleaned up includes (#4466) 2022-09-16 07:15:49 +02:00
testsizeof.cpp iwyu.yml: use `debian:unstable` to always get latest include-what-you-use / cleaned up includes (#4466) 2022-09-16 07:15:49 +02:00
teststl.cpp Fix #10412 FN useStlAlgorithm with iterators (#4157) 2022-10-16 13:46:26 +02:00
teststring.cpp iwyu.yml: use `debian:unstable` to always get latest include-what-you-use / cleaned up includes (#4466) 2022-09-16 07:15:49 +02:00
testsuite.cpp applied clang-tidy `misc-const-correctness` fixes for POD types, iterators and references (#4529) 2022-10-02 07:12:40 +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 iwyu.yml: use `debian:unstable` to always get latest include-what-you-use / cleaned up includes (#4466) 2022-09-16 07:15:49 +02:00
testsuppressions.cpp Fix #10412 FN useStlAlgorithm with iterators (#4157) 2022-10-16 13:46:26 +02:00
testsymboldatabase.cpp Fix #10412 FN useStlAlgorithm with iterators (#4157) 2022-10-16 13:46:26 +02:00
testthreadexecutor.cpp iwyu.yml: use `debian:unstable` to always get latest include-what-you-use / cleaned up includes (#4466) 2022-09-16 07:15:49 +02:00
testtimer.cpp
testtoken.cpp Fix #10412 FN useStlAlgorithm with iterators (#4157) 2022-10-16 13:46:26 +02:00
testtokenize.cpp Fix #11369 Syntax error. Unexpected tokens in initializer. (#4568) 2022-10-29 21:24:50 +02:00
testtokenlist.cpp iwyu.yml: use `debian:unstable` to always get latest include-what-you-use / cleaned up includes (#4466) 2022-09-16 07:15:49 +02:00
testtokenrange.cpp iwyu.yml: use `debian:unstable` to always get latest include-what-you-use / cleaned up includes (#4466) 2022-09-16 07:15:49 +02:00
testtype.cpp iwyu.yml: use `debian:unstable` to always get latest include-what-you-use / cleaned up includes (#4466) 2022-09-16 07:15:49 +02:00
testuninitvar.cpp Fix #11321 FP uninitvar for in-class member initialization (#4547) 2022-10-14 19:48:27 +02:00
testunusedfunctions.cpp various optimizations (#4535) 2022-10-06 20:12:07 +02:00
testunusedprivfunc.cpp iwyu.yml: use `debian:unstable` to always get latest include-what-you-use / cleaned up includes (#4466) 2022-09-16 07:15:49 +02:00
testunusedvar.cpp Add tests for #9327, #10597 (#4566) 2022-10-25 19:41:48 +02:00
testutils.cpp fixed handling of incomplete char/string literals in `isPrefixStringCharLiteral()` - also optimized it a bit (#4541) 2022-10-09 11:19:19 +02:00
testutils.h enabled and fixed `readability-named-parameter` clang-tidy warnings (#4487) 2022-09-27 20:03:25 +02:00
testvaarg.cpp iwyu.yml: use `debian:unstable` to always get latest include-what-you-use / cleaned up includes (#4466) 2022-09-16 07:15:49 +02:00
testvalueflow.cpp Fix #10412 FN useStlAlgorithm with iterators (#4157) 2022-10-16 13:46:26 +02:00
testvarid.cpp #11134 Fix broken AST with (designated) initializers (#4550) 2022-10-19 07:25:15 +02:00