Paul Fultz II
d9eacaecbb
Fix issue 9842: ValueFlow: wrong handling of ?, seems to think that the whole expression is a condition ( #2821 )
2020-09-23 07:45:03 +02:00
Oliver Stöneberg
2e24cc1434
checkother.h: added missing newline in classInfo - fixes tests ( #2818 )
2020-09-21 21:44:46 +02:00
Daniel Marjamäki
107ee57e7a
Fixed #9909 (False positive: knownArgument for calculation 'self->maxsize * sizeof(intptr_t)')
2020-09-21 20:02:55 +02:00
Daniel Marjamäki
bca3605f77
astyle formatting
2020-09-21 19:48:04 +02:00
Oliver Stöneberg
1077b0d2a6
small compileroptions.cmake cleanup ( #2817 )
...
* compileroptions.cmake: moved common warnings to proper scope and aligned them with other build systems / fixed some -Wrange-loop-construct clang warnings
* compileroptions.cmake: use check_cxx_compiler_flag() via add_compile_options_safe() helper to avoid compiler version checks
2020-09-21 19:41:28 +02:00
Oliver Stöneberg
7189b303ae
fixed some modernize-loop-convert clang-tidy warnings ( #2815 )
2020-09-21 19:30:47 +02:00
orbitcowboy
98b6238450
std.cfg: Added return values for 'wmemmove' and 'memmove'
2020-09-21 08:50:28 +02:00
Paul Fultz II
7b6d3f8061
Fix issue 9907: False positive: knownEmptyContainer after function call with :: ( #2814 )
2020-09-20 22:37:28 +02:00
Daniel Marjamäki
730b95331e
Fixed #9905 (False positive: known argument 'header.length()')
2020-09-20 20:17:10 +02:00
Daniel Marjamäki
c563944fdd
astyle formatting
2020-09-20 20:14:30 +02:00
Paul Fultz II
857722f859
Fix issue 9711: FP knownConditionTrueFalse for variable modified via pointer ( #2813 )
2020-09-20 14:27:09 +02:00
Daniel Marjamäki
9f690fb478
Revert "Create CODE_OF_CONDUCT.md ( #2812 )"
...
This reverts commit 5dbad816f0
.
2020-09-19 10:14:30 +02:00
matvii
5dbad816f0
Create CODE_OF_CONDUCT.md ( #2812 )
2020-09-19 07:19:36 +02:00
Paul Fultz II
c2e8051196
Fix issue 9904: False positive: duplicateCondition when modifying variable in lambda ( #2811 )
2020-09-18 07:44:26 +02:00
Paul Fultz II
e5d0ffdbe7
Fix issue 9900: False positive: Returning lambda that captures local variable 'x' that will be invalid when returning. ( #2809 )
2020-09-17 08:33:52 +02:00
Paul Fultz II
782684a7cc
Fix issue 9530: False positive: Reference to temporary returned when using initializer lists ( #2796 )
2020-09-17 08:33:16 +02:00
Paul Fultz II
11c99d7387
Fix issue 9880: False positive: danglingLifetime ( #2810 )
2020-09-17 07:23:38 +02:00
Daniel Marjamäki
b827f8d92e
Fixed #9715 (FP invalidFunctionArgBool for third argument to setenv)
2020-09-15 22:31:41 +02:00
Paul Fultz II
ebbff08932
Fix issue 9899: False positive: Non-local variable will use object that points to local variable ( #2808 )
2020-09-15 07:11:52 +02:00
Daniel Marjamäki
3459f0da32
Fixed #9812 (False positive; syntax error 'using array_p = const array_t *;')
2020-09-14 21:59:58 +02:00
shaneasd
53a0760fdf
Improve ast generation for templated function parameters ( #2803 )
2020-09-14 18:44:50 +02:00
Paul Fultz II
a42976d656
Fix issue 9898: false positive: knownConditionTrueFalse ( #2806 )
2020-09-14 18:43:11 +02:00
Daniel Marjamäki
566e74fae0
bump simplecpp (fix hang when systemheader includes itself)
2020-09-14 15:43:43 +02:00
Daniel Marjamäki
8a90e55ece
triage: fix version match for 2.1
2020-09-14 15:43:24 +02:00
Daniel Marjamäki
4dd85cfbe0
Merge pull request #2802 from rikardfalkeborn/9228-fix-fn-with-realloc-and-null-assignment
...
Improve memleakOnRealloc with assignment to NULL
2020-09-14 11:04:29 +02:00
Daniel Marjamäki
6a833b5769
Merge pull request #2685 from firewave/qmake
...
qmake improvements
2020-09-14 11:03:26 +02:00
Paul Fultz II
94850fec3f
Fix issue 9897: False positive: nullPointerRedundantCheck ( #2805 )
2020-09-14 09:17:29 +02:00
Paul Fultz II
bb7164171c
Fix issue 9894: ValueFlow: wrong known value below while with assignment ( #2804 )
...
* Fix issue 9894: ValueFlow: wrong known value below while with assignment
2020-09-14 08:03:25 +02:00
firewave
57201cf8d5
gui.pro: disable precompiled headers for older VS versions
2020-09-13 23:06:45 +02:00
Rikard Falkeborn
791051ced0
Fix #9228 (FN common realloc mistake with assignment of NULL)
...
Do not match for assignments with NULL.
2020-09-13 21:49:49 +02:00
firewave
0302ab217a
.gitignore: added gui/.qmake.stash
2020-09-13 20:58:08 +02:00
firewave
56c4546ede
added precompiled header for qmake
2020-09-13 20:57:51 +02:00
firewave
be45abe6be
gui.pro: aligned qmake warnings with make ones
2020-09-13 20:57:51 +02:00
Daniel Marjamäki
ebb5ff0e19
Merge pull request #2799 from jubnzv/gui-add-python-path-validation
...
gui: Add validation for Python path
2020-09-13 12:43:34 +02:00
Daniel Marjamäki
3c1e52dd37
Merge pull request #2800 from jubnzv/gui-add-keybindings
...
gui: Add more keyboard shortcuts
2020-09-13 12:41:30 +02:00
Rikard Falkeborn
da8ad9ce19
memleakOnRealloc: Don't warn if pointer is NULL in condition
2020-09-12 18:48:23 +02:00
Georgy Komarov
a2f382464b
gui: Add more keyboard shortcuts
2020-09-12 11:56:59 +03:00
Georgy Komarov
a3a2e574a5
gui: Add validation for Python path
...
This commit adds to cppcheck-gui validation for the path to the Python
interpreter entered by the user.
2020-09-12 11:35:00 +03:00
Daniel Marjamäki
3880412c46
Merge pull request #2798 from pfultz2/programmemory-impossible
...
FIx issue 9895: ValueFlow: Wrong known value below function call with reference parameter
2020-09-12 05:03:20 +02:00
amai2012
6b77a04347
Merge pull request #2797 from amai2012/buildHTML
...
Create manual.html
2020-09-12 00:10:27 +02:00
Paul
be900873cc
FIx issue 9895: ValueFlow: Wrong known value below function call with reference parameter
2020-09-11 16:03:57 -05:00
amai2012
c162676099
Update buildman.yml
...
Another attempt
2020-09-11 22:19:08 +02:00
Daniel Marjamäki
e03a8e1dc1
Fixed #9892 (Crash: endless recursion in Token::typeDecl for expression 'auto combo = widget->combo = new Combo{};')
2020-09-11 21:29:48 +02:00
Daniel Marjamäki
61145cf878
test/cli/test-inline-suppress.py: better testing
2020-09-11 18:29:42 +02:00
Daniel Marjamäki
b5cd823080
Bump simplecpp
2020-09-11 18:28:37 +02:00
amai2012
6a1b6aacf5
Update buildman.yml
...
syntax fix
2020-09-11 16:56:35 +02:00
amai2012
6ae0bd5358
Create manual.html
2020-09-11 16:48:03 +02:00
Daniel Marjamäki
600538a325
Merge pull request #2793 from Ken-Patrick/mixedoperators
...
Fix false positives with condition with || and &&
2020-09-11 10:11:31 +02:00
Daniel Marjamäki
d46b9cec5f
Merge pull request #2795 from pfultz2/fp-lifetime-temp-function-obj
...
Fix issue 9889: False positive: Using reference to dangling temporary with function object
2020-09-11 09:05:43 +02:00
Daniel Marjamäki
92d65a1824
astyle formatting
2020-09-11 08:51:12 +02:00