Commit Graph

52 Commits

Author SHA1 Message Date
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
Matthias Krüger 6736fc1b18 travis: suppress everything from test/cfg in self-check. 2015-01-27 18:59:46 +01:00
Thomas Jarosch c971387ccd Suppress one new message to fix travis 2015-01-09 23:05:29 +01:00
Matthias Krüger 50e00e8dfb travis: remove self-check suppression that is now redundant (variableScope:test/testvalueflow.cpp) 2014-11-02 15:31:41 +01:00
Daniel Marjamäki 0a738973cb Travis: Suppress variableScope warnings in our test cases. These are FP so should be fixed asap. 2014-08-27 06:39:18 +02:00
Matthias Krüger 15a197eea6 travis: suppress current warnings, make cppcheck not crash the files in clang that crash currently. 2014-07-28 17:14:01 +02:00
Matthias Krüger 161fec762d travis: remove unneeded suppressions from self-check. 2014-07-19 12:15:01 +02:00
Matthias Krüger 879023b6b2 travis: compile one pair of jobs with -DCHECK_INTERNAL and run --enable=internal,...
suppress warnings in testtoken.cpp
fix warnings in valueflow
2014-05-19 21:44:00 +02:00
Matthias Krüger 4e692e3594 travis: suppressions: remove some suppressions of false positives that are no longer necessary. 2014-05-11 11:56:21 +02:00
PKEuS a66fa8545c Attempt to fix travis failure 2014-03-28 13:16:43 +01:00
Matthias Krüger 962018b722 revert: commit f6da9d4e3c
"testcmdlineparser: comment out unused functions fileListStdin(), ignorepaths{1-4}(), ignorefilepaths{1,2}()"
instead suppress the files.
also suppress unused variable in test/testpreprocessor.cpp
2014-01-12 22:47:21 +01:00