Daniel Marjamäki
|
31af3a64bc
|
Tokenizer::setVarId: Fixed problem with same variable name in multiple classes
|
2011-03-19 11:09:51 +01:00 |
Daniel Marjamäki
|
61d5229d06
|
Refactoring: Renamed showAll flag to inconclusive
|
2011-03-19 10:51:38 +01:00 |
Daniel Marjamäki
|
45a3828da7
|
Tokenizer::setVarId: Better handling of class declarations when variable usage comes before variable declaration
|
2011-03-19 09:04:03 +01:00 |
Robert Reif
|
afc7fd82ed
|
#2630 (segmentation fault of cppcheck (template <typedef A>)
|
2011-03-18 20:44:58 -04:00 |
Robert Reif
|
1de35c168d
|
fix #2657 (segmentation fault of cppcheck ( gcc-testsuite: return f(){} ))
|
2011-03-17 20:10:56 -04:00 |
Robert Reif
|
7b63da4964
|
fix #2651 (Segmentation fault (typedef))
|
2011-03-17 20:00:49 -04:00 |
Daniel Marjamäki
|
dab09aedee
|
Fixed #2648 (Tokenizer::simplifyTemplates: Segmentation fault (gcc-testsuite))
|
2011-03-17 21:45:03 +01:00 |
Robert Reif
|
7e04ea0859
|
fix removal of throw() from const functions
|
2011-03-16 19:54:52 -04:00 |
Daniel Marjamäki
|
fec9edf628
|
Tokenizer::simplifyTemplates: First simple fix for problems when using sizeof in template parameter
|
2011-03-16 22:16:30 +01:00 |
Robert Reif
|
f7cbc90c84
|
fix #2581 (### Internal error in Cppcheck. Please report it.)
|
2011-03-15 23:28:45 -04:00 |
Robert Reif
|
47531dd99c
|
fix #2637 (segmentation fault of cppcheck ( {} const const ))
|
2011-03-15 22:33:14 -04:00 |
Robert Reif
|
ba0b3e6451
|
fix #2651 function typedef with extra ()s
|
2011-03-15 19:24:30 -04:00 |
Greg Hewgill
|
fa868e44ae
|
Support use of 'this->' when checking operator=() return type
|
2011-03-15 20:19:30 +13:00 |
Daniel Marjamäki
|
07fe361964
|
Fixed #2638 (Tokenizer::setVarId : varid is wrongly given when unknown macro is used)
|
2011-03-13 17:52:45 +01:00 |
Daniel Marjamäki
|
f26bc6a75c
|
Fixed #2621 (Segmentation fault for GCC statement expression)
|
2011-03-13 10:34:54 +01:00 |
Daniel Marjamäki
|
ed11a9e3cb
|
Fixed #2639 (False positive: confusion between struct and function)
|
2011-03-13 08:38:40 +01:00 |
Robert Reif
|
27f4b8b88b
|
Convert CheckClass::noMemset to use the symbol database to lookup types. This adds better support for namespaces and nested classes.
|
2011-03-12 22:41:21 -05:00 |
Daniel Marjamäki
|
f3728c0b76
|
Fixed #2647 (False positive: Possible null pointer dereference (member function call))
|
2011-03-12 20:57:19 +01:00 |
Daniel Marjamäki
|
6bd56dbe20
|
Fixed #2643 (False positive: iterator increment and insert)
|
2011-03-12 20:29:54 +01:00 |
Robert Reif
|
6a2848e50f
|
fix another false negative introduced by fix for #2641
|
2011-03-12 12:27:19 -05:00 |
Robert Reif
|
384bd96766
|
fix false negative introduced by fix for #2641
|
2011-03-12 11:42:58 -05:00 |
Daniel Marjamäki
|
0a28b7309f
|
Fixed #2641 (False positive: Possible null pointer dereference (global pointer, function call))
|
2011-03-12 15:02:06 +01:00 |
Daniel Marjamäki
|
29ab409af5
|
Merge branch '2390b' of https://github.com/elfring/cppcheck into elfring-2390b
|
2011-03-12 11:58:24 +01:00 |
Greg Hewgill
|
2716b856f4
|
throwing an exception is a valid immediate exit from switch
|
2011-03-12 07:27:31 +13:00 |
Robert Reif
|
79f0fe7d1c
|
refactor symbol database and checks to use list of Scope rather than list of Scope pointers
|
2011-03-10 19:43:29 -05:00 |
Greg Hewgill
|
256e7dee21
|
Allow suppressing all warnings (using *) for specified file or files
|
2011-03-10 22:00:48 +13:00 |
Greg Hewgill
|
1ec6a642dc
|
Revert "Check for memset on nested structs (ticket #1288)"
Turns out this fix is incomplete.
This reverts commit a084697410 .
|
2011-03-10 20:19:31 +13:00 |
Daniel Marjamäki
|
db48158b28
|
Suspicious condition: Added new check for conditions that contains assignment+comparison
|
2011-03-09 22:20:14 +01:00 |
Daniel Marjamäki
|
5a0ec56fc2
|
Fixed #2632 (segmentation fault of cppcheck ( void>(); void>() ))
|
2011-03-09 21:25:44 +01:00 |
Daniel Marjamäki
|
bea3875386
|
Fixed #2607 (segmentation fault of cppcheck ( struct C {} {} x))
|
2011-03-09 21:00:28 +01:00 |
Daniel Marjamäki
|
be33f6b945
|
Fixed #2635 (False positive: resource leak)
|
2011-03-09 19:53:59 +01:00 |
Greg Hewgill
|
a084697410
|
Check for memset on nested structs (ticket #1288)
|
2011-03-09 23:02:49 +13:00 |
Greg Hewgill
|
3883afcbf4
|
Check for memset on objects with virtual functions (ticket #607)
|
2011-03-09 22:10:39 +13:00 |
Greg Hewgill
|
70b4076111
|
refactor noMemset so it recursively checks parent classes for non-memset-compatible things
|
2011-03-09 21:29:30 +13:00 |
Robert Reif
|
7a7257f200
|
fix #2630 (segmentation fault of cppcheck ( typedef ... )
|
2011-03-08 20:24:57 -05:00 |
Daniel Marjamäki
|
0b8581e717
|
Fixed #2620 (Tokenizer::setVarId : wrong handling of member function parameters)
|
2011-03-08 20:41:41 +01:00 |
Daniel Marjamäki
|
bf2362d558
|
Fixed #2634 (False positive: buffer access out of bounds)
|
2011-03-08 19:49:56 +01:00 |
Robert Reif
|
e305a155af
|
convert CheckStl::size() to use symbol database, fix false positives, and remove inconclusive
|
2011-03-07 19:49:43 -05:00 |
Daniel Marjamäki
|
06abaf95a5
|
Incorrect string compare: reduce noise when using strncmp on string literal
|
2011-03-07 21:37:13 +01:00 |
Daniel Marjamäki
|
7496cd412c
|
Fixed #2631 (Tokenizer::simplifyTemplates: template usage 'std::cout << (foo<double>(r));')
|
2011-03-07 21:21:06 +01:00 |
Daniel Marjamäki
|
8e571c04e4
|
Fixed #2633 (False positive: Memory leak for tree node)
|
2011-03-07 20:17:52 +01:00 |
Robert Reif
|
d678e4424c
|
fix #2630 (segmentation fault of cppcheck ( typedef y x () x ))
|
2011-03-06 18:59:56 -05:00 |
Daniel Marjamäki
|
f53ff27b71
|
Tokenizer::simplifyTemplates: better handling of '(foo<double>())'. Ticket: #2631
|
2011-03-06 21:15:42 +01:00 |
Daniel Marjamäki
|
6648267ab8
|
Revert "Tokenizer::simplifyTemplates: better handling of '(foo<double>())'. Ticket: #2631"
This reverts commit de31ec1e44 .
|
2011-03-06 21:07:06 +01:00 |
Daniel Marjamäki
|
de31ec1e44
|
Tokenizer::simplifyTemplates: better handling of '(foo<double>())'. Ticket: #2631
|
2011-03-06 10:28:51 -08:00 |
Daniel Marjamäki
|
779dba9160
|
Fixed #2612 (segmentation fault of cppcheck ( <><< ))
|
2011-03-06 09:33:46 +01:00 |
Robert Reif
|
0debba4409
|
finish fixing #2624 (better function pointer support needed)
|
2011-03-05 21:41:58 -05:00 |
Robert Reif
|
7d2fb2ecde
|
partial fix for #2624 (better function pointer support needed)
|
2011-03-05 20:48:28 -05:00 |
Greg Hewgill
|
b9df7735c5
|
switchCaseFallThrough is now an inconclusive check
|
2011-03-06 13:06:30 +13:00 |
Greg Hewgill
|
c8394909c0
|
Relax detection of 'fall through' comment so it only adds a suppression if it immediately precedes 'case' or 'default'
|
2011-03-06 12:14:10 +13:00 |