Commit Graph

22203 Commits

Author SHA1 Message Date
orbitcowboy 3b3016f49e wxwidgets.cfg: Added support for more interfaces. 2019-12-20 21:16:08 +01:00
Daniel Marjamäki c2f8fb5603 Fixed #9405 (false positive: (style, inconclusive) Boolean expression 'dqOpen' is used in bitwise operation. Did you mean '&&') 2019-12-20 19:38:30 +01:00
Daniel Marjamäki 33ec78fe6e Fixed #9036 (false positive: (style) Condition 's.x<127U' is always true) 2019-12-20 19:06:35 +01:00
Daniel Marjamäki bd83630f2e Fixed #8990 (False positive: struct member not used (union)) 2019-12-20 18:31:55 +01:00
Dmitry-Me 9133f9fe75 Improve test coverage for function arguments count 2019-12-20 18:28:32 +03:00
orbitcowboy e53fdc7c76 wxwidgets.cfg: Added support for more interfaces. 2019-12-20 14:56:40 +01:00
orbitcowboy c5ad8b9b03 wxwidgets.cfg: Added support for more interfaces. 2019-12-20 14:50:23 +01:00
orbitcowboy 7486325af5 wxwidgets.cfg: Added support for more interfaces. 2019-12-20 14:44:33 +01:00
Daniel Marjamäki 252c3a17fa Fixed #7107 (False positive iterators - using alias for container) 2019-12-20 12:13:26 +01:00
orbitcowboy 4285e16fe6 wxwidgets.cfg: Added support for more interfaces. 2019-12-20 11:49:58 +01:00
orbitcowboy 0d05707f77 wxwidgets.cfg: Added support for more interfaces. 2019-12-20 11:33:52 +01:00
orbitcowboy 7dff7e9388 wxwidgets.cfg: Added support for more interfaces. 2019-12-20 11:28:18 +01:00
orbitcowboy e98a7392fb wxwidgets.cfg: Added support for more interfaces. 2019-12-20 11:20:47 +01:00
orbitcowboy da1b17e4fb Merge branch 'master' of https://www.github.com/danmar/cppcheck 2019-12-20 09:48:03 +01:00
orbitcowboy 18b8db1e15 std.cfg: Added missing unsigned type qualifiers to 'UINT_XXX'-constants. 2019-12-20 09:47:42 +01:00
Daniel Marjamäki 9ffb657c1a Fixed #8597 (False positive - Array index is used before limits check.) 2019-12-20 09:46:01 +01:00
Daniel Marjamäki 02eaf6fa93 Fixed #8998 (False positive uninitStructMember related to reference to member) 2019-12-19 20:18:32 +01:00
Daniel Marjamäki c84ba10b37 Fixed #8774 (Wrong handling of function with name 'or') 2019-12-19 19:22:39 +01:00
Daniel Marjamäki 2a2fa49098 Thread safety: use std::atomic for global flags 2019-12-19 18:38:22 +01:00
orbitcowboy 7043071daf wxwidgets.cfg: Added support for more constants. 2019-12-19 16:29:45 +01:00
orbitcowboy b99d9e779d wxwidgets.cfg: Added support for more interfaces. 2019-12-19 16:24:42 +01:00
orbitcowboy d23112e0c2 wxwidgets.cfg: Added support for more interfaces. 2019-12-19 16:16:54 +01:00
orbitcowboy 9b96c160cc wxwidgets.cfg: Added support for more interfaces. 2019-12-19 16:10:56 +01:00
Georgy Komarov aadb35888f misra.py: Fix 12.3 FP (#2454)
This will close https://trac.cppcheck.net/ticket/9544
2019-12-19 15:55:51 +01:00
orbitcowboy af3f0c1981 wxwidgets.cfg: Added support for more interfaces. 2019-12-19 12:01:12 +01:00
orbitcowboy 87c4a3d13b wxwidgets.cfg: Added support for more interfaces. 2019-12-19 11:55:13 +01:00
orbitcowboy b3317009f2 wxwidgets.cfg: Added support for more constants. 2019-12-19 10:53:34 +01:00
orbitcowboy 9a841db3f7 wxwidgets.cfg: Added support for more constants. 2019-12-19 10:37:14 +01:00
orbitcowboy 9896c29344 wxwidgets.cfg: Added support for more constants. 2019-12-19 10:35:50 +01:00
orbitcowboy e3e430ded3 wxwidgets.cfg: Added support for more interfaces. 2019-12-19 10:32:50 +01:00
orbitcowboy 4e71e5db8d wxwidgets.cfg: Added support for more interfaces. 2019-12-19 10:04:45 +01:00
orbitcowboy eb37d96f57 wxwidgets.cfg: Fixed typo. 2019-12-19 09:56:40 +01:00
orbitcowboy ffbd3c4687 windows.cfg: Added support for '_isatty()' 2019-12-19 09:50:29 +01:00
Georgy Komarov d0dd200444 misra.py: Fix R12.3 false negative in variables declaration (#2453)
Make rule 12.3 check detect commas in the variables declaration code.
2019-12-19 08:36:10 +01:00
Daniel Marjamäki 235ef0a01e Fixed #9420 (False positive - redundantInitialization) 2019-12-18 19:39:23 +01:00
Daniel Marjamäki 7977bbf456 Revert "misra.py: Fix R12.3 false negative in variables declaration (#2431)"
This reverts commit 7ce8ae408a.
2019-12-18 13:31:52 +01:00
IOBYTE ec4c979cd8 fix daca error: Internal Error: Invalid syntax (#2452)
* fix daca error: Internal Error: Invalid syntax

* fix cppcheck warnings
2019-12-18 11:48:36 +01:00
orbitcowboy 3fdf1b806a wxwidgets.cfg: Added 'EVT_WINDOW_CREATE'-macro, found by daca@home. 2019-12-18 11:43:47 +01:00
Georgy Komarov 7ce8ae408a misra.py: Fix R12.3 false negative in variables declaration (#2431)
* misra.py: Allow executeCheck take multiple args

* misra.py: Fix R12.3 FN in variables declaration

Make rule 12.3 check detect commas in variables declaration code.

* Fix excluded lines

* Add support for global variables

* Fix FN when linenr from other file was excluded

* Add a few more tests

* Handle more cases

Handle additional cases to check commans in variables declaration
including:
* multiline variables declaration
* functions and structures initialized in the same line
* expanding macroses in initialization

* Fix FP in global struct initialization

* Add another test
2019-12-18 11:05:57 +01:00
Daniel Marjamäki caab1e61bb Fixed #9542 (Better error handling for --addon) 2019-12-17 12:00:01 +01:00
Maksim Derbasov 68a67a910e Remove .dump file after plugins execution (#2451) 2019-12-17 08:40:59 +01:00
Dmitry-Me 7d6582c7a5 Resolve C4800 Visual C++ warning 2019-12-16 18:11:12 +03:00
Dmitry-Me 4a8ced29c4 Fix typo 2019-12-16 18:10:40 +03:00
Paul Fultz II ad352daa08 Fix issue 9535: Syntax Error: AST broken, 'if' doesn't have two operands. (#2450) 2019-12-16 12:17:01 +01:00
orbitcowboy 890d11ccf2 wxWidgets.cfg: Added support for more interfaces. 2019-12-16 11:50:17 +01:00
orbitcowboy 2c052fdf60 wxWidgets.cfg: Added support for more interfaces. 2019-12-16 11:46:24 +01:00
orbitcowboy ba2a58ea89 wxWidgets.cfg: Added support for more interfaces. 2019-12-16 11:42:56 +01:00
orbitcowboy b9bb159314 wxWidgets.cfg: Added support for more interfaces. 2019-12-16 11:38:13 +01:00
orbitcowboy 0fd1cd7170 wxWidgets.cfg: Added support for more interfaces. 2019-12-16 11:35:55 +01:00
orbitcowboy ed803622d2 wxWidgets.cfg: Added support for more interfaces. 2019-12-16 11:29:00 +01:00