cppcheck/lib
Daniel Marjamäki e35d5d3ceb
Fix #11882 (add --premium=misra-c-2023 option) (#5363)
2023-08-23 10:28:02 +02:00
..
CMakeLists.txt fixed/suppressed several compiler warnings (#5327) 2023-08-16 19:35:53 +02:00
analyzer.h enabled and mitigated `modernize-use-equals-default` clang-tidy warnings / removed unnecessary default destructors (#5335) 2023-08-16 17:13:36 +02:00
analyzerinfo.cpp avoid some unchecked pointer dereferences (#4811) 2023-03-02 22:05:41 +01:00
analyzerinfo.h avoid some unchecked pointer dereferences (#4811) 2023-03-02 22:05:41 +01:00
astutils.cpp Fix 11887: FP knownPointerToBool with const_cast (#5357) 2023-08-23 01:07:49 +02:00
astutils.h Fix #11881 FP returnStdMoveLocal / Fix FP incorrectStringBooleanError / Support std::string::starts/ends_with() (#5347) 2023-08-21 10:43:54 +02:00
calculate.h some `-Wdouble-promotion` Clang compiler warnings (#4820) 2023-08-07 20:44:25 +02:00
check.cpp renamed `Check::reportError(const ErrorMessage&)` to `writeToErrorList()` to reflect its actual behavior (#5322) 2023-08-18 13:45:25 +02:00
check.h renamed `Check::reportError(const ErrorMessage&)` to `writeToErrorList()` to reflect its actual behavior (#5322) 2023-08-18 13:45:25 +02:00
check64bit.cpp Update copyright year 2022-02-05 11:45:17 +01:00
check64bit.h removed unnecessary `Settings` parameter from `Check::runChecks()` and made `Tokenizer` a reference (#5308) 2023-08-18 12:03:50 +02:00
checkassert.cpp Update copyright year 2023-01-28 10:16:34 +01:00
checkassert.h removed unnecessary `Settings` parameter from `Check::runChecks()` and made `Tokenizer` a reference (#5308) 2023-08-18 12:03:50 +02:00
checkautovariables.cpp Fix autovarInvalidDeallocation regression (#5203) 2023-06-29 07:42:53 +02:00
checkautovariables.h removed unnecessary `Settings` parameter from `Check::runChecks()` and made `Tokenizer` a reference (#5308) 2023-08-18 12:03:50 +02:00
checkbool.cpp Update copyright year 2023-01-28 10:16:34 +01:00
checkbool.h removed unnecessary `Settings` parameter from `Check::runChecks()` and made `Tokenizer` a reference (#5308) 2023-08-18 12:03:50 +02:00
checkboost.cpp Update copyright year 2022-02-05 11:45:17 +01:00
checkboost.h removed unnecessary `Settings` parameter from `Check::runChecks()` and made `Tokenizer` a reference (#5308) 2023-08-18 12:03:50 +02:00
checkbufferoverrun.cpp fixed #6316 (Use std::to_string() in place of MathLib::toString() ...) - deleted default implementation of `Mathlib::toString()` (#5341) 2023-08-17 16:46:32 +02:00
checkbufferoverrun.h removed unnecessary `Settings` parameter from `Check::runChecks()` and made `Tokenizer` a reference (#5308) 2023-08-18 12:03:50 +02:00
checkclass.cpp fixes #11104 (avoid C++-only parsing when processing C code in parsedecl()) / also avoid remaining `Library::detect*()` calls (#5346) 2023-08-18 22:48:24 +02:00
checkclass.h removed unnecessary `Settings` parameter from `Check::runChecks()` and made `Tokenizer` a reference (#5308) 2023-08-18 12:03:50 +02:00
checkcondition.cpp Fix 11887: FP knownPointerToBool with const_cast (#5357) 2023-08-23 01:07:49 +02:00
checkcondition.h Fix 11579: false negative: knownConditionTrueFalse with non-bool as bool parameter (#5349) 2023-08-20 22:32:41 +02:00
checkexceptionsafety.cpp Enable and mitigate readability-else-after-return (#5175) 2023-06-20 18:43:21 +02:00
checkexceptionsafety.h removed unnecessary `Settings` parameter from `Check::runChecks()` and made `Tokenizer` a reference (#5308) 2023-08-18 12:03:50 +02:00
checkfunctions.cpp Fix #11881 FP returnStdMoveLocal / Fix FP incorrectStringBooleanError / Support std::string::starts/ends_with() (#5347) 2023-08-21 10:43:54 +02:00
checkfunctions.h removed unnecessary `Settings` parameter from `Check::runChecks()` and made `Tokenizer` a reference (#5308) 2023-08-18 12:03:50 +02:00
checkinternal.cpp Enable and mitigate readability-else-after-return (#5175) 2023-06-20 18:43:21 +02:00
checkinternal.h removed unnecessary `Settings` parameter from `Check::runChecks()` and made `Tokenizer` a reference (#5308) 2023-08-18 12:03:50 +02:00
checkio.cpp Use in-class initializers, default constructors, class -> struct (#4842) 2023-08-08 11:05:02 +02:00
checkio.h removed unnecessary `Settings` parameter from `Check::runChecks()` and made `Tokenizer` a reference (#5308) 2023-08-18 12:03:50 +02:00
checkleakautovar.cpp Fix FP deallocuse (#5183) 2023-06-23 18:21:53 +02:00
checkleakautovar.h removed unnecessary `Settings` parameter from `Check::runChecks()` and made `Tokenizer` a reference (#5308) 2023-08-18 12:03:50 +02:00
checkmemoryleak.cpp renamed `Check::reportError(const ErrorMessage&)` to `writeToErrorList()` to reflect its actual behavior (#5322) 2023-08-18 13:45:25 +02:00
checkmemoryleak.h removed unnecessary `Settings` parameter from `Check::runChecks()` and made `Tokenizer` a reference (#5308) 2023-08-18 12:03:50 +02:00
checknullpointer.cpp Enable and mitigate readability-else-after-return (#5175) 2023-06-20 18:43:21 +02:00
checknullpointer.h removed unnecessary `Settings` parameter from `Check::runChecks()` and made `Tokenizer` a reference (#5308) 2023-08-18 12:03:50 +02:00
checkother.cpp Fix 11579: false negative: knownConditionTrueFalse with non-bool as bool parameter (#5349) 2023-08-20 22:32:41 +02:00
checkother.h Fix 11579: false negative: knownConditionTrueFalse with non-bool as bool parameter (#5349) 2023-08-20 22:32:41 +02:00
checkpostfixoperator.cpp Update copyright year 2022-02-05 11:45:17 +01:00
checkpostfixoperator.h removed unnecessary `Settings` parameter from `Check::runChecks()` and made `Tokenizer` a reference (#5308) 2023-08-18 12:03:50 +02:00
checksizeof.cpp cleaned up includes based on include-what-you-use / iwyu.yml: updated to yet another distro to get the latest version and updated the Chaotic-AUR key (#5267) 2023-08-02 10:36:17 +02:00
checksizeof.h removed unnecessary `Settings` parameter from `Check::runChecks()` and made `Tokenizer` a reference (#5308) 2023-08-18 12:03:50 +02:00
checkstl.cpp fixed #6316 (Use std::to_string() in place of MathLib::toString() ...) - deleted default implementation of `Mathlib::toString()` (#5341) 2023-08-17 16:46:32 +02:00
checkstl.h removed unnecessary `Settings` parameter from `Check::runChecks()` and made `Tokenizer` a reference (#5308) 2023-08-18 12:03:50 +02:00
checkstring.cpp Fix FP incorrectStringBooleanError with macro (#5358) 2023-08-22 19:33:24 +02:00
checkstring.h removed unnecessary `Settings` parameter from `Check::runChecks()` and made `Tokenizer` a reference (#5308) 2023-08-18 12:03:50 +02:00
checktype.cpp fixes #11104 (avoid C++-only parsing when processing C code in parsedecl()) / also avoid remaining `Library::detect*()` calls (#5346) 2023-08-18 22:48:24 +02:00
checktype.h removed unnecessary `Settings` parameter from `Check::runChecks()` and made `Tokenizer` a reference (#5308) 2023-08-18 12:03:50 +02:00
checkuninitvar.cpp Add special function to match lifetimes (#5320) 2023-08-14 10:27:00 +02:00
checkuninitvar.h removed unnecessary `Settings` parameter from `Check::runChecks()` and made `Tokenizer` a reference (#5308) 2023-08-18 12:03:50 +02:00
checkunusedfunctions.cpp renamed `Check::reportError(const ErrorMessage&)` to `writeToErrorList()` to reflect its actual behavior (#5322) 2023-08-18 13:45:25 +02:00
checkunusedfunctions.h removed unnecessary `Settings` parameter from `Check::runChecks()` and made `Tokenizer` a reference (#5308) 2023-08-18 12:03:50 +02:00
checkunusedvar.cpp Fix #11879 FN unreadVariable (regression) (#5345) 2023-08-21 10:44:17 +02:00
checkunusedvar.h removed unnecessary `Settings` parameter from `Check::runChecks()` and made `Tokenizer` a reference (#5308) 2023-08-18 12:03:50 +02:00
checkvaarg.cpp Update copyright year 2023-01-28 10:16:34 +01:00
checkvaarg.h removed unnecessary `Settings` parameter from `Check::runChecks()` and made `Tokenizer` a reference (#5308) 2023-08-18 12:03:50 +02:00
clangimport.cpp fixes #11104 (avoid C++-only parsing when processing C code in parsedecl()) / also avoid remaining `Library::detect*()` calls (#5346) 2023-08-18 22:48:24 +02:00
clangimport.h LCppC backports: Refactorizations/Optimizations (#4204) 2022-08-21 17:21:02 +02:00
color.cpp Update copyright year 2023-06-21 19:58:11 +02:00
color.h Update copyright year 2023-06-21 19:58:11 +02:00
config.h fixed/suppressed several compiler warnings (#5327) 2023-08-16 19:35:53 +02:00
cppcheck.cpp Fix #11882 (add --premium=misra-c-2023 option) (#5363) 2023-08-23 10:28:02 +02:00
cppcheck.h fixed/suppressed several compiler warnings (#5327) 2023-08-16 19:35:53 +02:00
cppcheck.natvis added .gitattributes and normalized files (#4668) 2022-12-30 21:33:45 +01:00
cppcheck.vcxproj fixed/suppressed several compiler warnings (#5327) 2023-08-16 19:35:53 +02:00
cppcheck.vcxproj.filters extracted `ValueFlow::Value` to `vfvalue.{cpp|h}` (#4642) 2023-01-26 22:23:22 +01:00
ctu.cpp fixed #6316 (Use std::to_string() in place of MathLib::toString() ...) - deleted default implementation of `Mathlib::toString()` (#5341) 2023-08-17 16:46:32 +02:00
ctu.h enabled and mitigated `modernize-use-equals-default` clang-tidy warnings / removed unnecessary default destructors (#5335) 2023-08-16 17:13:36 +02:00
errorlogger.cpp renamed `Check::reportError(const ErrorMessage&)` to `writeToErrorList()` to reflect its actual behavior (#5322) 2023-08-18 13:45:25 +02:00
errorlogger.h moved suppression-specific code out of `ErrorLogger` (#5329) 2023-08-18 11:55:23 +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 removed `experimental` and `safe` from `Certainty` (#4819) 2023-03-12 14:15:29 +01:00
forwardanalyzer.cpp Fix 11579: false negative: knownConditionTrueFalse with non-bool as bool parameter (#5349) 2023-08-20 22:32:41 +02:00
forwardanalyzer.h Update copyright year 2023-06-21 19:58:11 +02:00
fwdanalysis.cpp Fix #11139, #11817 FP unreadVariable (#5221) 2023-07-07 20:18:15 +02:00
fwdanalysis.h Use in-class initializers, default constructors, class -> struct (#4842) 2023-08-08 11:05:02 +02:00
importproject.cpp fixed/suppressed several compiler warnings (#5327) 2023-08-16 19:35:53 +02:00
importproject.h Use in-class initializers, default constructors, class -> struct (#4842) 2023-08-08 11:05:02 +02:00
infer.cpp Enable and mitigate readability-else-after-return (#5175) 2023-06-20 18:43:21 +02:00
infer.h enabled and mitigated `modernize-use-equals-default` clang-tidy warnings / removed unnecessary default destructors (#5335) 2023-08-16 17:13:36 +02:00
json.h fixed/suppressed several compiler warnings (#5327) 2023-08-16 19:35:53 +02:00
keywords.cpp fixed/suppressed several compiler warnings (#5327) 2023-08-16 19:35:53 +02:00
keywords.h added clean C/C++ keyword lists and use them in `TokenList` (#3774) 2023-02-24 21:43:27 +01:00
lib.pri fixed/suppressed several compiler warnings (#5327) 2023-08-16 19:35:53 +02:00
library.cpp optimized `Library::detectContainerInternal()` a bit (#5333) 2023-08-16 11:10:38 +02:00
library.h optimized `Library::detectContainerInternal()` a bit (#5333) 2023-08-16 11:10:38 +02:00
matchcompiler.h Update copyright year 2021-09-26 11:34:56 +02:00
mathlib.cpp fixed #6316 (Use std::to_string() in place of MathLib::toString() ...) - deleted default implementation of `Mathlib::toString()` (#5341) 2023-08-17 16:46:32 +02:00
mathlib.h fixed #6316 (Use std::to_string() in place of MathLib::toString() ...) - deleted default implementation of `Mathlib::toString()` (#5341) 2023-08-17 16:46:32 +02:00
path.cpp Check if --cppcheck-build-dir exists (#5254) 2023-08-04 17:38:43 +02:00
path.h Check if --cppcheck-build-dir exists (#5254) 2023-08-04 17:38:43 +02:00
pathanalysis.cpp Enable and mitigate readability-else-after-return (#5175) 2023-06-20 18:43:21 +02:00
pathanalysis.h Update copyright year 2023-06-21 19:58:11 +02:00
pathmatch.cpp Update copyright year 2023-01-28 10:16:34 +01: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 made `Platform` a member of `Settings` instead of inheriting from it / cleanups (#4791) 2023-03-03 18:36:27 +01:00
platform.h made `Platform` a member of `Settings` instead of inheriting from it / cleanups (#4791) 2023-03-03 18:36:27 +01:00
precompiled.h Update copyright year 2023-06-21 19:58:11 +02:00
preprocessor.cpp dump file: fix xml format error in <macro> (#5095) 2023-05-30 14:51:11 +02:00
preprocessor.h Update copyright year 2023-06-21 19:58:11 +02:00
programmemory.cpp Use in-class initializers, default constructors, class -> struct (#4842) 2023-08-08 11:05:02 +02:00
programmemory.h fixed some CLion inspection warnings (#4688) 2023-04-28 16:02:41 +02:00
reverseanalyzer.cpp Fix 11505: FP zerodivcond with modulo (#5192) 2023-06-25 20:38:32 +02:00
reverseanalyzer.h Update copyright year 2023-06-21 19:58:11 +02:00
settings.cpp fixed/suppressed several compiler warnings (#5327) 2023-08-16 19:35:53 +02:00
settings.h avoid some redundant and unused settings in tests among other cleanups / added and used `WARN_UNUSED` attribute (#5284) 2023-08-09 12:43:55 +02:00
smallvector.h Add missing rebinding trait to TaggedAllocator (complete #5015) (#5146) 2023-06-13 11:22:43 +02:00
sourcelocation.h Update copyright year 2023-01-28 10:16:34 +01:00
standards.h Use in-class initializers, default constructors, class -> struct (#4842) 2023-08-08 11:05:02 +02:00
summaries.cpp fixed and enabled `performance-faster-string-find` clang-tidy warning (#4769) 2023-02-08 21:01:51 +01:00
summaries.h
suppressions.cpp moved suppression-specific code out of `ErrorLogger` (#5329) 2023-08-18 11:55:23 +02:00
suppressions.h moved suppression-specific code out of `ErrorLogger` (#5329) 2023-08-18 11:55:23 +02:00
symboldatabase.cpp Fix #11886 performance regression (hang) in 2.12dev (#5355) 2023-08-22 21:01:52 +02:00
symboldatabase.h fixes #11104 (avoid C++-only parsing when processing C code in parsedecl()) / also avoid remaining `Library::detect*()` calls (#5346) 2023-08-18 22:48:24 +02:00
templatesimplifier.cpp enabled and mitigated `readability-container-size-empty` clang-tidy warnings (#5340) 2023-08-17 17:01:08 +02:00
templatesimplifier.h enabled and mitigated `modernize-use-equals-default` clang-tidy warnings / removed unnecessary default destructors (#5335) 2023-08-16 17:13:36 +02:00
timer.cpp Use in-class initializers, default constructors, class -> struct (#4842) 2023-08-08 11:05:02 +02:00
timer.h enabled and mitigated `modernize-use-equals-default` clang-tidy warnings / removed unnecessary default destructors (#5335) 2023-08-16 17:13:36 +02:00
token.cpp Fix 11579: false negative: knownConditionTrueFalse with non-bool as bool parameter (#5349) 2023-08-20 22:32:41 +02:00
token.h Fix 11579: false negative: knownConditionTrueFalse with non-bool as bool parameter (#5349) 2023-08-20 22:32:41 +02:00
tokenize.cpp renamed `Check::reportError(const ErrorMessage&)` to `writeToErrorList()` to reflect its actual behavior (#5322) 2023-08-18 13:45:25 +02:00
tokenize.h Use in-class initializers, default constructors, class -> struct (#4842) 2023-08-08 11:05:02 +02:00
tokenlist.cpp Fix #11579 FN knownConditionTrueFalse with non-bool as bool parameter / #9450 string literal to bool conversion in function call (#5338) 2023-08-18 10:32:52 +02:00
tokenlist.h Use in-class initializers, default constructors, class -> struct (#4842) 2023-08-08 11:05:02 +02:00
tokenrange.h Update copyright year 2023-01-28 10:16:34 +01:00
utils.cpp iwyu.yml: use a distro which has the latest `include-what-you-use` / enabled Qt mappings / cleaned up includes (#4885) 2023-04-08 16:08:47 +02:00
utils.h do not use string-to-integer conversions without error handling (#4906) 2023-04-08 22:29:09 +02:00
valueflow.cpp Fix #11886 performance regression (hang) in 2.12dev (#5355) 2023-08-22 21:01:52 +02:00
valueflow.h Use in-class initializers, default constructors, class -> struct (#4842) 2023-08-08 11:05:02 +02:00
valueptr.h enabled and mitigated `modernize-use-equals-default` clang-tidy warnings / removed unnecessary default destructors (#5335) 2023-08-16 17:13:36 +02:00
version.h lib/version.h: add fix version option (#5216) 2023-07-02 18:13:28 +02:00
version.rc added .gitattributes and normalized files (#4668) 2022-12-30 21:33:45 +01:00
vfvalue.cpp fixed #6316 (Use std::to_string() in place of MathLib::toString() ...) - deleted default implementation of `Mathlib::toString()` (#5341) 2023-08-17 16:46:32 +02:00
vfvalue.h Use in-class initializers, default constructors, class -> struct (#4842) 2023-08-08 11:05:02 +02:00