Daniel Marjamäki
|
51a6f154e0
|
GUI: If DATADIR is not configured try to guess it. Try to use application path. Or look if there is a cppcheck path.
|
2020-08-29 21:26:49 +02:00 |
Daniel Marjamäki
|
c6d2e0fae1
|
Fixed #9830 (Addons should return 0 when success)
|
2020-08-29 07:44:32 +02:00 |
Daniel Marjamäki
|
acd1e848dd
|
manual; try to clarify better how variable contracts are used by cppcheck
|
2020-08-28 19:42:52 +02:00 |
Daniel Marjamäki
|
18c29544eb
|
astyle formatting
|
2020-08-28 19:29:33 +02:00 |
Paul Fultz II
|
6ab3c93fb1
|
Fix issue 9756: false negative: invalid iterator from std::find_if (#2760)
|
2020-08-28 19:29:09 +02:00 |
Paul Fultz II
|
82bdbcd73b
|
Fix issue 9859: false positive: knownConditionTrueFalse (#2759)
|
2020-08-28 19:26:09 +02:00 |
Daniel Marjamäki
|
262d37fb47
|
windows installer: another attempt to make help work. the 'contents' are shown now but for some reason the 'index' is not.
|
2020-08-28 19:05:11 +02:00 |
Paul Fultz II
|
494fff65b7
|
Add outOfBounds check for iterators to containers (#2752)
|
2020-08-26 21:05:17 +02:00 |
IOBYTE
|
8774e97f26
|
fix #9771 (Syntax error; operator != <> ()) (#2757)
|
2020-08-26 18:39:33 +02:00 |
Daniel Marjamäki
|
bb5cad42cd
|
astyle formatting
[ci skip]
|
2020-08-26 10:15:09 +02:00 |
Paul Fultz II
|
9ec27c112f
|
Fix issue 9855: false positive: uninitvar (#2754)
|
2020-08-26 07:02:15 +02:00 |
IOBYTE
|
7cf3909275
|
fix #9854 (Syntax error on valid C++ code) (#2756)
|
2020-08-26 07:00:58 +02:00 |
Paul Fultz II
|
46bf2d7d52
|
Dont diagnose impossible values for iterators (#2755)
|
2020-08-26 06:58:53 +02:00 |
Daniel Marjamäki
|
31d7acb99a
|
manual: markdown fix
|
2020-08-25 18:16:14 +02:00 |
Daniel Marjamäki
|
56f1897961
|
manual: markdown fix
|
2020-08-25 18:13:18 +02:00 |
Daniel Marjamäki
|
3226fd85ee
|
manual: Updated documentation for contracts
|
2020-08-25 18:10:03 +02:00 |
Daniel Marjamäki
|
ebff916506
|
Microsoft SAL: convert _Field_range_ into corresponding cppcheck annotations
|
2020-08-25 09:28:17 +02:00 |
shaneasd
|
45fc6a0eeb
|
Test for syntax error in nested templates (#2746)
|
2020-08-25 07:14:44 +02:00 |
Paul Fultz II
|
ec89c57a90
|
Fix issue 9849: false positive: containerOutOfBounds (#2753)
|
2020-08-25 07:12:41 +02:00 |
Daniel Marjamäki
|
2028591ecf
|
Travis: Rename VariableContractsDialog::ui to VariableContractsDialog::mUI to follow naming convention
|
2020-08-24 22:11:07 +02:00 |
Daniel Marjamäki
|
6277eece67
|
Variable contracts
|
2020-08-24 20:57:49 +02:00 |
Paul Fultz II
|
02287d9d34
|
Fix issue 7324: valueFlowForward : decrement (#2737)
|
2020-08-24 13:10:36 +02:00 |
Georgy Komarov
|
c5369b84e1
|
Prevent copying in range-based for loops (#2751)
Use reference types in range for loops to prevent copying.
|
2020-08-23 20:53:44 +02:00 |
Daniel Marjamäki
|
2bb73840fc
|
astyle formatting
|
2020-08-23 17:17:33 +02:00 |
Paul Fultz II
|
ac846b96d1
|
New check: Iterating a known empty container (#2740)
|
2020-08-22 09:16:26 +02:00 |
Paul Fultz II
|
becdf20310
|
Fix crash in isSameExpression (#2748)
|
2020-08-22 07:05:21 +02:00 |
Kamil Dudka
|
33fb0e782e
|
enable moduloofone reports only with --enable=style (#2747)
... because it is reported with Severity::style
|
2020-08-21 20:43:03 +02:00 |
Daniel Marjamäki
|
b56732ef20
|
Travis: commented out pylint temporarily because there is some syntax error in pylint. These commands should be uncommented when possible.
|
2020-08-21 19:43:19 +02:00 |
Daniel Marjamäki
|
e0e70c2531
|
Fixed compiler warnings
|
2020-08-21 17:23:55 +02:00 |
Daniel Marjamäki
|
3ebd97c448
|
cmake: disable -Wno-maybe-uninitialized. There can be false positives and therefore this is not working well together with -Werror option.
|
2020-08-21 17:17:49 +02:00 |
eivindt
|
27e40af06c
|
Add support for comments at end of suppression in suppression files (#2736)
|
2020-08-20 21:49:07 +02:00 |
Paul Fultz II
|
a332062385
|
Add exprId to tokens (#2744)
|
2020-08-20 18:21:29 +02:00 |
Daniel Marjamäki
|
6446790d48
|
Merge pull request #2739 from dan-42/fix_ticket_9839_ast_error
Fix ticket 9839: AST broken; range for loop that uses decltype
|
2020-08-18 21:59:50 +02:00 |
Daniel Marjamäki
|
4c2f41410e
|
Merge pull request #2743 from pfultz2/valueflow-iterator
Fix issue 737: new check: Dereference end iterator
|
2020-08-18 21:34:32 +02:00 |
Paul
|
7776fb82a2
|
Fix issue 737: new check: Dereference end iterator
|
2020-08-17 16:36:45 -05:00 |
Daniel Friedrich
|
f413c9cad8
|
Improve handling of decltype( in for loops
Simplify pattern macht and token selection
Improve handling of decltype( in for loops
|
2020-08-17 20:52:14 +02:00 |
Daniel Friedrich
|
160b8f0f17
|
Add test case to reproduce bug
Add tokenizer test range based for with decltyle(x) *
|
2020-08-17 20:51:45 +02:00 |
Daniel Marjamäki
|
b01de02866
|
Merge pull request #2742 from jpyllman/fix_clang_gitignore
add temporary clangd and clang project files to .gitignore
|
2020-08-17 14:56:08 +02:00 |
Jens Yllman
|
3efbac88f0
|
clangd and clang project files
|
2020-08-17 09:55:37 +02:00 |
Daniel Marjamäki
|
840bd14c8b
|
Merge pull request #2738 from stbrowne/patch-1
Corrected a few macros and functions from wxWidgets
|
2020-08-15 08:25:05 +02:00 |
Steve Browne
|
495e416232
|
Corrected a few macros and functions from wxWidgets
|
2020-08-14 23:14:14 -04:00 |
Daniel Marjamäki
|
7ff5a208a5
|
Merge pull request #2735 from pfultz2/container-forward
Use ForwardAnalyzer for container forward
|
2020-08-13 21:58:37 +02:00 |
Paul
|
e759508335
|
Remove reduntant condition
|
2020-08-13 10:10:26 -05:00 |
Paul
|
3523d2b329
|
Remove unused variable
|
2020-08-11 14:05:28 -05:00 |
Paul
|
a509de4d70
|
Add moves
|
2020-08-11 11:50:27 -05:00 |
Paul
|
96b74c57ff
|
Remove useless condition
|
2020-08-11 11:26:40 -05:00 |
Paul
|
8c7e91c985
|
Remove old container forward
|
2020-08-10 22:09:33 -05:00 |
Paul
|
71c228a01a
|
Check for containers that modify the size using square bracket
|
2020-08-10 22:07:22 -05:00 |
Paul
|
a5b0a1c9e2
|
Evaluate container size in program memory
|
2020-08-10 20:08:49 -05:00 |
Daniel Marjamäki
|
20ded0b295
|
Merge pull request #2733 from jubnzv/fix-20-7-multicharacter
misra.py: Fix 20.7 false positive for multi-character arguments
|
2020-08-10 11:07:10 +02:00 |