Daniel Marjamäki
|
2b04c94b95
|
stl push_back: Added check (invalid iterator)
|
2009-02-18 19:57:43 +00:00 |
Reijo Tomperi
|
7ef9e870cd
|
Code comments updated
|
2009-02-14 22:00:19 +00:00 |
Reijo Tomperi
|
d1e9efc66a
|
Fix ticket #104 (Change (error) Uninitialized member variable -> (style) Member variable not initialized in the constructor)
|
2009-02-14 08:52:03 +00:00 |
Daniel Marjamäki
|
eda1290e40
|
dangerous usage of erase: added check
|
2009-02-11 05:08:29 +00:00 |
Reijo Tomperi
|
9b9223480d
|
Refactoring: reportErr takes now only one parameter, ErrorLogger::ErrorMessage, which contains all required information and also some help
functions for formatting it for output.
|
2009-02-10 21:51:52 +00:00 |
Daniel Marjamäki
|
c1638996f9
|
STL: added check for iterator usage
|
2009-02-10 19:40:21 +00:00 |
Reijo Tomperi
|
5721e4469b
|
stlOutOfBounds error message created
|
2009-02-10 19:36:49 +00:00 |
Reijo Tomperi
|
1373e14bc9
|
Fix ticket #93 (Write xml results into error stream instead of results.xml file.) and also refactor the
code to use ErrorLogger::reportErr() for all errors, for both xml and plain text. And move xml formatting
from Cppcheck to CppcheckExecutor.
|
2009-02-09 20:51:04 +00:00 |
Reijo Tomperi
|
fb3c81dcd9
|
Fix ticket #80 (refactoring: classes ErrorMessage and ErrorLogger), note that errormessage and errorlogger were merged, errormessage.* is no more.
|
2009-02-08 21:20:35 +00:00 |
Daniel Marjamäki
|
1637e867de
|
mismatching allocation size: moved to error suite
|
2009-02-08 18:34:04 +00:00 |
Daniel Marjamäki
|
3c289e52c5
|
memory allocation: check for mismatching size
|
2009-02-07 10:54:39 +00:00 |
Daniel Marjamäki
|
03acc12977
|
mismathing allocation and deallocation: moved to error checks
|
2009-02-06 18:24:01 +00:00 |
Reijo Tomperi
|
a06861948b
|
Fixed: Ticket #78 Change (always) into (error) in error messages
|
2009-02-05 21:06:32 +00:00 |
Daniel Marjamäki
|
aeb573d529
|
returning pointer to local array
|
2009-02-04 18:49:19 +00:00 |
Daniel Marjamäki
|
385c28a02e
|
xml: generating better xml output
|
2009-02-01 18:00:47 +00:00 |
Daniel Marjamäki
|
eb9563faed
|
astyle formatting
|
2009-02-01 16:39:29 +00:00 |
Daniel Marjamäki
|
d29d7e60a9
|
errmsg: refactoring the error messages
|
2009-02-01 15:47:36 +00:00 |
Daniel Marjamäki
|
2784faab42
|
removed unused function definition for stringifySeverity
|
2009-01-31 19:05:17 +00:00 |
Daniel Marjamäki
|
81174a4817
|
mismatching allocation / deallocation: moved to --all
|
2009-01-31 17:54:31 +00:00 |
Daniel Marjamäki
|
f6f72fc022
|
errmsg: output severity in messages. a fix to track severity in the memory leaks check
|
2009-01-31 13:57:27 +00:00 |
Daniel Marjamäki
|
3457b38d7a
|
errmsg: write severity in the message
|
2009-01-31 08:33:31 +00:00 |
Daniel Marjamäki
|
6ce23670e5
|
sprintf overlapping data: added extra text that is shown if --verbose is given
|
2009-01-26 19:14:46 +00:00 |
Daniel Marjamäki
|
3d61334a8c
|
errmsg: Moved 'function parameter parname is passed by value' to the style checks
|
2009-01-26 18:32:00 +00:00 |
Nicolas Le Cam
|
42c608b6f0
|
Remove checks that are already covered well by most compilers (Unreachable Code; Assignment in Condition; Unused Variable).
|
2009-01-21 21:31:47 +00:00 |
Reijo Tomperi
|
176dd41306
|
Fixed Ticket #40, Check copyright texts in files, now that we have new developers.
|
2009-01-21 20:04:20 +00:00 |
Nicolas Le Cam
|
cec57b76d3
|
errmsg: Don't create unused parameters
|
2009-01-19 19:50:00 +00:00 |
Daniel Marjamäki
|
8780fbf8bb
|
bounds checking: Added error message "snprintf size is out of bounds"
|
2009-01-17 13:09:02 +00:00 |
Daniel Marjamäki
|
a5e2787f72
|
errmsg: added varname to the message "deallocating a deallocated pointer"
|
2009-01-17 11:15:46 +00:00 |
Daniel Marjamäki
|
4cfb8ad1cb
|
memory leaks: Added checking of deallocate to see that the pointer isn't deallocated already
|
2009-01-15 20:34:39 +00:00 |
Daniel Marjamäki
|
8bbd4b9401
|
str plus char: Added check and error message for str + ch
|
2009-01-15 16:57:51 +00:00 |
Daniel Marjamäki
|
03cfe18c9b
|
errmsg: Added 'condition is always true/false'
|
2009-01-14 19:43:28 +00:00 |
Daniel Marjamäki
|
c8a5bd16a1
|
errmsg: Added 'assignment in if-condition'
|
2009-01-13 17:56:45 +00:00 |
Daniel Marjamäki
|
aa592387e6
|
errmsg: refactoring
|
2009-01-13 06:25:36 +00:00 |
Daniel Marjamäki
|
cc65242626
|
errmsg: added message about bad usage of char variable
|
2009-01-12 18:52:43 +00:00 |
Daniel Marjamäki
|
fdf5b215f9
|
errmsg: Added message for 'incomplete statement'
|
2009-01-12 17:46:24 +00:00 |
Daniel Marjamäki
|
a5eb8894d4
|
errmsg: Added messages for 'variable is not used / not read / not assigned'
|
2009-01-12 17:40:20 +00:00 |
Daniel Marjamäki
|
13e2396345
|
errmsg: Added message 'function parameter is passed by value'
|
2009-01-12 17:32:53 +00:00 |
Daniel Marjamäki
|
df689b454c
|
errmsg: added message 'unreachable code below return'
|
2009-01-12 17:28:04 +00:00 |
Daniel Marjamäki
|
a0ef840138
|
errmsg: Added 'unused struct member'
|
2009-01-12 17:21:25 +00:00 |
Daniel Marjamäki
|
03888046d8
|
errmsg: Made the 'unsigned division' a style error
|
2009-01-12 17:14:03 +00:00 |
Daniel Marjamäki
|
980b10bfc9
|
errmsg: Added 'unsigned division'
|
2009-01-12 17:12:14 +00:00 |
Daniel Marjamäki
|
17d4c2b980
|
errmsg: Added message 'Overlapping data buffer'
|
2009-01-12 06:52:50 +00:00 |
Daniel Marjamäki
|
ae861852e2
|
errmsg: Added "found redundant if - 'if (condition);'
|
2009-01-12 06:44:47 +00:00 |
Daniel Marjamäki
|
9d8af10583
|
errmsg: the "unused function" message shall not take any Tokenizer nor Token parameters
|
2009-01-11 08:10:51 +00:00 |
Daniel Marjamäki
|
3d8791eebd
|
errmsg: added "unused function"
|
2009-01-11 06:44:32 +00:00 |
Daniel Marjamäki
|
1e6b54b2c5
|
errmsg: added "mismatching allocation and deallocation"
|
2009-01-10 19:30:41 +00:00 |
Daniel Marjamäki
|
47a7c915fa
|
errmsg: Added error messages for "Array index out of bounds" and "Buffer overrun"
|
2009-01-10 19:23:21 +00:00 |
Daniel Marjamäki
|
897c02e3ed
|
errmsg: added error message about virtual destructors
|
2009-01-10 18:03:56 +00:00 |
Daniel Marjamäki
|
6acb123f1d
|
errmsg: Added "operator= should return something
|
2009-01-10 17:57:31 +00:00 |
Daniel Marjamäki
|
1fc5f5485f
|
errmsg: Added "Using 'memset' on class"
|
2009-01-10 17:51:03 +00:00 |