Robert Reif
|
7a8190e188
|
Fixed #2002 (Wrong operator() parsing)
|
2010-09-01 06:32:46 +02:00 |
Robert Reif
|
4463f650d0
|
Fixed #2003 (false positive in set functions)
|
2010-08-31 17:59:17 +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
|
b1bf201a8a
|
Symbol database: Refactorings. Ticket: #1895
|
2010-08-28 11:23:23 +02:00 |
Daniel Marjamäki
|
d45186d645
|
Added --debug-warnings that we can use to enable various debug warnings
|
2010-08-27 20:28:00 +02:00 |
Daniel Marjamäki
|
0597c50a47
|
Fixed #1966 (False positive: Unused private function (virtual function in base class))
|
2010-08-26 22:05:45 +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
|
86f1718b1c
|
Symbol database: Fixed the error reporting so errors are shown in the gui. Ticket: #1895
|
2010-08-17 17:20:54 +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
|
556ef9afcf
|
Symbol database: report error when it is detected that a variable id is missing. Ticket: #1928
|
2010-08-15 08:03:27 +02:00 |
Erik Lax
|
54b7f972c9
|
Fixed #1932 (false positive: unused private function)
|
2010-08-15 07:44:08 +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
|
a994f235c5
|
Symbol database: move finding base classes until after all classes are found because of template instantiation. Ticket: #1895
|
2010-08-13 07:35:30 +02:00 |
Robert Reif
|
b92644a30c
|
Symbol database: refactoring variable handling. Ticket: #1895
|
2010-08-13 07:34:34 +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
|
c88aa242e8
|
Symbol database: better handling of 'friend'. ticket: #1895
|
2010-08-11 22:36:04 +02:00 |
Robert Reif
|
03c436a735
|
Symbol database: Refactoring
|
2010-08-10 18:01:33 +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 |
Daniel Marjamäki
|
54121a74ff
|
Symbol Database: Don't use it when it is not needed
|
2010-08-07 12:41:11 +02:00 |
Daniel Marjamäki
|
adc47f1820
|
Fixed #1487 (fix gcc compiler warnings)
|
2010-08-06 21:02:43 +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
|
7842658cb4
|
Refactoring CheckClass::initializeVarList. Ticket #1811
|
2010-07-18 20:58:16 +02:00 |
Robert Reif
|
689de10abf
|
uninitialized class members: better handling of nested classes
|
2010-07-18 20:43:51 +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
|
ad9d1375aa
|
Fixed #1875 (CheckClass::getVarList: simplify function use)
|
2010-07-17 12:25:14 +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 |
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 |
firewave
|
6fd4ba6e4f
|
Avoid Visual Studio warnings about constant expressions
|
2010-06-24 04:24:25 +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 |
Robert Reif
|
18bb7488b9
|
Fixed #1787 (false negative: out of bounds in derived class)
|
2010-06-13 07:17:50 +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 |
Daniel Marjamäki
|
82f030df2c
|
the virtual destructor error message needs to be restricted. marked the checking as inconclusive for now.
|
2010-05-29 11:19:28 +02:00 |
Robert Reif
|
4306082fcf
|
Fixed #1708 (False positive for const)
|
2010-05-25 06:55:49 +02:00 |
Robert Reif
|
78614b8dc1
|
Fixed #1699 (False positive: The function '...' can be const)
|
2010-05-20 17:45:10 +02:00 |
Robert Reif
|
5dfbb38dc9
|
#1697 (false positive: The function can be const)
|
2010-05-20 06:52:59 +02:00 |
Erik Lax
|
20289b1f5b
|
Fixed #1683 (false positive: The function can be const)
|
2010-05-16 20:26:32 +02:00 |
Daniel Marjamäki
|
6edb2e77b4
|
Refactoring: Removed Severity::possibleStyle
|
2010-05-16 14:43:42 +02:00 |
Daniel Marjamki
|
8e3c39ae5b
|
Fixed #1678 (false positive: Member variable not initialized in the constructor, for arrays of undefined type)
|
2010-05-15 20:24:11 +02:00 |
Daniel Marjamäki
|
84c3ec9c4c
|
Fixed #1669 (Still seeing 'possible style' warnings in 1.43)
|
2010-05-10 21:22:59 +02:00 |
Daniel Marjamäki
|
ae576be088
|
refactoring: enable the 'suspicious pointer subtraction' checking
|
2010-05-01 21:43:47 +02:00 |
Zachary Blair
|
c26e619b23
|
Fixed #855 (Refactoring: move conditions into checks)
|
2010-04-20 23:38:25 -07:00 |
Robert Reif
|
76a683a73a
|
Fixed #1602 (functions defined in header outside of class cannot be const)
|
2010-04-18 15:40:31 +02:00 |
Reijo Tomperi
|
35d2a27b9c
|
Update copyright year in all source files
|
2010-04-13 22:23:17 +03:00 |
Daniel Marjamäki
|
e9b4ea44a2
|
Refactoring: Disable inconclusive checks. They can still be activated for debugging/testing purposes
|
2010-04-10 14:05:33 +02:00 |
Daniel Marjamäki
|
21717e05cd
|
Refactoring: use more specific conditions instead of std::isupper. Only the A-Z are interesting. This also fixes compiler errors.
|
2010-04-10 09:46:50 +02:00 |
Daniel Marjamäki
|
d360c01675
|
Fixed #1579 (False positive: function can be const when return type is unknown)
|
2010-04-09 19:15:39 +02:00 |
Daniel Marjamäki
|
1328a57103
|
Fixed #1584 (False positive: (static) Member variable not assigned a value in operator=)
|
2010-04-09 18:35:54 +02:00 |
Daniel Marjamäki
|
1b81a9d435
|
Fixed #1537 ('Unused private function' when using pointer to member function)
|
2010-04-08 19:06:54 +02:00 |
Reijo Tomperi
|
7caaee3739
|
Fix some of the warnings that appear with -Wshadow
|
2010-04-06 22:53:05 +03:00 |
Reijo Tomperi
|
5aa88ee5a2
|
Fix vs warnings. Apply patch from kidkat.
|
2010-04-06 21:35:21 +03:00 |
Daniel Marjamäki
|
f8367da1fd
|
Refactoring: broke out copy/pasted code
|
2010-04-03 09:17:16 +02:00 |
Daniel Marjamäki
|
427d155644
|
Fixed #1527 (Function can't be const if it has non-const operator overload call)
|
2010-04-02 22:03:07 +02:00 |
Robert Reif
|
805c683c1a
|
Cleanup: Removed unneeded code
|
2010-04-02 18:55:27 +02:00 |
Robert Reif
|
3507b06e0b
|
Fixed #1563 (false positive: function can be const (assignment to static))
|
2010-04-02 08:02:47 +02:00 |
Robert Reif
|
1dcbf02bd8
|
Fixed #1553 (false positive : uninitialized variable for struct timeval from <sys/time>)
|
2010-04-02 07:36:18 +02:00 |
Daniel Marjamäki
|
0cad22314e
|
Reverted 'astyle fix'. Those changes are not in sync with my astyle configuration/setup.
|
2010-04-02 07:30:58 +02:00 |
Martin Ettl
|
193aa7d1d3
|
astyle fix
|
2010-04-02 02:21:53 +02:00 |
Robert Reif
|
2825773918
|
Fixed #1552 (false positive: function can be const (array of struct))
|
2010-04-01 17:01:52 +02:00 |
Robert Reif
|
2c5fb55c3b
|
Fixed #1551 (false positive: The function 'A::vSet' can be const)
|
2010-04-01 16:59:35 +02:00 |
Robert Reif
|
a8c9aa1f8d
|
Fixed #1550 (Improve check: Assignment to self)
|
2010-04-01 16:40:12 +02:00 |
Robert Reif
|
78e54e17f2
|
Unit testing: Added test case for memset. Ticket: #1538
|
2010-03-31 19:53:53 +02:00 |
Robert Reif
|
7fb5b9b67b
|
Better checking for assignment to self. Ticket: #1550
|
2010-03-31 17:09:59 +02:00 |
Daniel Marjamäki
|
c213227133
|
Fixed #1535 (False positive: member variable not initialized, struct with constructor)
|
2010-03-29 20:34:47 +02:00 |
Robert Reif
|
62d2845014
|
Fixed #1492 (false negatives: array index out of bounds)
|
2010-03-28 15:56:13 +02:00 |
Robert Reif
|
2dc4222c9a
|
Refactoring: Added CheckClass::isMemberFunc
|
2010-03-28 11:46:42 +02:00 |
Daniel Marjamäki
|
16124ce646
|
Fixed #1516 (C++Builder properties mistaken for uninitialized variables)
|
2010-03-28 10:58:03 +02:00 |
Martin Ettl
|
e4bda66b28
|
extended The function can be const test
|
2010-03-27 14:11:46 +01:00 |
Robert Reif
|
2eceaaefc0
|
Fixed #1519 (false negative: the function can be declared as const)
|
2010-03-26 20:14:31 +01:00 |
Robert Reif
|
45865f54a8
|
Fixed #1525 (false negative: the function can be declared as const (member declared as mutable))
|
2010-03-26 19:06:00 +01:00 |
Robert Reif
|
307000b448
|
Fixed #1529 (false positive: function can be const (struct member variable))
|
2010-03-26 18:16:33 +01:00 |
Daniel Marjamäki
|
258e7e292e
|
Fixed #1496 (false positive: Member variable not initialized in the constructor 'X::m_d')
|
2010-03-26 17:19:33 +01:00 |
Robert Reif
|
a1528d3154
|
Fixed #1522 (false positive: function can be const (assignment in return))
|
2010-03-26 16:30:30 +01:00 |
Robert Reif
|
e95bc41e59
|
Fixed #1522 (false positive: function can be const (assignment in return))
|
2010-03-24 19:31:30 +01:00 |
Robert Reif
|
9808a59cc1
|
Fixed #1515 (false positive: The function 'wxThreadInternal::SetExitCode' can be const)
|
2010-03-23 07:37:20 +01:00 |
Robert Reif
|
637a34bfd2
|
Fixed #1517 (false negative: the function can be declared as const)
|
2010-03-23 07:34:34 +01:00 |
Robert Reif
|
92fe14e7f0
|
Fixed #1491 (False positive when putting an access specifier at the end of a class declaration)
|
2010-03-19 17:40:23 +01:00 |
Robert Reif
|
89c57c72c5
|
small const fix
|
2010-03-16 07:31:40 +01:00 |
Daniel Marjamäki
|
9fe9be1ea9
|
Fixed #1465 (false positive: unintialized class member)
|
2010-03-13 20:24:39 +01:00 |
Robert Reif
|
846a3a0186
|
Fixed #1491 (False positive when putting an access specifier at the end of a class declaration)
|
2010-03-13 08:06:20 +01:00 |
Robert Reif
|
f552ca5462
|
Fixed #1482 (Improve check const-function: function can be made const when assignment not to member variable (false negative))
|
2010-03-12 18:30:20 +01:00 |