Robert Reif
|
d961a6ec9e
|
Tokenizer: Fixed cppcheck and compiler warnings
|
2010-08-24 07:28:56 +02:00 |
Daniel Marjamäki
|
39a69b0871
|
Fixed #1970 (Internal error. CheckClass::SpaceInfo::getVarList found variable '_root' with varid 0.)
|
2010-08-23 21:22:11 +02:00 |
Daniel Marjamäki
|
f7063bed7c
|
Fixed #1967 (Tokenizer::setVarid doesn't set variable value (list of function pointers))
|
2010-08-23 20:15:02 +02:00 |
Daniel Marjamäki
|
3b716dfcc9
|
Tokenizer: Simplified the bitfields handling. This patch just looks for the bitfield signature but doesn't care about the type. I don't think any other code would have this same signature so it should be OK. We could add code to only look in structures and classes but I don't think that is necessary. Ticket: #1956
|
2010-08-23 07:29:05 +02:00 |
Robert Reif
|
cb7b508f77
|
Tokenizer::simplifyBitfields: fixed more issues. Ticket #1956
|
2010-08-22 13:25:47 +02:00 |
Robert Reif
|
3fcca23b53
|
Tokenizer: better handling of bitfields. Ticket: #1956
|
2010-08-22 09:41:22 +02:00 |
Robert Reif
|
77d634127c
|
Tokenizer: simplify DECLARE_DYNAMIC and DECLARE_DYNCREATE
|
2010-08-22 09:38:05 +02:00 |
Robert Reif
|
ac9078857e
|
Tokenizer: simplify bitfields. Ticket: #1956
|
2010-08-21 16:34:41 +02:00 |
Robert Reif
|
9c594684db
|
Tokenizer: handle DECLARE_DYNAMIC. Ticket: #1956
|
2010-08-21 07:55:14 +02:00 |
Robert Reif
|
7173e01926
|
Fixed #1965 (tokenizer::simplifyEnum add support for C++0x enums)
|
2010-08-21 07:44:56 +02:00 |
Robert Reif
|
7b2b844b8e
|
Fixed #1964 (False positive: function can be const (get this))
|
2010-08-20 19:47:41 +02:00 |
Daniel Marjamäki
|
741ce40e3d
|
Tokenizer::setVarId : fixed problem for class members
|
2010-08-20 19:28:10 +02:00 |
Daniel Marjamäki
|
3dd504bcb2
|
updates of Visual Studio files
|
2010-08-20 17:59:09 +02:00 |
Robert Reif
|
66de0d8f72
|
Fixed #1954 (False positive: function can be const (derived class))
|
2010-08-20 07:28:31 +02:00 |
Robert Reif
|
f123e951ec
|
Fixed #1963 (typedef array incorrectly simplified)
|
2010-08-20 07:11:02 +02:00 |
Daniel Marjamäki
|
cfa7b4906e
|
Symbol database: bug fixes. Ticket: #1895
|
2010-08-18 22:42:04 +02:00 |
Daniel Marjamäki
|
0934035fcf
|
Fixed #1955 (cppcheck hangs with 100% cpu load)
|
2010-08-18 22:22:14 +02:00 |
Daniel Marjamäki
|
1fd773b245
|
Fixed #1944 (segfault in Tokenizer::simplifyLogicalOperator)
|
2010-08-17 20:06:20 +02:00 |
Daniel Marjamäki
|
aa00587fed
|
#1943 (segmentation fault of cppcheck (= default))
|
2010-08-17 19:50:21 +02:00 |
Daniel Marjamäki
|
1faaa5471c
|
Fixed #1946 ('Dereferenced iterator erased' false positive)
|
2010-08-17 18:56:11 +02:00 |
Daniel Marjamäki
|
64cdee62ef
|
Fixed #1942 (false positive: uninitialized variable in __asm__ statement)
|
2010-08-16 19:38:47 +02:00 |
Robert Reif
|
cc079462dd
|
Symbol database: fixed problems with namespaces. Ticket: #1895
|
2010-08-16 18:55:39 +02:00 |
Daniel Marjamäki
|
85acb005a2
|
Fixed #1941 (Internal error::Space Info::getVarList found variable with varid 0)
|
2010-08-16 18:51:25 +02:00 |
Daniel Marjamäki
|
72916caee6
|
Reverted 7398453cb0
|
2010-08-15 21:25:14 +02:00 |
Sbastien Debrard
|
7398453cb0
|
Refactoring of obsolete functions checks. Ticket: #1940
|
2010-08-15 21:22:33 +02:00 |
Daniel Marjamäki
|
fe482785aa
|
Variable Id: Fixed various bugs related to templates and bitfields. Ticket: #1928
|
2010-08-15 11:54:28 +02:00 |
Daniel Marjamäki
|
e1d6320a55
|
quick fix for #1905 (false positive: the function '...' can be declared as const (member array is assigned))
|
2010-08-15 08:30:21 +02:00 |
Erik Lax
|
54b7f972c9
|
Fixed #1932 (false positive: unused private function)
|
2010-08-15 07:44:08 +02:00 |
Zachary Blair
|
c8087d3389
|
Fixed #162 (Initialisation of a variable by itself)
|
2010-08-14 21:34:04 -07:00 |
Daniel Marjamäki
|
4ff9a1ac94
|
Fixed #1928 (missing varId for template class variable)
|
2010-08-14 20:50:49 +02:00 |
Erik Lax
|
248bb3b6e8
|
Fixed #1935 (false negative: detect buffer overrun from network functions (recv, recvfrom..))
|
2010-08-14 20:19:23 +02:00 |
Sbastien Debrard
|
a55a06cea5
|
Fixed #1933 (Add checks for obsolete functions)
|
2010-08-14 20:13:46 +02:00 |
Daniel Marjamäki
|
5846630fa9
|
Added scanf check. Modified patch submitted by Eric Sesterhenn
|
2010-08-14 15:15:12 +02:00 |
Ettl Martin
|
0d8b74e538
|
fixed unit test of dangerous functions
|
2010-08-14 11:31:36 +02:00 |
Robert Reif
|
7c18ece65d
|
Symbol database: Fixed bug when end of namespace wasn't found. Ticket: #1895
|
2010-08-14 08:16:53 +02:00 |
Robert Reif
|
db78c3acdf
|
Symbol database: fixed linenr problem in virtual destructors check
|
2010-08-13 23:57:53 +02:00 |
Erik Lax
|
032d2678aa
|
Fixed #1930 (false negative: bad iterators checks fails to detect bugs with preincrement)
|
2010-08-13 20:54:31 +02:00 |
Robert Reif
|
ab7bb876f9
|
Symbol database: Refactoring virtual destructors check. Ticket: #1895
|
2010-08-13 18:34:02 +02:00 |
Robert Reif
|
47c776247a
|
Symbol database: fix a small bug and add more tests. ticket: #1895
|
2010-08-12 07:38:27 +02:00 |
Daniel Marjamäki
|
a1f288d088
|
Tokenizer::setVarId : Fixed a problem when using static class members
|
2010-08-10 18:22:58 +02:00 |
Robert Reif
|
988b43d419
|
const function check: Added more unit tests
|
2010-08-10 07:48:09 +02:00 |
Robert Reif
|
0b41d822cb
|
Virtual destructors: extended and fixed the testing
|
2010-08-09 21:22:46 +02:00 |
Robert Reif
|
bf1352c573
|
Fixed typo in testcase. Ticket: #1311
|
2010-08-09 17:57:07 +02:00 |
Robert Reif
|
217b9425b5
|
Fixed #1922 (False positive: function can be const when both const and non-const functions are provided.)
|
2010-08-09 17:54:16 +02:00 |
Robert Reif
|
12523bc745
|
Symbol database: Enhancements and fixes. Ticket: #1895
|
2010-08-09 17:50:26 +02:00 |
Daniel Marjamäki
|
eab69a686b
|
Visual Studio: Fixed unit tests. Ticket: #640
|
2010-08-07 21:05:14 +02:00 |
Daniel Marjamäki
|
029613d4c4
|
Fixed #1923 (False positive: Possible null pointer derefence in else if)
|
2010-08-07 19:59:56 +02:00 |
Daniel Marjamäki
|
262885f3e0
|
Fixed #1921 (false positive: the function '...' can be declared as const (inline friend))
|
2010-08-07 16:08:44 +02:00 |
Daniel Marjamäki
|
ed4f1164a1
|
Fixed #1894 (unreadVariable false positive with const references)
|
2010-08-07 15:53:51 +02:00 |
Daniel Marjamäki
|
050011d287
|
Fixed #1881 (false positive: The function '...' can be const (nonconst code is hidden inside #if))
|
2010-08-07 13:08:36 +02:00 |