Robert Reif
|
a58094e827
|
Fixed #2089 (False negative: Function can be const (calling const function))
|
2010-10-13 07:26:41 +02:00 |
Robert Reif
|
907ed0ac6f
|
Fixed #2085 (False negative: function can be const when member variable is compared)
|
2010-10-12 07:57:09 +02:00 |
Daniel Marjamäki
|
14f12e0647
|
Fixed #2078 (false negative: member variable not intialized)
|
2010-10-10 07:57:26 +02:00 |
Daniel Marjamäki
|
a7cf68b9ef
|
Check Class: Removed the 'operator= should not return a const reference'
|
2010-09-18 20:05:34 +02:00 |
Robert Reif
|
0153dccb66
|
Symbol database: Skip bail out in constructors if a virtual function might be called because that would be undefined behaviour. Ticket: #1895
|
2010-09-14 07:16:53 +02:00 |
Robert Reif
|
6de1711515
|
Symbol database: reduce false negatives for 'uninitialized variable' when calling base class function. ticket: #1895
|
2010-09-12 22:40:51 +02:00 |
Robert Reif
|
69afc0a0db
|
Symbol database: fixed false positive. ticket: #1895
|
2010-09-11 08:23:30 +02:00 |
Robert Reif
|
c3762903a9
|
Symbol database: fixed false negative for uninitialized variable. ticket: #1895
|
2010-09-09 07:21:51 +02:00 |
Robert Reif
|
b5276ce9e5
|
Symbol database: Added todo testcase for better namespace handling. Ticket: #1895
|
2010-09-03 06:17:34 +02:00 |
Daniel Marjamäki
|
eb74bfc15a
|
Fixed #2007 (False positive: member variable not initialized (Borland C++ property))
|
2010-09-01 18:10:12 +02:00 |
Robert Reif
|
4153b7d24b
|
refactoring namespace handling. ticket: #2001
|
2010-09-01 16:47:53 +02:00 |
Robert Reif
|
7a8190e188
|
Fixed #2002 (Wrong operator() parsing)
|
2010-09-01 06:32:46 +02:00 |
Robert Reif
|
e39dda4eed
|
const functions: Added unit test for ticket #2003
|
2010-09-01 06:18:09 +02:00 |
Robert Reif
|
5aab602709
|
Fixed #2001 (No 'The function ... can be const' warnings when base class is in namespace.)
|
2010-08-31 17:57:42 +02:00 |
Robert Reif
|
c56911ba6a
|
Fixed #2000 (segmentation fault of cppcheck with bitfield)
|
2010-08-31 17:51:10 +02:00 |
Robert Reif
|
96d73c189c
|
Symbol database: better handling of operator functions. Ticket: #1895
|
2010-08-30 17:14:20 +02:00 |
Robert Reif
|
a862e982ff
|
Fixed #1993 (False negatives: uninitialised variables in constructor)
|
2010-08-29 16:36:10 +02:00 |
Robert Reif
|
7b2b844b8e
|
Fixed #1964 (False positive: function can be const (get this))
|
2010-08-20 19:47:41 +02:00 |
Robert Reif
|
66de0d8f72
|
Fixed #1954 (False positive: function can be const (derived class))
|
2010-08-20 07:28:31 +02:00 |
Daniel Marjamäki
|
cfa7b4906e
|
Symbol database: bug fixes. Ticket: #1895
|
2010-08-18 22:42:04 +02:00 |
Robert Reif
|
cc079462dd
|
Symbol database: fixed problems with namespaces. Ticket: #1895
|
2010-08-16 18:55:39 +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 |
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 |
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 |
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
|
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
|
050011d287
|
Fixed #1881 (false positive: The function '...' can be const (nonconst code is hidden inside #if))
|
2010-08-07 13:08:36 +02:00 |
Robert Reif
|
0bb07e6947
|
Create a symbol database
|
2010-07-26 16:46:37 +02:00 |
Robert Reif
|
f2f5b3ebf0
|
Fixed #1883 (false positive: (style) The function 'A::SetPos' can be const)
|
2010-07-20 09:43:27 +02:00 |
Robert Reif
|
4cf92992a8
|
Fixed #1883 (false positive: (style) The function 'A::SetPos' can be const)
|
2010-07-19 13:16:11 +02:00 |
Robert Reif
|
37b37218cf
|
Fixed #1882 (false negative: function can be declared const)
|
2010-07-19 08:40:46 +02:00 |
Robert Reif
|
81a053aa90
|
Fixed #1311 (false negative: missing const not found in derived classes)
|
2010-07-18 10:18:41 +02:00 |
Robert Reif
|
9c4bbd4c65
|
Fixed #1730 (False negative in 'variable not initialized in ctor')
|
2010-07-17 12:26:05 +02:00 |
Robert Reif
|
d72365ab00
|
Fixed #1375 (false negative: uninitialized member variables not found in nested class constructors)
|
2010-07-15 10:16:16 +02:00 |
Robert Reif
|
fd352865ca
|
CheckClass: Improvements and refactorings for constructors and variables checking
|
2010-07-14 19:00:52 +02:00 |
Daniel Marjamäki
|
a6b6022497
|
Fixed #1851 (false positive: Member variable not initialized int ctor)
|
2010-07-14 18:50:29 +02:00 |
Robert Reif
|
ab088bcec9
|
Fixed #1847 (False positive: Method using std::swap<>() can be declared const)
|
2010-07-13 08:04:48 +02:00 |
Daniel Marjamäki
|
76133e0234
|
Class checking: Fixed FP for static arrays (not initialized in constructor)
|
2010-06-29 12:51:18 +02:00 |
Robert Reif
|
f3538dd574
|
Unit Testing: Added TODO test case for uninitialized member variable in operator=. Ticket: #1813
|
2010-06-25 07:56:40 +02:00 |
Daniel Marjamäki
|
9fd89d3bdc
|
Fixed #1495 (False -s positive: Member variable not assigned a value in operator=)
|
2010-06-24 20:09:26 +02:00 |
Daniel Marjamäki
|
5de124280a
|
Fixed #1783 (false positive: uninitalized variable in constructor/operator=, when calling overloaded functions)
|
2010-06-13 10:23:59 +02:00 |
Martin Ettl
|
2b557cee45
|
added a TODO testcase for ticket 1724
|
2010-06-06 12:46:08 +02:00 |
Daniel Marjamäki
|
68ad8219ed
|
Fixed #1722 (Member variable initialized in call to base class constructor)
|
2010-06-06 08:29:35 +02:00 |
Martin Ettl
|
f75ca79849
|
applied patch from php-coder from ticket 1724; removed TODO_TESTCASES;
|
2010-06-05 19:49:49 +02:00 |