Chuck Larson
|
db7ce1c13c
|
memset: using memset on struct/class that has std::string member variable. ticket: #1655
|
2011-02-24 18:38:45 +01:00 |
Robert Reif
|
26152a9264
|
fix #2609 (False positive on template dependent name)
|
2011-02-24 06:39:46 -05:00 |
Jnos Maros
|
39114e3482
|
Fixed #2608 ([lib/checkpostfixoperator.cpp:87]: (error) Possible null-pointer dereference: decltok)
|
2011-02-24 07:37:33 +01:00 |
Daniel Marjamäki
|
32a49235e3
|
Fixed #2578 (Preprocessor does not correctly handle #define A 0 / #if A)
|
2011-02-23 13:08:24 -08:00 |
Daniel Marjamäki
|
daf0e7c37d
|
Fixed #2604 (Segmentation fault of cppcheck ( sizeof <= A ))
|
2011-02-23 20:44:14 +01:00 |
Greg Hewgill
|
c3fe6f80da
|
fix CppCheck constructor to allow gui to compile
|
2011-02-23 21:58:38 +13:00 |
Greg Hewgill
|
b26777c962
|
Merge branch 'cmdline-suppress'
|
2011-02-23 21:34:09 +13:00 |
Greg Hewgill
|
ec4e0c8bf5
|
add documentation for --suppress= option
|
2011-02-23 20:59:30 +13:00 |
Greg Hewgill
|
22210e0255
|
add --suppress= command line option
|
2011-02-23 20:10:32 +13:00 |
Robert Reif
|
d1f7a8aca4
|
fix #2403 (simplifyTypedef: array of function pointers) Internal error message
|
2011-02-22 22:11:17 -05:00 |
Sébastien Debrard
|
458fc7454e
|
update the message when bcopy function is used
|
2011-02-23 00:27:50 +01:00 |
Kimmo Varis
|
d4786066a5
|
CLI: Fix CLI help text to fit in 80-char terminal.
|
2011-02-22 21:51:52 +02:00 |
Reijo Tomperi
|
7f9dc42ff1
|
Fix test array_index_24() to share code with environments where plain char is either signed or unsigned.
This was done, because that particular test has been already fixed a couple of times and it is still broken in some systems.
|
2011-02-22 21:46:12 +02:00 |
Daniel Marjamäki
|
9983aa5721
|
Fixed #2605 (cppcheck hangs with 100% cpu load ( #define = ))
|
2011-02-22 19:55:02 +01: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
|
ba6c2ca310
|
fix #2602 (segmentation fault of cppcheck ( class A {A& operator=(const A&); }; ))
|
2011-02-22 06:47:28 -05:00 |
Robert Reif
|
4e1ce93104
|
fix #2600 (segmentation fault of cppcheck ( enum{const} ))
|
2011-02-21 19:30:40 -05:00 |
Robert Reif
|
999646fca6
|
fix #2599 (segmentation fault of cppcheck ( sizeof ))
|
2011-02-21 17:49:30 -05:00 |
Robert Reif
|
5f84272a52
|
fix segfault: #2591 (cppcheck hangs with 100% cpu load ( class A : ))
|
2011-02-21 14:25:35 -05:00 |
Daniel Marjamäki
|
55711698d0
|
Fixed #2591 (cppcheck hangs with 100% cpu load ( class A : ))
|
2011-02-21 19:41:34 +01:00 |
Robert Reif
|
5984b6b53f
|
fix #2595 (False positive Technically the member function 'A::foo' can be const)
|
2011-02-20 20:01:54 -05:00 |
Robert Reif
|
763763fa9b
|
fix bitfields to support non-numeric bitfield width
|
2011-02-20 18:22:49 -05:00 |
Daniel Marjamäki
|
bfe28d3b26
|
Fixed #2597 (False positive: Buffer access out-of-bounds for u_char, uint*_t, ...)
|
2011-02-20 21:24:57 +01:00 |
Daniel Marjamäki
|
c52704e636
|
astyle formatting
|
2011-02-20 21:00:03 +01:00 |
Daniel Marjamäki
|
c3fba356c0
|
Fixed #2563 (#if equality testing does not ignore parentheses)
|
2011-02-20 20:57:28 +01:00 |
Daniel Marjamäki
|
f6e6fa685e
|
Preprocessor: Added TODO test case for #2563
|
2011-02-20 20:11:51 +01:00 |
Daniel Marjamäki
|
5dea79a07d
|
cppcheckError: Rephrazed the error message. The 'internal error' sounds like something dangerous happens that needs to be fixed. So I think 'analysis failed' is better. If the code has a syntax error then 'analysis failed' is entirely ok.
|
2011-02-20 19:56:13 +01:00 |
Daniel Marjamäki
|
7f67438d99
|
Null pointer: Added TODO test case. Ticket: #2379
|
2011-02-20 19:45:34 +01:00 |
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 |
Robert Reif
|
537ac0cb34
|
use func->start rather than searching for '{' in CheckClass::privateFunctions
|
2011-02-20 08:36:06 -05:00 |
Robert Reif
|
597aea9f15
|
save start of function '{' and start of variable declaration in symbol database so checks don't have to find them
|
2011-02-20 08:25:42 -05: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
|
7dd8a3283a
|
fix comment in CheckClass::initializeVarList
|
2011-02-19 20:09:07 -05: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 |
Robert Reif
|
f9b1505115
|
fix Scope::findInNestedListRecursive to check all children
|
2011-02-19 13:40:02 -05:00 |
Daniel Marjamäki
|
85b1ea21cf
|
Fixed #2590 (segmentation fault of cppcheck ( {}int ))
|
2011-02-19 09:56:17 +01:00 |
Greg Hewgill
|
7e5d8e42d4
|
remove stray BOM from source file
|
2011-02-19 16:10:50 +13:00 |
Daniel Marjamäki
|
f3b211378c
|
Borland C++: Updated project file
|
2011-02-18 20:22:09 +01:00 |
Daniel Marjamäki
|
f363bc1560
|
Borland C++: Fixed compiler error
|
2011-02-18 20:21:48 +01:00 |