Daniel Marjamäki
|
63c003f92e
|
Tokenizer: fixed so that 'p=&x; if(p)' is simplified to 'p=&x;if(&x)'. Ticket: #2596
|
2011-02-20 18:18:27 +01:00 |
Daniel Marjamäki
|
7894d86132
|
Null pointers: Fixed false negative for such code: 'if (p && *p) {} else { *p=0; }'. Ticket: #2379
|
2011-02-20 14:38:49 +01:00 |
Daniel Marjamäki
|
1cfb18be08
|
astyle formatting
|
2011-02-20 12:22:01 +01:00 |
Daniel Marjamäki
|
46f4e46d30
|
Tokenizer::simplifyTemplates: Better handling for multi-token template arguments such as 'Foo<std::string>'
|
2011-02-20 12:17:05 +01:00 |
Robert Reif
|
fef1142997
|
fix #2592 (False positive: 'operator=' should return reference to self)
|
2011-02-19 20:02:16 -05:00 |
Greg Hewgill
|
d20987c3da
|
Merge branch 'inline-suppression-c-style'
|
2011-02-20 13:26:35 +13:00 |
Greg Hewgill
|
98ab34b2b5
|
Support cppcheck-suppression in C style comments
|
2011-02-20 11:44:42 +13:00 |
Daniel Marjamäki
|
5f0206725b
|
Null pointers: Fixed false negative for such code 'if (p && *p==0) {} *p = 0;'. Ticket: #2379
|
2011-02-19 21:28:18 +01:00 |
Daniel Marjamäki
|
29d05cf5f2
|
Null pointers: Fixed false negative for such code: 'abc->a = 0; if (abc && ..'. Ticket: #2379
|
2011-02-19 21:10:31 +01:00 |
Daniel Marjamäki
|
e7ef1b3627
|
Null pointer: fixed false negative when dereferencing struct and then checking if it's null. Ticket: #2379
|
2011-02-19 21:01:38 +01:00 |
Robert Reif
|
e6eb160395
|
fix [B#2589 (segmentation fault of cppcheck (struct B : A))
|
2011-02-19 14:38:00 -05:00 |
Daniel Marjamäki
|
caca6e94e6
|
Fixed #2231 (uninitialized variable: undetected when initialization in for loop)
|
2011-02-19 20:19:46 +01:00 |
Robert Reif
|
77fe9858e2
|
fix #2587 (Spurious warning about struct hiding typedef)
|
2011-02-19 14:18:37 -05:00 |
Daniel Marjamäki
|
9a760b9654
|
Fixed #2582 (segmentation fault of cppcheck ( if() ))
|
2011-02-18 20:05:44 +01:00 |
Daniel Marjamäki
|
dfba4b7332
|
Fixed #2585 (segmentation fault of cppcheck (CheckOther::clarifyCalculation))
|
2011-02-17 21:30:59 +01:00 |
Daniel Marjamäki
|
cf2a04377e
|
Fixed #2586 (segmentation fault of cppcheck (template<>))
|
2011-02-17 21:15:17 +01:00 |
Daniel Marjamäki
|
96c3ab87f2
|
astyle formatting
|
2011-02-17 21:07:45 +01:00 |
Greg Hewgill
|
e2581da30c
|
Merge branch 'unmatched-suppressions'
|
2011-02-17 21:46:43 +13:00 |
Greg Hewgill
|
a4de6a3455
|
be sure to list unmatched suppressions only for the currently processed file
|
2011-02-17 21:46:14 +13:00 |
Daniel Marjamäki
|
53aaf22633
|
CheckClass::noMemset: Added TODO test case
|
2011-02-16 21:31:35 +01:00 |
Daniel Marjamäki
|
54e0b60cc5
|
Fixed #2584 (false positive 'variable n is never used')
|
2011-02-16 20:33:24 +01:00 |
Greg Hewgill
|
5d74325015
|
implement unmatchedSuppression information message
|
2011-02-16 23:02:37 +13:00 |
Raphael Geissert
|
5998ec4af9
|
Really fix the build failure this time
|
2011-02-15 14:10:56 -06:00 |
Robert Reif
|
218464df89
|
fix #2580 (false postive with Unused private function)
|
2011-02-14 19:50:13 -05:00 |
Daniel Marjamäki
|
0ed0d07714
|
Tokenizer::simplifyCalculations: basic handling of bitwise operators
|
2011-02-14 20:43:26 +01:00 |
Robert Reif
|
cdd8d3f785
|
Really fix #2348 perl-tk
|
2011-02-13 19:02:57 -05:00 |
Daniel Marjamäki
|
aacb94c427
|
Revert "Buffer overruns: Removed TODO test case. We intentionally don't check struct/class arrays fully to avoid false positives"
This reverts commit 87cc42e6f0 .
|
2011-02-13 22:48:26 +01:00 |
Daniel Marjamäki
|
0d2d0c864a
|
Tokenizer::simplifyKnownVariables: Fixed TODO testcases (better handling of comparisons)
|
2011-02-13 22:24:45 +01:00 |
Daniel Marjamäki
|
2182ede486
|
Tokenizer::simplifyKnownVariables: Fixed TODO testcase (better handling of ^)
|
2011-02-13 22:13:19 +01:00 |
Daniel Marjamäki
|
472d8154ca
|
Tokenizer::simplifyKnownVariables: Fixed TODO testcase (better handling of |)
|
2011-02-13 22:09:04 +01:00 |
Daniel Marjamäki
|
467c984cd1
|
Tokenizer::simplifyKnownVariables: Fixed TODO testcase (better handling of %)
|
2011-02-13 22:03:46 +01:00 |
Daniel Marjamäki
|
87cf0949f2
|
Buffer overruns: Removed TODO test case. We intentionally don't check struct/class arrays fully to avoid false positives
|
2011-02-13 21:48:13 +01:00 |
Daniel Marjamäki
|
87cc42e6f0
|
Buffer overruns: Removed TODO test case. We intentionally don't check struct/class arrays fully to avoid false positives
|
2011-02-13 21:42:35 +01:00 |
Robert Reif
|
c03ace7378
|
Fix #2579 (segmentation fault of cppcheck)
|
2011-02-13 14:11:22 -05:00 |
Daniel Marjamäki
|
d8da1ac390
|
Merge branch 'suppress-glob' of https://github.com/ghewgill/cppcheck into ghewgill-suppress-glob
|
2011-02-13 18:17:44 +01:00 |
Daniel Marjamäki
|
8c5ec0df7d
|
Merge branch 'preprocessor' of https://github.com/ghewgill/cppcheck into ghewgill-preprocessor
|
2011-02-13 18:13:35 +01:00 |
Greg Hewgill
|
a4fd5e873e
|
change failing tests into TODO_ASSERT_EQUALS
|
2011-02-13 20:45:04 +13:00 |
Robert Reif
|
2aefa5deb5
|
fix #2577 (segmentation fault of cppcheck)
|
2011-02-12 15:35:48 -05:00 |
Daniel Marjamäki
|
518a495334
|
Fixed #2576 (False positive: (error) Buffer access out-of-bounds)
|
2011-02-12 18:34:12 +01:00 |
Daniel Marjamäki
|
07e8325e50
|
Fixed #2549 (segmentation fault of cppcheck)
|
2011-02-12 16:51:59 +01:00 |
Daniel Marjamäki
|
7507f64ee7
|
Fixed #2558 (false positive: (error) Returning reference to auto variable)
|
2011-02-12 15:39:26 +01:00 |
Daniel Marjamäki
|
2657d36d03
|
Fixed #2502 (False positive: redundant assingment of object to itself)
|
2011-02-12 14:27:07 +01:00 |
Daniel Marjamäki
|
ee0f5ff7b3
|
Uninitialized variables: Added TODO test case
|
2011-02-12 12:42:16 +01:00 |
Daniel Marjamäki
|
318f2e8a57
|
Fixed #2561 (False positive on array index when using conditional operator)
|
2011-02-12 11:31:10 +01:00 |
Raphael Geissert
|
d8119cd57a
|
Fix test for architectures where char is unsigned
|
2011-02-12 02:42:31 -06:00 |
Robert Reif
|
78b5361ec8
|
fix #2568 (False positive: (style) Union 'A_t' hides typedef with same name (forward declaration))
|
2011-02-11 19:09:24 -05:00 |
Sébastien Debrard
|
f5ed52b84b
|
fix #2569 check postfix increment on boolean
|
2011-02-11 23:38:23 +01:00 |
Erik Lax
|
c7821675dd
|
Preprocessor: Test handling of strings with multiple spaces (Ticket: #2548)
|
2011-02-11 18:57:58 +01:00 |
Greg Hewgill
|
f2f2d1f885
|
Fixed #2571 (Preprocessor: better handling for #undef)
|
2011-02-11 18:51:22 +01:00 |
Greg Hewgill
|
751f8d46e5
|
Fixed #2570 (Preprocessor: #define parsing when there is no whitespace between a macro symbol and its double-quoted string expansion)
|
2011-02-11 18:01:27 +01:00 |