cppcheck/lib
chrchr-github 586c29c772
Partial fix for #9157 False negative: stlOutOfBounds, cast (#4527)
* Fix leakNoVarFunctionCall FP

* Partial fix for #9157 False negative: stlOutOfBounds, cast
2022-09-30 14:43:21 +02:00
..
CMakeLists.txt some small cleanups and refactorings (#4488) 2022-09-24 11:59:13 +02:00
analyzer.h use `emptyString` more consistently (#4034) 2022-07-10 10:57:29 +02:00
analyzerinfo.cpp Fix sense of test (.analyzerinfo files get placed in wrong directory) (#4486) 2022-09-21 17:38:23 +02:00
analyzerinfo.h Update Copyrights 2022-08-28 14:22:12 +02:00
astutils.cpp return `SmallVector` from `followAllReferences()` (#3925) 2022-09-29 21:41:32 +02:00
astutils.h astutils.h: use pre-sized SmallVector in visitAstNodes() (#3919) 2022-09-29 21:52:42 +02:00
calculate.h Fix 11053: Integer division by zero in calculate.h (#4092) 2022-05-09 20:27:32 +02:00
check.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
check.h mitigated some clang-tidy warnings in headers (#4472) 2022-09-16 18:59:15 +02:00
check64bit.cpp Update copyright year 2022-02-05 11:45:17 +01:00
check64bit.h Update copyright year 2022-05-21 12:18:27 +02:00
checkassert.cpp Update copyright year 2022-02-05 11:45:17 +01:00
checkassert.h Update copyright year 2022-05-21 12:18:27 +02:00
checkautovariables.cpp Fix #10993 danglingTemporaryLifetime reported in two different locati… (#4462) 2022-09-14 07:28:04 +02:00
checkautovariables.h Fix #10993 danglingTemporaryLifetime reported in two different locati… (#4462) 2022-09-14 07:28:04 +02:00
checkbool.cpp Fix FP bitwiseOnBoolean (#4280) 2022-07-14 20:59:39 +02:00
checkbool.h Fix #4233 FN: Bitwise operation with bool and int (#4266) 2022-07-11 22:58:37 +02:00
checkboost.cpp Update copyright year 2022-02-05 11:45:17 +01:00
checkboost.h Update copyright year 2022-05-21 12:18:27 +02:00
checkbufferoverrun.cpp Fix FP bufferAccessOutOfBounds (#4427) 2022-08-31 19:31:37 +02:00
checkbufferoverrun.h Fix #11145 FP negativeMemoryAllocationSize with possible value (#4387) 2022-08-20 07:56:31 +02:00
checkclass.cpp Fix FP with std::array (#4497) 2022-09-23 20:18:49 +02:00
checkclass.h Fix #1655 wrong usage of std::string in memcpy (#4460) 2022-09-13 15:14:25 +02:00
checkcondition.cpp Fix duplicateConditionalAssign FP (#4484) 2022-09-20 21:57:27 +02:00
checkcondition.h Fix #9406 FN redundant assignment of Boolean variable (#4482) 2022-09-20 07:30:12 +02:00
checkexceptionsafety.cpp Typos fix (#4509) 2022-09-27 06:48:06 +02:00
checkexceptionsafety.h removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
checkfunctions.cpp Fix #9653 FP leakReturnValNotUsed although (void) is specified (#4431) 2022-09-27 20:09:04 +02:00
checkfunctions.h New check: use memcpy/memset instead of loop (#4257) 2022-09-03 23:29:06 +02:00
checkinternal.cpp Update Copyrights 2022-08-28 14:22:12 +02:00
checkinternal.h cleaned up includes based on include-what-you-use (#4502) 2022-09-25 09:20:34 +02:00
checkio.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
checkio.h fixed `modernize-use-equals-delete` warnings in headers (#4177) 2022-06-07 21:25:23 +02:00
checkleakautovar.cpp replaced `static const`/fixed `std::vector` containers with `std::array` (#4440) 2022-09-27 20:06:15 +02:00
checkleakautovar.h Fix #11126 FN: noExplicitConstructor with single default parameter (#4174) 2022-06-07 21:15:13 +02:00
checkmemoryleak.cpp Fix leakNoVarFunctionCall FP (#4523) 2022-09-29 21:58:11 +02:00
checkmemoryleak.h Fix #9653 FP leakReturnValNotUsed although (void) is specified (#4431) 2022-09-27 20:09:04 +02:00
checknullpointer.cpp some small cleanups and refactorings (#4488) 2022-09-24 11:59:13 +02:00
checknullpointer.h use `emptyString` more consistently (#4034) 2022-07-10 10:57:29 +02:00
checkother.cpp Fix #10083 FN unusedScopedObject: temporary lock 'std::lock_guard<std::mutex>(m)' (#4522) 2022-09-30 07:25:33 +02:00
checkother.h Fix 9755: false negative: access of moved variable in conditional code (#4459) 2022-09-11 12:32:01 +02:00
checkpostfixoperator.cpp Update copyright year 2022-02-05 11:45:17 +01:00
checkpostfixoperator.h Update copyright year 2022-05-21 12:18:27 +02:00
checksizeof.cpp Fix #9648 FP sizeofDivisionMemfunc (#4017) 2022-04-13 18:21:56 +02:00
checksizeof.h Update copyright year 2022-05-21 12:18:27 +02:00
checkstl.cpp Partial fix for #9157 False negative: stlOutOfBounds, cast (#4527) 2022-09-30 14:43:21 +02:00
checkstl.h Fix #7515 New check: Not needed c_str() operation (#4371) 2022-08-20 20:52:10 +02:00
checkstring.cpp Fix #11166 inefficient way to remove last character from std::string (#4267) 2022-07-11 23:07:37 +02:00
checkstring.h Update copyright year 2022-05-21 12:18:27 +02:00
checktype.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
checktype.h removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
checkuninitvar.cpp some small cleanups and refactorings (#4488) 2022-09-24 11:59:13 +02:00
checkuninitvar.h Rename old uninitvar ID to use legacyUninitvar (#4043) 2022-04-27 17:37:37 +02:00
checkunusedfunctions.cpp avoid some unnecessary object creations and copies (#4493) 2022-09-29 21:47:17 +02:00
checkunusedfunctions.h enabled functionConst and functionStatic in selfcheck (#3862) 2022-03-02 07:46:47 +01:00
checkunusedvar.cpp Fix #10083 FN unusedScopedObject: temporary lock 'std::lock_guard<std::mutex>(m)' (#4522) 2022-09-30 07:25:33 +02:00
checkunusedvar.h removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
checkvaarg.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
checkvaarg.h Update copyright year 2022-05-21 12:18:27 +02:00
clangimport.cpp mitigated and enabled more clang-tidy warnings (#4470) 2022-09-16 18:58:59 +02:00
clangimport.h LCppC backports: Refactorizations/Optimizations (#4204) 2022-08-21 17:21:02 +02:00
color.cpp Update copyright year 2022-02-05 11:45:17 +01:00
color.h Fix MSVC build and some warnings (#3334) 2021-07-16 21:55:12 +02:00
config.h some `--exception-handling` related improvements (#4368) 2022-08-20 20:54:31 +02:00
cppcheck.cpp avoid some unnecessary object creations and copies (#4493) 2022-09-29 21:47:17 +02:00
cppcheck.h cleaned up includes based on include-what-you-use (#4502) 2022-09-25 09:20:34 +02:00
cppcheck.natvis
cppcheck.vcxproj LCppC backports: Refactorizations/Optimizations (#4204) 2022-08-21 17:21:02 +02:00
cppcheck.vcxproj.filters LCppC backports: Refactorizations/Optimizations (#4204) 2022-08-21 17:21:02 +02:00
ctu.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
ctu.h mitigated some clang-tidy warnings in headers (#4472) 2022-09-16 18:59:15 +02:00
errorlogger.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
errorlogger.h avoid some unnecessary object creations and copies (#4493) 2022-09-29 21:47:17 +02:00
errortypes.cpp enabled and fixed `modernize-pass-by-value` clang-tidy warnings (#4169) 2022-07-28 22:51:45 +02:00
errortypes.h enabled and fixed `modernize-pass-by-value` clang-tidy warnings (#4169) 2022-07-28 22:51:45 +02:00
forwardanalyzer.cpp avoid some unnecessary object creations and copies (#4493) 2022-09-29 21:47:17 +02:00
forwardanalyzer.h Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
importproject.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
importproject.h fixed and enabled some Clang compiler warnings (#4517) 2022-09-29 21:59:02 +02:00
infer.cpp avoid unnecessary copies with `push_back()` and `push_front()` (#4451) 2022-09-08 09:21:35 +02:00
infer.h Update copyright year 2022-02-05 11:45:17 +01:00
lib.pri Remove bug hunting. This feature will be provided in Cppcheck premium. 2022-04-11 07:31:33 +02:00
library.cpp Fix #10083 FN unusedScopedObject: temporary lock 'std::lock_guard<std::mutex>(m)' (#4522) 2022-09-30 07:25:33 +02:00
library.h Fix #10083 FN unusedScopedObject: temporary lock 'std::lock_guard<std::mutex>(m)' (#4522) 2022-09-30 07:25:33 +02:00
matchcompiler.h Update copyright year 2021-09-26 11:34:56 +02:00
mathlib.cpp added missing `sstream` includes (#4381) 2022-08-19 10:16:23 +02:00
mathlib.h mathlib.h: replaced slow `std::ostringstream` with `std::to_string()` in `MathLib::toString()` (#4382) 2022-08-19 20:44:24 +02:00
path.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
path.h Update Copyrights 2022-08-28 14:22:12 +02:00
pathanalysis.cpp Try to stop range overflow in forwardRange() (#4235) 2022-07-09 00:57:44 +02:00
pathanalysis.h enabled functionConst and functionStatic in selfcheck (#3862) 2022-03-02 07:46:47 +01:00
pathmatch.cpp cleaned up includes based on include-what-you-use (#4358) 2022-08-14 12:44:19 +02:00
pathmatch.h enabled and fixed `modernize-pass-by-value` clang-tidy warnings (#4169) 2022-07-28 22:51:45 +02:00
pcrerules.pri
platform.cpp cleaned up includes based on include-what-you-use (#4358) 2022-08-14 12:44:19 +02:00
platform.h Update copyright year 2022-05-21 12:18:27 +02:00
precompiled.h Update copyright year 2022-02-05 11:45:17 +01:00
preprocessor.cpp replaced `static const`/fixed `std::vector` containers with `std::array` (#4440) 2022-09-27 20:06:15 +02:00
preprocessor.h cleaned up includes based on include-what-you-use (#4358) 2022-08-14 12:44:19 +02:00
programmemory.cpp Fix #11020 FP arrayIndexOutOfBounds if string literals are assigned conditionally (#4428) 2022-09-01 22:59:46 +02:00
programmemory.h mitigated some clang-tidy warnings in headers (#4472) 2022-09-16 18:59:15 +02:00
reverseanalyzer.cpp Fix #9861 FN: "static" not suggested for non-const method (#4101) 2022-05-11 20:01:22 +02:00
reverseanalyzer.h Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
settings.cpp fixed #11249 (potential hang with -j and --showtime= when using threads) - synchronized access to `TimerResults::mResults` / added TSAN to CI (#4355) 2022-08-23 20:30:45 +02:00
settings.h fixed #11249 (potential hang with -j and --showtime= when using threads) - synchronized access to `TimerResults::mResults` / added TSAN to CI (#4355) 2022-08-23 20:30:45 +02:00
smallvector.h return `SmallVector` from `followAllReferences()` (#3925) 2022-09-29 21:41:32 +02:00
sourcelocation.h lib/sourcelocation.h: add missing <cstdint> include (#4474) 2022-09-16 21:36:37 +02:00
standards.h added (partial) support for specifying C++23 and support more "-std" options (#3212) 2022-04-15 16:17:36 +02:00
summaries.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
summaries.h Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
suppressions.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
suppressions.h mitigated some clang-tidy warnings in headers (#4472) 2022-09-16 18:59:15 +02:00
symboldatabase.cpp avoid some unnecessary object creations and copies (#4493) 2022-09-29 21:47:17 +02:00
symboldatabase.h mitigated some clang-tidy warnings in headers (#4472) 2022-09-16 18:59:15 +02:00
templatesimplifier.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
templatesimplifier.h Update Copyrights 2022-08-28 14:22:12 +02:00
timer.cpp Update Copyrights 2022-08-28 14:22:12 +02:00
timer.h fixed #11249 (potential hang with -j and --showtime= when using threads) - synchronized access to `TimerResults::mResults` / added TSAN to CI (#4355) 2022-08-23 20:30:45 +02:00
token.cpp Typos fix (#4509) 2022-09-27 06:48:06 +02:00
token.h mitigated some clang-tidy warnings in headers (#4472) 2022-09-16 18:59:15 +02:00
tokenize.cpp Fix #11332 Function::addArguments found argument 'b' with varid 0 wit… (#4506) 2022-09-26 18:21:21 +02:00
tokenize.h cleaned up includes based on include-what-you-use (#4358) 2022-08-14 12:44:19 +02:00
tokenlist.cpp Fix #10839 internalAstError with function returning a function (#4514) 2022-09-29 21:56:26 +02:00
tokenlist.h mitigated some clang-tidy warnings in headers (#4472) 2022-09-16 18:59:15 +02:00
tokenrange.h cleaned up includes based on include-what-you-use (#4502) 2022-09-25 09:20:34 +02:00
utils.cpp fixed some `modernize-use-emplace` false negatives with `std::stack` / removed `internalStlUsage` check (#4346) 2022-08-17 09:50:14 +02:00
utils.h replaced `static const`/fixed `std::vector` containers with `std::array` (#4440) 2022-09-27 20:06:15 +02:00
valueflow.cpp avoid some unnecessary object creations and copies (#4493) 2022-09-29 21:47:17 +02:00
valueflow.h cleaned up includes based on include-what-you-use (#4502) 2022-09-25 09:20:34 +02:00
valueptr.h cleaned up includes based on include-what-you-use (#4502) 2022-09-25 09:20:34 +02:00
version.h added missing version bumps to 2.10 (#4420) 2022-09-09 21:02:04 +02:00
version.rc