Daniel Marjamäki
|
58dbbb0cab
|
Inconclusive checking: Report inconclusive errors with reportInconclusiveError. It takes the same parameters as reportError.
|
2011-04-14 18:02:01 +02:00 |
Daniel Marjamäki
|
7021e3224b
|
Fixed #2714 (False positive: ternary operator and += style warning.)
|
2011-04-14 17:30:50 +02:00 |
Robert Reif
|
75e5353b6d
|
fix #2718 (Analysis failed. If the code is valid then please report this failure.)
|
2011-04-13 23:58:58 -04:00 |
Robert Reif
|
257197bdd1
|
fix #2717 (false positive: syntax error (typedef void f(int) const;))
|
2011-04-13 23:24:41 -04:00 |
Daniel Marjamäki
|
11bd6bcd30
|
Fixed #2712 (false positive: Division by zero)
|
2011-04-10 21:27:09 +02:00 |
Daniel Marjamäki
|
1d86fb1738
|
Tokenizer: Code cleanup. Use %oror% to simplify code.
|
2011-04-10 11:55:15 +02:00 |
Daniel Marjamäki
|
0a1d6efe8c
|
Tokenizer: Use %op% in simplifyOperatorName
|
2011-04-10 11:24:57 +02:00 |
Daniel Marjamäki
|
f179df1f10
|
Tokenizer: Use %op% in simplifyCalculations
|
2011-04-10 11:22:00 +02:00 |
Daniel Marjamäki
|
57869e96e3
|
Tokenizer: Use %op% to clean up pattern
|
2011-04-10 11:09:49 +02:00 |
Daniel Marjamäki
|
970c989023
|
Tokenizer: Code cleanup. Removed redundant variable
|
2011-04-10 09:20:37 +02:00 |
Daniel Marjamäki
|
f4f8aeca03
|
Tokenizer: Fixed bug in last commit
|
2011-04-10 09:18:37 +02:00 |
Daniel Marjamäki
|
4c753ca5ac
|
Tokenizer: Use the %oror% in multiCompare patterns
|
2011-04-10 09:16:29 +02:00 |
Daniel Marjamäki
|
a4471bc150
|
Refactoring: Use %op%
|
2011-04-09 18:33:37 +02:00 |
Daniel Marjamäki
|
447f61e9c7
|
Refactoring: Use %op%
|
2011-04-09 18:30:47 +02:00 |
Daniel Marjamäki
|
0730fad778
|
Refactoring: Use %op%
|
2011-04-09 18:24:41 +02:00 |
Daniel Marjamäki
|
6c4f5fc496
|
Token::multiCompare : allow that %op% is used in multiCompare pattern
|
2011-04-09 18:09:13 +02:00 |
Daniel Marjamäki
|
575cb242c2
|
Refactoring: Use Token::isOp
|
2011-04-09 16:22:47 +02:00 |
Daniel Marjamäki
|
f6d910ab3d
|
Refactoring: Use Token::isOp
|
2011-04-09 15:54:36 +02:00 |
Daniel Marjamäki
|
8e711b7925
|
Refactoring: there was almost duplicate functions 'isOp'. Created a new Token::isOp function instead.
|
2011-04-08 19:40:22 +02:00 |
Robert Reif
|
23e4f020e9
|
fix #2706 (Analysis failed. If the code is valid then please report this failure.)
|
2011-04-04 22:18:12 -04:00 |
Daniel Marjamäki
|
ed8cdddcf5
|
Tokenizer: execute the simplifyIfNot and simplifyIfNotNull in the normal token list. ticket #2642
|
2011-04-02 21:21:05 +02:00 |
Daniel Marjamäki
|
ea57e10c7f
|
Tokenizer::simplifyCalculations: simplify division result if it's a whole number, even though it doesn't have precedence
|
2011-04-02 12:52:11 +02:00 |
Daniel Marjamäki
|
f34e9e6623
|
Tokenizer: better simplification of calculations in conditions
|
2011-04-02 11:08:58 +02:00 |
Daniel Marjamäki
|
ae2a8d839b
|
Fixed #2693 (__declspec attribute not removed properly)
|
2011-03-30 19:49:55 +02:00 |
Stefan Weil
|
675e63b6a7
|
Spell checks
|
2011-03-30 16:45:31 +02:00 |
Robert Reif
|
e9a23d9cb5
|
fix #2692 (False positive: if parsed as function in operator >>)
|
2011-03-28 20:02:06 -04:00 |
Daniel Marjamäki
|
e89f6d6ec0
|
Fixed #2660 (False positive: Variable 'v' is assigned a value that is never used)
|
2011-03-27 08:19:09 +02:00 |
Daniel Marjamäki
|
3c2d3ca3a4
|
Fixed #2653 (segmentation fault of cppcheck 'x=b=0;')
|
2011-03-26 12:20:23 +01:00 |
Daniel Marjamäki
|
7d9872a134
|
Tokenizer::setVarId: Prevent that wrong varid is given when uncertain. Ticket: #2680
|
2011-03-26 10:05:07 +01:00 |
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 |