Commit Graph

  • a92b10ca3b
    fixes #11104 (avoid C++-only parsing when processing C code in parsedecl()) / also avoid remaining `Library::detect*()` calls (#5346) Oliver Stöneberg 2023-08-18 22:48:24 +0200
  • 41bdd87d30
    Fix #11875: hang in hasBorrowingVariables() (#5337) chrchr-github 2023-08-18 21:02:08 +0200
  • 74c4daaadf
    optimized `Token::Match()` a bit by always inlining `Token::multiCompare()` (#5332) Oliver Stöneberg 2023-08-18 20:41:50 +0200
  • e669b102f8
    renamed `Check::reportError(const ErrorMessage&)` to `writeToErrorList()` to reflect its actual behavior (#5322) Oliver Stöneberg 2023-08-18 13:45:25 +0200
  • bfb50ca9d8
    removed unnecessary `Settings` parameter from `Check::runChecks()` and made `Tokenizer` a reference (#5308) Oliver Stöneberg 2023-08-18 12:03:50 +0200
  • 1bedf4434d
    CmdLineParser: deprecated `--template <template>` and `--template-location <template>` (#5331) Oliver Stöneberg 2023-08-18 11:59:40 +0200
  • c7f88db90a
    CmdLineParser: deprecated `--template <template>` and `--template-location <template>` (#5331) Oliver Stöneberg 2023-08-18 11:59:14 +0200
  • 33dee83c21
    moved suppression-specific code out of `ErrorLogger` (#5329) Oliver Stöneberg 2023-08-18 11:55:23 +0200
  • 7f22ef4e14
    Set ValueType for auto with ternary (#5304) chrchr-github 2023-08-18 10:33:26 +0200
  • 827e87afe7
    Fix #11579 FN knownConditionTrueFalse with non-bool as bool parameter / #9450 string literal to bool conversion in function call (#5338) chrchr-github 2023-08-18 10:32:52 +0200
  • 5dbcea3f1d
    enabled and mitigated `readability-container-size-empty` clang-tidy warnings (#5340) Oliver Stöneberg 2023-08-17 17:01:08 +0200
  • 3cf9100198
    fixed #6316 (Use std::to_string() in place of MathLib::toString() ...) - deleted default implementation of `Mathlib::toString()` (#5341) Oliver Stöneberg 2023-08-17 16:46:32 +0200
  • d8b44dff56
    fixed/suppressed several compiler warnings (#5327) Oliver Stöneberg 2023-08-16 19:35:53 +0200
  • 84a9b3a5f2
    enabled and mitigated `modernize-use-equals-default` clang-tidy warnings / removed unnecessary default destructors (#5335) Oliver Stöneberg 2023-08-16 17:13:36 +0200
  • 6a263ba026
    optimized `Library::detectContainerInternal()` a bit (#5333) Oliver Stöneberg 2023-08-16 11:10:38 +0200
  • 8b309a8829
    Use readdir() instead of deprecated readdir_r() (#5330) chrchr-github 2023-08-16 10:20:53 +0200
  • 824f89514a
    Add test for #10350, fix arg direction in windows.cfg (#5328) chrchr-github 2023-08-14 17:25:00 +0200
  • 8aa9d710d1
    Fix 11844: FP negativeIndex for known loop (#5282) Paul Fultz II 2023-08-14 08:17:05 -0500
  • c257c70347
    Fix #11546 FP danglingTemporaryLifetime with unknown member (#5256) chrchr-github 2023-08-14 14:32:35 +0200
  • d064f9c243
    -j 0 causes indefinite hang. require >= 1 (#5326) Ryan M. Lederman 2023-08-14 03:55:32 -0600
  • 693084470d
    TestCmdlineParser: fixed some TODO test cases (#5325) Oliver Stöneberg 2023-08-14 11:37:59 +0200
  • d076da8f7c
    added missing `__GNUC__` define for selfcheck (#5324) Oliver Stöneberg 2023-08-14 10:29:04 +0200
  • 52081ef08f
    Add special function to match lifetimes (#5320) Paul Fultz II 2023-08-14 03:27:00 -0500
  • 48c91abba6
    Fix issue 11867: Assert failure in valueFlowContainerSize() (#5317) Paul Fultz II 2023-08-13 15:31:38 -0500
  • 466da1e77a
    Fix FP misusedScopedObject (#5321) chrchr-github 2023-08-13 22:24:17 +0200
  • 5371455606
    optimized pipe writing/reading and `ErrorMessage` serialization a bit (#5279) Oliver Stöneberg 2023-08-13 11:52:02 +0200
  • d4d77edeae
    Fix FP uninitStructMember / cleanup from #5311 (#5315) chrchr-github 2023-08-12 23:46:31 +0200
  • 2b3dec4418
    TestCmdlineParser: properly reset settings and parser between tests (#5310) Oliver Stöneberg 2023-08-12 21:43:12 +0200
  • 0901ba9a7e
    Fix 11865: Assert failure in setSymbolic() (#5318) Paul Fultz II 2023-08-12 12:58:09 -0500
  • 5c6962c273
    Fix FP unusedVariable with arrays (#5319) Anton Lindqvist 2023-08-12 16:55:52 +0200
  • b9cc138e57
    Fix FP badBitmaskCheck in nested binary expressions (#5316) Anton Lindqvist 2023-08-11 23:06:24 +0200
  • 720ae01898
    Fix #11353 FP uninitvar for struct member set via pointer (#5314) chrchr-github 2023-08-11 18:46:51 +0200
  • a7d487f6db
    Fix #11805 FP uninitvar for stringstream into deref pointer to uninit var / #11804 FP uninitvar for array in struct in struct (#5311) chrchr-github 2023-08-11 18:45:58 +0200
  • 76ffd21ecf
    Update releasenotes.txt [skip ci] (#5313) chrchr-github 2023-08-11 16:49:49 +0200
  • 560982de94
    Fix FP leakNoVarFunctionCall (#5309) chrchr-github 2023-08-10 20:55:02 +0200
  • 23deadb370
    Fix #11866 FN memleak when pointer is converted to bool (#5306) chrchr-github 2023-08-10 15:38:12 +0200
  • de9795b07b
    deprecated qmake build system / removed Qt5 fallback when using `USE_QT6=On` (#5271) Oliver Stöneberg 2023-08-09 22:40:15 +0200
  • 24479c60f9
    Fix 11850: false negative: knownConditionTrueFalse with std::string::empty() after modification (#5307) Paul Fultz II 2023-08-09 13:33:44 -0500
  • 4e8c240129
    updated CI to Clang 17 (#4797) Oliver Stöneberg 2023-08-09 12:45:15 +0200
  • 2502897265
    avoid some redundant and unused settings in tests among other cleanups / added and used `WARN_UNUSED` attribute (#5284) Oliver Stöneberg 2023-08-09 12:43:55 +0200
  • 8166bfc7b8
    Do not crash on GUI shutdown (#5288) Maksim Derbasov 2023-08-09 17:26:46 +0900
  • 037bed5b3c
    testrunner: fix clang compile error related to `dinit` (#5297) Paul Fultz II 2023-08-08 16:55:07 -0500
  • f1749ab7ad
    CppcheckExecutor: use dedicated ErrorLogger for printing error messages XML (#4985) Oliver Stöneberg 2023-08-08 22:58:02 +0200
  • 5ea1bca99f
    Fix argument direction in windows.cfg, missing Qt macros (#5302) chrchr-github 2023-08-08 22:55:55 +0200
  • c3d7c91e88
    Additional call to setValueTypeInTokenList() (#5300) chrchr-github 2023-08-08 22:54:27 +0200
  • 47c9a941a0
    Restore references (#5303) chrchr-github 2023-08-08 17:50:08 +0200
  • 09962a6bcf
    Edit verbose warning message for uninitVarError (#5301) Samuel Poláček 2023-08-08 15:11:39 +0200
  • eee1221738
    Use in-class initializers, default constructors, class -> struct (#4842) chrchr-github 2023-08-08 11:05:02 +0200
  • 838b6b86e3
    Fix #11862 FN constParameterPointer with increment (#5291) chrchr-github 2023-08-08 10:38:03 +0200
  • 610777d586
    Set enum ValueType for :: (#5298) chrchr-github 2023-08-07 21:40:33 +0200
  • 072212e708
    added `TestCheck` and moved some tests from `TestCppcheck` (#5289) Oliver Stöneberg 2023-08-07 20:49:10 +0200
  • 988edd24c2
    TestSingleExecutor: test clang-tidy invocation (#5294) Oliver Stöneberg 2023-08-07 20:47:24 +0200
  • dcdf67a694
    some `-Wdouble-promotion` Clang compiler warnings (#4820) Oliver Stöneberg 2023-08-07 20:44:25 +0200
  • cc592a6927
    CppCheckExecutor: improved library loading error handling a bit (#5275) Oliver Stöneberg 2023-08-07 19:48:11 +0200
  • e38a031ae6
    ValueFlow: pass `SymbolDatabase` by reference into `ValueFlow::setValues()` (#5295) Oliver Stöneberg 2023-08-07 18:41:50 +0200
  • a17f6e89d1
    pass `Suppressions` separately from `const Settings` into executors (#5278) Oliver Stöneberg 2023-08-07 18:39:57 +0200
  • de8b4150a8
    Explicitly state that --verbose and --quiet can be used at the same time (#5259) Samuel Poláček 2023-08-05 19:18:10 +0200
  • 73251544a4
    Fix #11842 FN constParameterPointer with library function (#5257) chrchr-github 2023-08-05 18:48:43 +0200
  • 77c479a6c4
    pass `TokenList` as reference into `ValueFlow::setValues()` (#4868) Oliver Stöneberg 2023-08-04 18:17:27 +0200
  • b2511fb3ae
    Check if --cppcheck-build-dir exists (#5254) Samuel Poláček 2023-08-04 17:38:43 +0200
  • 5d201c4e87
    testrunner: use structs with designated initialization to pass options (#4975) Oliver Stöneberg 2023-08-04 13:56:18 +0200
  • 4aae670b45
    donate-cpu: fixed #11276 (donate-cpu: Improve library detection) / respect `--no-upload` in "nodata" uploads (#5292) Oliver Stöneberg 2023-08-04 10:30:58 +0200
  • 5ff8955dbe
    Fix #11862 FP truncLongCastAssignment with increment (#5290) chrchr-github 2023-08-03 13:49:11 +0200
  • da6c39e971
    iwyu.yml: actually disable archlinux step [skip ci] (#5287) Oliver Stöneberg 2023-08-02 14:49:48 +0200
  • faf8047050
    Fix FP truncLongCastReturn on Windows (#5262) chrchr-github 2023-08-02 12:27:29 +0200
  • de0fdc85a2
    donate-cpu-server.py: adjusted head information summary name / added `internalError` to overview (#5283) Oliver Stöneberg 2023-08-02 10:43:06 +0200
  • 45de338f1b
    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) Oliver Stöneberg 2023-08-02 10:36:17 +0200
  • 389e446dc0
    Fix 11848: Assert failure in getParentValueTypes() (#5274) Paul Fultz II 2023-08-02 04:29:19 -0400
  • 931a59a724
    Fix FN variableScope (#5273) chrchr-github 2023-08-01 23:56:24 +0200
  • 4452ae6d09
    iwyu.yml: applied `apt.llvm.org` workaround as well [skip ci] (#5286) Oliver Stöneberg 2023-08-01 22:56:44 +0200
  • bc54fab989
    Workaround for CI failure (#5285) chrchr-github 2023-08-01 14:28:13 +0200
  • 5a322365a6
    fixed `scriptcheck.yml` (#5268) Oliver Stöneberg 2023-08-01 13:06:12 +0200
  • e7a2585e0a
    noExplicitConstructor - Verbose error message edit (#5260) Samuel Poláček 2023-08-01 11:21:23 +0200
  • bfaa7c075a
    Fix #11845 FP variableScope if buffer is passed to a conditionally called function (#5265) chrchr-github 2023-07-27 22:18:34 +0200
  • 99f7f88f39
    Fix FN constParameterPointer (#5270) chrchr-github 2023-07-27 20:54:12 +0200
  • f10851dc37
    posix.cfg: erand48/nrand48/jrand48 fixed argument direction (#5253) Tobias 2023-07-27 07:50:46 +0200
  • 265759dfa4
    tokenlist.cpp: fixed GCC `-Wunused-variable` warning (#5266) Oliver Stöneberg 2023-07-27 07:27:04 +0200
  • c5deb0a631
    Fix a typo in error message (#5264) Samuel Poláček 2023-07-26 07:54:59 +0200
  • 3186577f45
    Add author of #5252 to AUTHORS (#5263) Samuel Poláček 2023-07-25 17:47:19 +0200
  • ba764eaddc
    unusedFunction disabled warning is not printed if --cppcheck-build-dir is used (#5252) Samuel Poláček 2023-07-25 12:00:23 +0200
  • 2cf4b3a6f3
    Fix functionConst TODO (#5261) chrchr-github 2023-07-24 16:26:23 +0200
  • 101ddea1e6
    Fix #11840 FP constStatement with template parameters on operator (#5258) chrchr-github 2023-07-21 17:33:18 +0200
  • a6b0129725
    Fix #11838 FP uninitvar with label matching variable name (#5251) chrchr-github 2023-07-20 10:45:44 +0200
  • d2546d5252
    Fix #11788 False positive: unreadVariable in else (#5248) chrchr-github 2023-07-18 21:11:03 +0200
  • 2878c68ec0
    Fix FP unknownMacro (#5249) chrchr-github 2023-07-18 12:16:54 +0200
  • c2ed362c11
    Update Japanese translation (#5246) Tomo Dote 2023-07-17 18:09:39 +0900
  • 92caa835b6
    Fix 11806: FP uninitvar for reference to unitvar in ternary ?: operator (#5247) Paul Fultz II 2023-07-17 03:34:54 -0500
  • e4827cb3df
    Fix #11828 False positive when getting a span via an out argument (#5243) chrchr-github 2023-07-15 17:53:40 +0200
  • 72212331fb
    Fix #11832 False positive: uninitialized variable '*(&var) = 0' (#5241) chrchr-github 2023-07-14 19:14:33 +0200
  • a4a29bfbc5
    Fix #11411 FP selfInitialization after initialization of previous member from initializer list (#5239) chrchr-github 2023-07-14 10:33:05 +0200
  • 48dd4dc33e
    Fix #11831 FP negativeContainerIndex / wrong return value from virtual function (#5240) chrchr-github 2023-07-13 20:38:47 +0200
  • 258581ce2e
    Fix FP uselessOverride with macro (#5238) chrchr-github 2023-07-13 12:18:29 +0200
  • c0bd9f8bbd
    Fix #11827 FP duplInheritedMember - different return type (#5231) chrchr-github 2023-07-12 15:56:07 +0200
  • 3508464c6d
    dump: fix dump output for typedef info, file is <stdout> (#5236) Daniel Marjamäki 2023-07-12 11:21:59 +0200
  • 709fec88f9
    Revert "Fix #11765 FN: minsize not checked for string literal, buffer… (#5235) chrchr-github 2023-07-11 22:19:01 +0200
  • 9c5275f514
    misra: fix 9.x checking when string literals are used to initialize char arrays (#5234) Daniel Marjamäki 2023-07-11 17:57:55 +0200
  • 80c42fcaf3
    misra: Fix crash in misra_9.py when struct type is unknown and there is string initialization (#5233) Daniel Marjamäki 2023-07-11 13:40:19 +0200
  • a04990d4e3
    misra 9.2: do not crash when checking. string literal is allowed to initialize array member. (#5232) Daniel Marjamäki 2023-07-10 22:50:24 +0200
  • 8d3fd88d3f
    Fix #11802 FP stlcstr for string in shared_ptr copied elsewhere (#5230) chrchr-github 2023-07-10 15:27:33 +0200
  • 2cd1f0f387
    misra: Fix crash in misra_9x when there is unknown constant used as array size (#5229) Daniel Marjamäki 2023-07-10 12:25:28 +0200