Daniel Marjamäki
2e20ee9e39
set version 2.2.99
2020-10-03 13:54:17 +02:00
Daniel Marjamäki
ad620413f1
donate-cpu-server: OLD_VERSION=2.2
2020-10-03 12:55:55 +02:00
orbitcowboy
0b62ca7250
donate_cpu.py: Improved detection of Qt headers
2020-10-03 12:19:02 +02:00
Daniel Marjamäki
621f0f59b3
Makefile: Set debug mode
2020-10-03 11:10:16 +02:00
Daniel Marjamäki
8636dd8559
2.2: Updated Makefile
2020-10-03 11:05:53 +02:00
Daniel Marjamäki
17e562a87f
astyle formatting
...
[ci skip]
2020-10-03 11:02:11 +02:00
Paul
828a5e2326
Fix issue 9930: valueFlowLifetime hang
2020-10-03 11:01:53 +02:00
Daniel Marjamäki
c373be0b16
2.2: Update versions
2020-10-03 10:47:35 +02:00
Daniel Marjamäki
4843cc22e0
Createrelease: Add self check at the end where stylistic issues can be fixed.
2020-10-03 09:32:43 +02:00
Daniel Marjamäki
6171e55625
Updated AUTHORS
2020-10-03 09:30:47 +02:00
Daniel Marjamäki
8d20d8afb5
Update Copyright year
2020-10-03 09:15:56 +02:00
Daniel Marjamäki
c7262cde2d
createrelease: in self check, --inline-suppr should be used
2020-10-03 09:11:32 +02:00
Daniel Marjamäki
e1ea2ee37d
lupdate gui.pro
2020-10-03 09:08:46 +02:00
Daniel Marjamäki
f722d1a799
windows installer: Add microsoft_unittest.cfg
2020-10-03 08:36:33 +02:00
orbitcowboy
03680a6cd7
mfc.cfg: Added support for DECLARE_MESSAGE_MAP-macro, ref.: https://docs.microsoft.com/de-de/cpp/mfc/reference/message-map-macros-mfc?view=vs-2019#declare_message_map
2020-10-03 08:25:35 +02:00
orbitcowboy
2bb0d61128
wxwidgets.cfg: Added support for more interfaces, found by daca@home
2020-10-03 08:19:43 +02:00
orbitcowboy
dbf06a9927
wxwidgets.cfg: Added support for more interfaces, found by daca@home
2020-10-03 08:15:02 +02:00
Daniel Marjamäki
27fbe28804
Try to make Travis happy
2020-10-02 21:24:30 +02:00
orbitcowboy
14f70cf131
Attempt to make travis happy
2020-10-02 20:45:06 +02:00
orbitcowboy
32a6f3d962
wxwidgets.cfg: Added support for more interfaces, found by daca@home
2020-10-02 20:35:30 +02:00
orbitcowboy
7a4f55aaed
wxwidgets.cfg: Added support for more interfaces, found by daca@home
2020-10-02 20:32:14 +02:00
Daniel Marjamäki
aa055fe430
try to make test/cli happy
2020-10-02 20:30:28 +02:00
Daniel Marjamäki
6de91d6386
Fixed #9707 (False positive: unreadVariable, union)
2020-10-02 20:22:22 +02:00
orbitcowboy
b19e631292
Added macros from ICU-Project (ref. to https://unicode-org.github.io/icu-docs/apidoc/released/icu4c/index.html ). This found by daca@home.
2020-10-02 20:01:06 +02:00
Daniel Marjamäki
63e08689c1
Fix Cppcheck warning
2020-10-02 19:35:24 +02:00
Daniel Marjamäki
ea3a9d658a
Suppressions: Add special case for backwards compatibility. suppression comment after a {.
2020-10-02 18:56:26 +02:00
Daniel Marjamäki
7ff6d691e2
Manual: Clarify section about inline suppressions. For backwards compatibility we might need to handle a comment after a '{' differently.
2020-10-02 18:18:30 +02:00
Daniel Marjamäki
1251d35ba4
Fix SymbolDatabase for 'extern const char ( * x [ 256 ] ) ;'
2020-10-02 08:25:43 +02:00
orbitcowboy
7bf6883d1a
wxwidgets.cfg: Added support for more interfaces, found by daca@home report: http://cppcheck1.osuosl.org:8000/check_library_function_report.html
2020-10-01 09:42:55 +02:00
orbitcowboy
da6f10e369
Astyle formatting code [ci skip]
2020-10-01 08:33:16 +02:00
orbitcowboy
4bf827e44d
std.cfg: Added support bsearch_s() which was introduced with C11
2020-10-01 08:32:48 +02:00
Daniel Marjamäki
1548bf2267
Fix googletest.cfg macros ASSERT_THROW and EXPECT_THROW to avoid syntax errors
2020-09-30 18:45:04 +02:00
orbitcowboy
63917bc3c3
Better fix for c4dd8536c1
2020-09-30 15:44:06 +02:00
Daniel Marjamäki
c4dd8536c1
Fixed make checkcfg
2020-09-30 12:36:31 +02:00
amai2012
ff7cd433be
Update posix.cfg
...
Remove <use-retval/> for setuid,seteuid,setgid,setegid
See 0a6babea74 (r42822000)
2020-09-30 09:50:44 +02:00
Daniel Marjamäki
a39e5835d4
Fixed #9925 (False positive: Redundant pointer operation in macro)
2020-09-29 18:27:07 +02:00
Daniel Marjamäki
fe2717fa37
Fixed testrunner
2020-09-29 17:43:53 +02:00
Daniel Marjamäki
67b1698752
daca: suppress variableScope warnings in C code as that is usually suppressed in real world. It should make the daca output more relevant.
2020-09-29 17:20:19 +02:00
Daniel Marjamäki
bf3833dad5
Avoid constStatement false positives for 'foo() || x=5'. Found in daca@home.
2020-09-29 13:35:39 +02:00
Daniel Marjamäki
f956dee58a
Tokenizer: Fixed simplification of parentheses in expression 'a=(b,c);'
2020-09-29 12:06:30 +02:00
Daniel Marjamäki
31c800e19e
Fixed false positive: suspicious operator ',' seen in daca@home
2020-09-29 11:32:48 +02:00
Daniel Marjamäki
ad9b2741cd
varid: set varid for 'extern const char (*x[256]);'. This is a partial fix for #9922
2020-09-29 10:53:20 +02:00
Daniel Marjamäki
d901edd4af
Avoid clarifyCalculation warning for 'x % 16 ? 1 : 0' expression. Fixes FP seen in daca@home. It seems likely that the order is understood otherwise the ternary calculation could easily be simplified away.
2020-09-29 08:39:21 +02:00
Daniel Marjamäki
e32ccb591b
Fixed clarifyCalculation fp for 'a % b ? "a" : "b"'. seen in daca@home.
2020-09-29 08:29:23 +02:00
IOBYTE
4e4108dc8b
fix daca insighttoolkit crash in template simplifier ( #2826 )
...
Don't count deleted instantiations in the recursive count.
I can't reduce the daca code because creduce requires a preprocessed
file to reduce and the problem doesn't show up when the file is
preprocessed with cppcheck.
There is no test because I couldn't reduce the problem files.
Co-authored-by: Robert Reif <reif@FX6840>
2020-09-28 22:51:13 +02:00
Daniel Marjamäki
bf236e91d7
Fixed #9918 (False positive: autoVariable pointer is NULLed later)
2020-09-28 22:48:57 +02:00
Daniel Marjamäki
8395522390
Fixed #9919 (False positive: clarifyCalculation for code: flags & ZRL_EOL_NUL ? '\0' : '\n')
2020-09-28 19:18:34 +02:00
Daniel Marjamäki
4c9db17742
Tokenizer: replace all or none of the alternative tokens in a translation unit
2020-09-28 19:01:31 +02:00
Daniel Marjamäki
fa42d8c49c
Fixed #9920 (Tokenizer: The keyword is not replaced, leads to false positive)
2020-09-28 16:35:50 +02:00
Daniel Marjamäki
84b8f32fd4
daca: group warnings for prohibited functions
2020-09-27 21:42:07 +02:00