Commit Graph

62 Commits

Author SHA1 Message Date
Oliver Stöneberg b6876d22e6
use inline suppressions for varid0 in selfcheck (#3842) 2022-02-21 18:35:02 +01:00
Oliver Stöneberg cc24d6fcef
Fix #9162 (Invalid --project files do not give any error) (#3177) 2021-12-19 12:36:11 +01:00
Oliver Stöneberg 0c3531ea61
CI-unixish.yml: added generated GUI files to self check and suppress known false positives for now (#3641) 2021-12-17 21:52:55 +01:00
Daniel Marjamäki ca50dea97d Fix in Tokenizer::simplifyUsing for non-scopes 2021-08-21 10:10:40 +02:00
Daniel Marjamäki 96196875b4 Temporary suppression simplifyUsingUnmatchedBodyEnd 2021-08-20 17:16:02 +02:00
Daniel Marjamäki 224492b0b5 Uninitalialized variables; Avoid FP for void cast 2021-05-17 05:59:28 +02:00
Daniel Marjamäki de2c8217e5 CI; Temporary suppression of uninitvar in cli/filelister.cpp 2021-05-16 23:18:56 +02:00
Oliver Stöneberg 3bc71f982a
enabled "debug" findings in self-check / split "simplifyUsing" and "simplyTypedef" from more generic "debug" (#3210) 2021-04-17 18:07:47 +02:00
Oliver Stöneberg 155ff890a5
split "autoNoType" and "bailoutUninitVar" from more generic "debug" (#3209) 2021-04-16 15:19:29 +02:00
Rikard Falkeborn 3ec6e85af0
travis_suppressions: Remove some temporary suppressions (#3103) 2021-01-31 12:23:28 +01:00
Oliver Stöneberg 6f49a2ff4a
CI-unixish.yml: perform self check with --debug-warnings (#2973) 2021-01-21 18:29:08 +01:00
Oliver Stöneberg ac7647fcd8
some self-check suppression cleanups (#3032) 2021-01-09 20:32:38 +01:00
Maksim Derbasov fc5fd3c40c Check that virtual function non-narrow access modifier in derived class (#2229)
* Check that virtual function has not narrowed access in derived class

* motivation info added

* error reporting moved to func

* added suppression for CI
2020-01-01 16:09:43 +01:00
Tyson Nottingham 0950a97df2 Fix false negatives in checkBitwiseOnBoolean (#2220)
* Fix false negatives in checkBitwiseOnBoolean

Use AST-based tests in favor of token-based tests for greater coverage.

* Travis: add suppressions for bitwiseOnBool
2019-10-06 09:57:31 +02:00
Daniel Marjamäki 7e58850677 Travis: Add suppression 2019-06-15 20:56:39 +02:00
Daniel Marjamäki 54ba9482c6 Travis: Tweak self checking. Only check normal source code folders. 2019-06-15 16:44:34 +02:00
Daniel Marjamäki 181991204a Travis: Improved Cppcheck self check 2019-06-15 14:34:46 +02:00
Daniel Marjamäki df03514c0b Remove suppression for stlFindInsert 2019-05-08 19:53:58 +02:00
Daniel Marjamäki 8aa68ee297 Travis: Temporary suppression of some Cppcheck warnings 2019-05-02 12:31:52 +02:00
Daniel Marjamäki f3167865ef Travis: Remove suppression for unsignedLessThanZero warnings 2019-05-01 07:54:30 +02:00
Daniel Marjamäki 1d12136b59 Fixed Cppcheck uninitStructMember warnings 2019-04-30 20:45:48 +02:00
Daniel Marjamäki d69f002757 Fixed Cppcheck shadowVar warning 2019-04-30 20:19:21 +02:00
Daniel Marjamäki b0baf4f65b Travis: Fix the cppcheck self-check 2019-04-30 08:56:20 +02:00
Daniel Marjamäki f0cdeb2aa8 Travis: Temporarily suppress unusedPrivateFunction in test/testbufferoverrun.cpp 2019-03-11 13:36:26 +01:00
Daniel Marjamäki 22ae8bc0c8 Travis: Temporarily suppress missingOverride warnings in self check 2019-01-13 13:23:33 +01:00
Daniel Marjamäki 004827afdc Travis: Remove suppressions. It seems FPs have been fixed. 2019-01-13 12:24:05 +01:00
Daniel Marjamäki 0c08503b00 Travis: Enable missingOverride checker 2019-01-13 12:21:01 +01:00
Daniel Marjamäki 1d2fd29c9d Remove Travis suppressions 2019-01-13 12:15:46 +01:00
Daniel Marjamäki 784131ab98 Suppress warnings in externals/*.h 2019-01-12 18:29:58 +01:00
Daniel Marjamäki 336e174458 Travis: Try to suppress false positive 2018-11-23 22:26:59 +01:00
Daniel Marjamäki f5c2abaefa Fix shadow warning 2018-11-19 10:21:02 +01:00
Daniel Marjamäki 1245a036f7 Add check for shadow variables 2018-10-16 20:17:27 +02:00
Paul Fultz II 1e347f6cde Initial check for recommending algorithms (#1352)
Add initial check for loop algorithms
2018-09-19 18:58:59 +02:00
Matthias Krüger d4fa8c6e95 travis: remove redundant suppressions 2018-05-12 03:20:23 +02:00
Daniel Marjamäki 597450d3b0 Travis: suppress some warnings 2018-05-06 22:39:59 +02:00
Daniel Marjamäki 16a9d5a62e Travis: Suppress missingOverride warnings because we do not want to fix these at this point 2018-04-27 12:43:32 +02:00
Daniel Marjamäki a0906140a6 Suppressions: New extensible Suppressions xml format that allow more attributes. To start with it also allows symbolName. 2018-04-09 06:43:48 +02:00
Daniel Marjamäki cc82288ff6 Travis: Suppress false positive 2017-10-11 17:14:02 +02:00
Daniel Marjamäki a5d3bc52b9 Travis: Suppress false positive 2017-10-11 15:48:28 +02:00
Daniel Marjamäki faa32fd51d Fix Cppcheck warnings and remove Travis suppressions 2016-10-29 15:50:08 +02:00
Matthias Krüger dfa9347600 fixup for eeee630f77 , also suppress same warning in build/ 2016-10-29 13:50:21 +02:00
Daniel Marjamäki eeee630f77 fix cppcheck warnings 2016-10-29 12:35:14 +02:00
Daniel Marjamäki 1aeb260a63 Travis: suppress knownConditionTrueFalse in build 2016-10-09 15:56:48 +02:00
Daniel Marjamäki 927e3e6953 Travis: Suppress warning about condition that is always true/false (checking default sign with (((char)-1) < 0) 2016-10-09 15:28:15 +02:00
PKEuS a9ac5d6c3d Attempt to fix travis 2016-07-28 21:16:10 +02:00
PKEuS 92e3e802fb Attempt to fix travis build and testrunner failure 2016-07-28 20:59:09 +02:00
PKEuS 12af125fd3 Fixed false positive stlIfStrFind for function call inside condition.
Removed unnecessary suppressions in .travis_suppressions
2015-11-20 20:08:53 +01:00
Alexander Mai 74564e3256 Remove a suppression for travis job since the FP has disappeared (see #6099 False positive: variable scope, macro with scope) 2015-04-19 10:53:35 +02:00
Matthias Krüger 3b84706088 travis: suppressions: actually check tools folder 2015-04-07 01:58:18 +02:00
PKEuS 8225b12763 Fixed some cppcheck messages 2015-01-28 22:29:07 +01:00