Paul Fultz II
b68d6f9471
Fix crash in valueflow when using local classes ( #2575 )
2020-03-22 10:12:53 +01:00
orbitcowboy
a171f524cf
wxwidgets.cfg: Added support for missing constant wxPropertyGrid.
2020-03-20 22:51:51 +01:00
Paul Fultz II
7fd3580f21
Dont traverse conditions multiple times ( #2574 )
2020-03-20 10:37:16 +01:00
Paul Fultz II
f2527f5340
Fix crash in valueFlowForLoopSimplifyAfter ( #2573 )
2020-03-20 07:16:05 +01:00
orbitcowboy
cdcde7855d
wxwidgets.cfg: Added support for more interfaces.
2020-03-19 16:56:33 +01:00
orbitcowboy
5d5aef5de2
googletest.cfg: Formatted cfg. There are no functional changes
2020-03-19 16:56:16 +01:00
Dmitry-Me
dd5b9f3b82
Resolve sign mismatch warnings
2020-03-19 18:22:55 +03:00
ChristophStrehle
b302896751
Define the MOCK_METHOD macro ( #2571 )
...
Without the macro defined the following would yield a syntax error:
struct IFoo
{
virtual GetInt(const std::string& name) = 0;
};
struct MockFoo : IFoo
{
MOCK_METHOD(int32_t, GetInt, (const std::wstring &name), (override, const));
};
Co-authored-by: Christoph Strehle <strehle@teamviewer.com>
2020-03-17 14:25:07 +01:00
orbitcowboy
4e63613855
wxwidgets.cfg: Added support for more interfaces.
2020-03-16 17:51:48 +01:00
orbitcowboy
637c4e2bc0
wxwidgets.cfg: Added support for more interfaces.
2020-03-15 19:39:23 +01:00
fuzzelhjb
9f3deb30b1
Support clang tidy ( #2564 )
...
* add basic clang-tidy support in the same way as in the GUI
* fix native path
* fix some code styles
* fix cppcheck findings
* update again
* only do clang-tidy if set in the project file
* fix handling if folders have spaces
* tiny fixes
* some tiny updates
* make clang-tidy error message parser more robust
Co-authored-by: fuzzelhjb <FaniXagy8-Hopk>
2020-03-15 11:09:35 +01:00
Dmitry-Me
ab5835d359
Avoid giant C4267 warning in 64-bit Visual C++ build ( #2569 )
2020-03-14 14:41:45 +01:00
amai2012
c123b9fcdd
Rename file
2020-03-14 12:42:04 +01:00
orbitcowboy
b503b1a6c6
Merge branch 'master' of https://www.github.com/danmar/cppcheck
2020-03-13 22:42:49 +01:00
orbitcowboy
e90a523115
wxwidgets.cfg: Improved support for more constants
2020-03-13 22:42:24 +01:00
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