Daniel Marjamäki
635059603a
cppcheck.cfg: support custom productname and about message
2022-03-24 23:01:20 +01:00
Daniel Marjamäki
4c650289ad
compile_commands.json: ensure that order of include paths are kept
2022-03-24 22:59:18 +01:00
Daniel Marjamäki
760436c56e
Fixed #10887 (compile database: include path with space is not handled)
2022-03-24 22:59:00 +01:00
Daniel Marjamäki
355866f0cf
Import project: do not crash when importing compile database generated by IAR workbench
2022-03-24 22:58:45 +01:00
Daniel Marjamäki
97bf53515b
2.7.3: Set version
2022-03-19 12:35:06 +01:00
Daniel Marjamäki
a06898dc8e
cppcheckdata.py: code cleanup
2022-03-19 12:30:53 +01:00
Daniel Marjamäki
a045149181
Addons: Variable.constness will never be None
2022-03-19 12:30:35 +01:00
Daniel Marjamäki
54d079387e
cli: in linux set proper exename value when cppcheck is executed from PATH and argv[0] does not have path information
2022-03-19 12:30:22 +01:00
Georgi D. Sotirov
199fe343c3
Replace tinyxml2_LIBRARY with tinyxml2_LIBRARIES ( #3897 )
2022-03-19 08:35:59 +01:00
Oliver Stöneberg
d922a3b0bc
only use bundled tinyxml2 in CMake when configured to do so ( #3806 )
2022-03-19 08:35:13 +01:00
Daniel Marjamäki
f0150069c8
ImportProject: Fix loading of sln without BOM
2022-03-12 13:03:04 +01:00
Daniel Marjamäki
6ef6b02153
ValueFlow: Fix crash
2022-03-10 20:16:12 +01:00
Daniel Marjamäki
c5b3fafe84
update scripts
2022-03-10 20:13:11 +01:00
Daniel Marjamäki
6ba6567ad8
2.7: Updated Makefile
2022-02-05 13:03:32 +01:00
Daniel Marjamäki
611725a066
2.7: Set versions
2022-02-05 12:18:53 +01:00
Daniel Marjamäki
631a9eefd2
2.7: Set versions
2022-02-05 12:17:54 +01:00
Daniel Marjamäki
229f9d31e8
Updated AUTHORS
2022-02-05 11:56:58 +01:00
Daniel Marjamäki
a28f0bc9a1
createrelease: updates
2022-02-05 11:51:11 +01:00
Daniel Marjamäki
3989408738
Update copyright year
2022-02-05 11:45:17 +01:00
Daniel Marjamäki
e9be84d81a
GUI: lupdate gui.pro
2022-02-05 11:43:36 +01:00
Daniel Marjamäki
ebf654273d
createrelease: updated bughunting command
2022-02-05 11:43:18 +01:00
Daniel Marjamäki
3ac4eab160
createrelease: run self check with optimised cppcheck, with a debug build it's too slow
2022-02-05 11:34:13 +01:00
Daniel Marjamäki
0c66453c21
GUI: use range for instead of foreach
2022-02-05 11:33:28 +01:00
Paul Fultz II
508fa6284c
Python fixes for reduce.py ( #3795 )
2022-02-05 08:32:01 +01:00
Oliver Stöneberg
c2b5cdcca5
CI-windows.yml: added windows-2022, removed QT 5.9.9 and use msbuild instead of CMake for now ( #3730 )
2022-02-04 19:37:53 +01:00
chrchr-github
7f28edbe26
Fix #10789 Crash in CheckMemoryLeakInClass ( #3797 )
2022-02-04 19:32:23 +01:00
orbitcowboy
31ea13eb0c
test std.cfg: Fixed wrong npos constant.
2022-02-04 12:39:43 +01:00
orbitcowboy
7062b0a973
std.cfg: Improved configuration of std::[w]string::substr(). Do not allow negative length arguments.
2022-02-04 12:30:37 +01:00
chrchr-github
17b538210d
Fix #10151 FP eraseDereference when returning iterator from loop ( #3787 )
2022-02-03 21:13:48 +01:00
orbitcowboy
1798b73808
cppcheck-cfg.rng: Increased number of allowed function arguments from 20 to 40. Have seen this number of arguments in generated code.
2022-02-03 15:35:09 +01:00
orbitcowboy
76b6203e0d
cppcheck-cfg.rng: Allow return values to be started with '::'.
2022-02-03 15:24:30 +01:00
orbitcowboy
0cec93cab7
cppcheck-cfg.rng: Updated pattern that 'char const * const *' is accepted as return type as well.
2022-02-03 14:48:57 +01:00
Daniel Marjamäki
9f6a36c1a8
Revert "Fix #10671 : functionConst FN with begin/end and const_iterator ( #3749 )"
...
This reverts commit 2cacb13f85
.
2022-02-03 11:04:02 +01:00
Oliver Stöneberg
58f9672ff4
cleaned up GUI includes based on include-what-you-use ( #3792 )
2022-02-02 22:31:51 +01:00
chrchr-github
a20465eaea
Fix #10484 FP knownConditionTrueFalse with static variable and direct initialization / partial fix for #10248 ( #3728 )
2022-02-02 22:30:49 +01:00
Daniel Marjamäki
4d9a1427b2
CheckClass: Write separate errorid for missing member copy instead of uninitMember
2022-02-02 20:44:22 +01:00
chrchr-github
511520d623
Fix #10679 FP constParameter with const/nonconst overload ( #3780 )
2022-02-02 19:38:32 +01:00
Rikard Falkeborn
2cacb13f85
Fix #10671 : functionConst FN with begin/end and const_iterator ( #3749 )
...
Check if the iterator is assigned to a const_iterator or
const_revese_iterator, in which case it is possible the function can be
const. Unfortunately, it is not possible to remove the hard coding of
cbegin, cend, crbegin and crend due to the need to handle auto, as in
the following code snippet:
void cbegin_auto(void)
{
for (auto it = m_str.cbegin(); it != m_str.cend(); ++it) {;}
}
2022-02-02 19:37:06 +01:00
chrchr-github
dad64bfcc8
Fix #10091 FP shadowFunction with default destructor implementation / Tests for #8635 , #9776 , #9940 , #9951 , #10018 ( #3763 )
2022-02-02 19:30:49 +01:00
chrchr-github
69ee464dff
Fix test for #9827 ( #3781 )
2022-02-02 19:29:01 +01:00
chrchr-github
8cf5c8fbf2
Fix #10684 FP unusedStructMember with static object ( #3681 )
2022-02-02 19:28:16 +01:00
Oliver Stöneberg
9d36dd56a8
reordered includes in GUI code ( #3790 )
2022-02-02 16:17:28 +01:00
chrchr-github
94a1f76ec4
Fix 10158 FP memleak when pointer is stored in a sub-object ( #3764 )
2022-02-02 13:13:12 +01:00
Paul Fultz II
11387cbb41
Fix 10768: performance regression ( #3788 )
2022-02-02 13:01:44 +01:00
Oliver Stöneberg
4af8734c29
release-windows.yml: disabled some unnecessary PCRE build options ( #3778 )
2022-02-02 13:00:54 +01:00
chrchr-github
2b13a27140
Fix #9696 FP uninitdata - writing pointer to stream ( #3772 )
2022-02-02 12:24:32 +01:00
Oliver Stöneberg
d928b57829
cache remaining Qt installations in CI ( #3782 )
2022-02-01 17:26:52 +01:00
Oliver Stöneberg
d6ae089ca5
fixed most of the Qt deprecation warnings ( #3779 )
2022-02-01 17:26:16 +01:00
shaneasd
4127885282
improve noConstructor message ( #3750 )
2022-02-01 17:24:26 +01:00
Oliver Stöneberg
8f7770f512
added an include-what-you-use GitHub Action ( #3759 )
2022-02-01 17:19:19 +01:00