amai2012
d5823472e3
Add code coverage to Github Actions ( #2566 )
...
Create and store coverage data including upload to codecov.io
2020-03-13 22:42:15 +01:00
Daniel Marjamäki
1173186876
Fixed daca@home crash by stopping for unknown macro 'MACRO(a();b();)'
2020-03-12 13:28:09 +01:00
versat
3b2e1cb367
python.cfg: Add configurations for more functions (PyFloat_*, ...)
2020-03-11 10:10:33 +01:00
Daniel Marjamäki
900b99fbd8
Tokenizer; Report unknown macro used in function declaration
2020-03-10 20:22:46 +01:00
Sebastian
b8432b7e23
testsymboldatabase.cpp: Fix AppVeyor build error ( #2568 )
2020-03-10 12:26:00 +01:00
Daniel Marjamäki
51732e9d75
ForwardAnalyzer: Fixed crash
2020-03-10 10:36:05 +01:00
orbitcowboy
df688f7918
wxwidgets.cfg: Added support for more interfaces.
2020-03-10 08:35:39 +01:00
Daniel Marjamäki
f093d23a36
SymbolDatabase: Fixed addArguments
2020-03-09 15:13:50 +01:00
Daniel Marjamäki
1008868506
AST: Better handling of '(type){..}'
2020-03-08 16:46:06 +01:00
orbitcowboy
40914159a8
wxwidgets.cfg: Added support for more interfaces.
2020-03-08 16:32:08 +01:00
Daniel Marjamäki
cdee62c032
AST: Fixed AST for struct cast '(struct T){...}'
2020-03-08 16:21:22 +01:00
Daniel Marjamäki
f7612fd1a9
ForwardAnalyser; Tweak fix for crash
2020-03-08 12:02:45 +01:00
Daniel Marjamäki
2600dee36c
ForwardAnalyzer: Fix crash in cast '(T* &&)', the && does not have operands
2020-03-08 11:49:14 +01:00
Daniel Marjamäki
5ea01c5d60
Fix Cppcheck warning
2020-03-08 10:02:46 +01:00
Daniel Marjamäki
5376ba1701
AST: Throw validation exception if ternary operator is missing operands
2020-03-07 21:46:38 +01:00
Oliver Stöneberg
91beccb304
fixed some clang-tidy warnings in gui code ( #2565 )
2020-03-07 11:33:08 +01:00
amai2012
b795d30db6
Enable another zeroDivCond test which got fixed recently
2020-03-06 17:15:54 +01:00
orbitcowboy
4c2fd21d4e
wxwidgets.cfg: Added support for more interfaces.
2020-03-04 20:53:47 +01:00
orbitcowboy
03309a47ae
wxwidgets.cfg: Added support for more interfaces.
2020-03-04 20:43:53 +01:00
orbitcowboy
42e12bc310
wxwidgets.cfg: Added support for more interfaces.
2020-03-04 20:41:14 +01:00
orbitcowboy
c8c3cc87c7
wxwidgets.cfg: Added support for more interfaces.
2020-03-03 21:12:43 +01:00
orbitcowboy
800b1f2277
wxwidgets.cfg: Added support for more interfaces.
2020-03-03 21:06:55 +01:00
orbitcowboy
e73c13992a
wxwidgets.cfg: Added support for more interfaces.
2020-03-03 20:56:29 +01:00
orbitcowboy
4f870d1c6f
wxwidgets.cfg: Added support for more interfaces.
2020-03-03 20:51:35 +01:00
orbitcowboy
f05c504440
Running astyle [ci skip]
2020-03-03 20:38:30 +01:00
orbitcowboy
ed2720db05
wxwidgets.cfg: Added support for more interfaces.
2020-03-03 20:38:11 +01:00
Sebastian
6e74d6810a
cmake/compileroptions.cmake: Fix missing stack options under Cygwin ( #2560 )
...
testrunner fails with SEGFAULT when built with cmake under Cygwin.
This fix adds a compiler option to increase the stack size in the same
way as it is already done in the Makefile.
2020-03-03 18:37:49 +01:00
Dmitry-Me
b61feff125
Improve test coverage for detecting invalid pointers
2020-03-02 19:01:27 +03:00
orbitcowboy
85a26802e3
Running astyle [ci skip]
2020-03-01 20:39:00 +01:00
orbitcowboy
ea742267c6
wxwidget.cfg: Added support for more constants
2020-03-01 20:38:34 +01:00
Oliver Stöneberg
8949c7e569
added CMake option ENABLE_CHECK_INTERNAL ( #2557 )
2020-03-01 17:11:20 +01:00
Paul Fultz II
6ea4f60600
Enable valueFlowSubfunction for multiple parameters ( #2550 )
2020-03-01 16:46:20 +01:00
orbitcowboy
18a0944646
wxwidgets.cfg: Added more <not-bool/>-flags.
2020-02-29 12:23:08 +01:00
Sebastian
b06f4d4189
gtk.cfg/cppcheck-cfg.rng: Add Gtk utility functions, enhance RNG file ( #2563 )
...
This adds/fixes some miscellaneous Gtk/Glib utility functions.
Reference:
https://developer.gnome.org/glib/stable/glib-Miscellaneous-Utility-Functions.html
For specifying pointers to pointers as return value types the
cppcheck-cfg.rng has been enhanced to allow this.
2020-02-29 12:11:02 +01:00
Daniel Marjamäki
5df6d5bc7c
Tokenizer; Warn about unknown macro used in string concatenation
2020-02-28 21:52:01 +01:00
orbitcowboy
bf781f79b6
wxwidgets.cfg: Added more <not-bool/>-tags.
2020-02-28 12:02:35 +01:00
Sebastian
feb767a66b
donate_cpu_lib.py: Fix that timed out analyses are handled as crashes ( #2561 )
...
Sometimes it could happen that SIGSEGV is thrown when Cppcheck is killed
because of a timeout. Then the execution is wrongly handled as a crash
and debugged with gdb instead of marking it as timed out.
This fixes that issue by checking the time out before checking sig_num.
2020-02-28 08:12:10 +01:00
Sebastian
f0e3f9e79a
gtk.cfg: Fix/enhance Gtk library configuration (g_abort and others) ( #2558 )
...
test/CMakeLists.txt: Fix missing INCONCLUSIVE for Gtk configuration test
2020-02-27 13:16:43 +01:00
Georgy Komarov
4e5a8fac4a
misra.py: Handle stdint.h essential types ( #2555 )
...
Add stdint.h essential types to misra.py checks. This will fix false
negatives for rules 10.6 and 10.8.
2020-02-27 11:28:48 +01:00
Daniel Marjamäki
baa4cee70c
Travis: Fixed Cppcheck warning
2020-02-27 10:51:34 +01:00
Daniel Marjamäki
38b570138f
AST: Try to handle c++17 for properly 'for (auto [a,b]:c)'
2020-02-27 09:58:53 +01:00
orbitcowboy
73ded43e40
wxwidgets.cfg: Improved configuration for wxDateTime::SetXXX()-functions.
2020-02-27 08:33:26 +01:00
Daniel Marjamäki
84995485ea
VarId: fixed varids for 'for (auto [x,y]: xy)'
2020-02-27 07:18:07 +01:00
orbitcowboy
5ddc1af5e6
wxwidgets.cfg: Added <not-bool/>-flag at more function args.
2020-02-26 16:57:21 +01:00
orbitcowboy
d63991c677
wxwidgets.cfg: Added <not-bool/>-flag at more function args.
2020-02-26 16:47:20 +01:00
orbitcowboy
c4e32e6703
wxwidgets.cfg: Added <not-bool/>-flag at more function args.
2020-02-26 16:16:06 +01:00
orbitcowboy
a5ca3cb1f0
wxwidgets.cfg: Fixed FP for wxSizer::Add()
2020-02-26 16:10:10 +01:00
Oliver Stöneberg
1863ccb0a7
fixed Clang warnings about unused variables ( #2554 )
2020-02-26 14:52:43 +01:00
versat
fbde4aa13a
qt.cfg: Add configuration for function QString::chopped()
...
Reference: https://doc.qt.io/qt-5/qstring.html#chopped
2020-02-26 11:06:43 +01:00
Sebastian
8fd17546ad
qt.cfg: #9650 : Fix missing configuration for QString.chop() ( #2556 )
...
chop() and also remove() change the size of a QString, so they have to
be added in the container configuration accordingly to avoid false
positives.
2020-02-26 10:53:03 +01:00