Daniel Marjamäki
|
2b1277aa64
|
Fixed #2680 (setVarId: variables with class qualification don't get varid)
|
2011-03-26 08:56:41 +01:00 |
Robert Reif
|
710eb8ffd9
|
add support for global namespace to Tokenizer::simplifyVarDecl()
|
2011-03-24 23:06:20 -04:00 |
Robert Reif
|
fc258164cd
|
fix #2675 (false positive: syntax error)
|
2011-03-24 22:26:42 -04:00 |
Robert Reif
|
cbc81e20f5
|
fix Tokenizer::simplifyVarDecl() template assignment
|
2011-03-23 21:15:49 -04:00 |
Robert Reif
|
7e3e5d628d
|
better fix for #2672 (False positive: function can be const, nested classes declared in one line)
|
2011-03-23 20:19:32 -04:00 |
Robert Reif
|
3259239dfe
|
fix #2672 (False positive: function can be const, nested classes declared in one line)
|
2011-03-23 07:48:18 -04:00 |
Robert Reif
|
c043e6e1a2
|
fix
|
2011-03-21 20:57:17 -04:00 |
Robert Reif
|
dc0dfea079
|
fix invalid bitfield match and simplification that created invalid code
|
2011-03-21 20:17:14 -04:00 |
Robert Reif
|
fc13854095
|
fix #1280 (Pointer to function support)
|
2011-03-19 16:21:26 -04:00 |
Robert Reif
|
92316e5745
|
fix #1987 (Internal error:: CheckClass::SpaceInfo::getVarList found variable 'element_size' with varid 0.)
|
2011-03-19 16:00:43 -04:00 |
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
|
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
|
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
|
ba0b3e6451
|
fix #2651 function typedef with extra ()s
|
2011-03-15 19:24:30 -04: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 |
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 |
Daniel Marjamäki
|
5a0ec56fc2
|
Fixed #2632 (segmentation fault of cppcheck ( void>(); void>() ))
|
2011-03-09 21:25:44 +01: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 |
Robert Reif
|
d74ae3b0f0
|
copy all flag fields in a Token
|
2011-03-07 20:04:25 -05:00 |
Daniel Marjamäki
|
7496cd412c
|
Fixed #2631 (Tokenizer::simplifyTemplates: template usage 'std::cout << (foo<double>(r));')
|
2011-03-07 21:21:06 +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 |
Robert Reif
|
f3b2acf585
|
really fix #2620 reference of typedef of array not simplified properly
|
2011-03-03 20:32:10 -05:00 |
Daniel Marjamäki
|
d7a6e729b8
|
Tokenizer::simplifyKnownVariables: Don't simplify 'strcpy(a,"ab"); b=a;'. Ticket: #2031
|
2011-03-03 20:07:56 +01:00 |
Robert Reif
|
3f0d0446e0
|
revert previous commit: simplified code isn't correct
|
2011-03-03 07:40:43 -05:00 |
Robert Reif
|
ee4b4f62d8
|
fix #2620 reference of typedef of array not simplified properly
|
2011-03-03 07:27:53 -05:00 |
Daniel Marjamäki
|
8e9a1c33ad
|
Fixed #2618 (Tokenizer::simplifyKnownVariables: Don't use known string value if address is wanted)
|
2011-03-01 20:20:48 +01:00 |
Daniel Marjamäki
|
db04d7b71e
|
Fixed #2616 (Segmentation fault with unknown macro)
|
2011-03-01 18:02:50 +01:00 |
Robert Reif
|
92efbd748e
|
fix #2595 bitfield fix for case x: break; and default: break;
|
2011-02-28 19:35:00 -05:00 |
Daniel Marjamäki
|
893b84a87c
|
Fixed #2615 (Segmentation fault in cppcheck 1.47)
|
2011-02-28 20:29:34 +01:00 |
Daniel Marjamäki
|
c1c9b96bb6
|
Fixed #2031 (Tokenizer: simplify known value (string has known value after strcpy))
|
2011-02-26 21:11:56 +01:00 |
Robert Reif
|
3529014924
|
expose number of variables found by Tokenizer
|
2011-02-26 08:42:19 -05:00 |
Daniel Marjamäki
|
9bf6e67898
|
Fixed #2610 (segmentation fault of cppcheck ( if () < {} ))
|
2011-02-24 18:49:16 +01:00 |
Robert Reif
|
26152a9264
|
fix #2609 (False positive on template dependent name)
|
2011-02-24 06:39:46 -05:00 |
Daniel Marjamäki
|
daf0e7c37d
|
Fixed #2604 (Segmentation fault of cppcheck ( sizeof <= A ))
|
2011-02-23 20:44:14 +01:00 |
Robert Reif
|
d1f7a8aca4
|
fix #2403 (simplifyTypedef: array of function pointers) Internal error message
|
2011-02-22 22:11:17 -05:00 |
Robert Reif
|
dd12fc177f
|
fix #2603 (segmentation fault of cppcheck ( typedef constexpr))
|
2011-02-22 07:48:34 -05:00 |
Robert Reif
|
703448171a
|
fix #2601 (segmentation fault of cppcheck)
|
2011-02-22 07:02:15 -05:00 |
Robert Reif
|
4e1ce93104
|
fix #2600 (segmentation fault of cppcheck ( enum{const} ))
|
2011-02-21 19:30:40 -05:00 |