Daniel Marjamäki
|
7afccc395a
|
testing: new handling of todo test cases. If they use TODO_ASSERT_EQUALS instead we can detect when they are fixed
|
2009-03-25 18:31:40 +01:00 |
Daniel Marjamäki
|
0cfa241abb
|
variable id: enabled test case for function parameters
|
2009-03-25 18:15:49 +01:00 |
Daniel Marjamäki
|
c74da7bab9
|
variable id: give std::string variables an id
|
2009-03-25 18:10:03 +01:00 |
Daniel Marjamäki
|
b9f4a773b8
|
Buffer overrun: Added check to detect when size argument to memset is a char constant (#213)
|
2009-03-25 07:25:10 +01:00 |
Daniel Marjamäki
|
9f3634412e
|
simplify tokens (known variable values in conditions)
|
2009-03-25 07:10:17 +01:00 |
Daniel Marjamäki
|
afcaa30b51
|
Fixed ticket 216 (False positive: variable scope)
|
2009-03-24 20:59:56 +01:00 |
Daniel Marjamäki
|
c0039a2551
|
added testcase
|
2009-03-24 20:24:03 +01:00 |
Daniel Marjamäki
|
6580e0eb21
|
fixed snprintf false positive (#210)
|
2009-03-24 18:43:39 +01:00 |
Daniel Marjamäki
|
65070cc067
|
Simplify if conditions more.. simplifyIfAssign + simplifyIfNot
|
2009-03-24 18:23:21 +01:00 |
Daniel Marjamäki
|
44c952873e
|
Fixed ticket 205 (False positive: char variable used in bit operation)
|
2009-03-23 19:04:51 +01:00 |
Daniel Marjamäki
|
06776c6ac7
|
Fixed the testcase TestMemleak::realloc3
|
2009-03-23 18:34:59 +01:00 |
Daniel Marjamäki
|
7905cbc5e7
|
simplify tokens: move assignment out from condition (Ticket #201)
|
2009-03-23 18:20:56 +01:00 |
Daniel Marjamäki
|
c9d02273b8
|
added todo test case for ticket 200
|
2009-03-22 21:42:01 +01:00 |
Vesa Pikki
|
f04bdccee4
|
Astyle formatting.
|
2009-03-22 15:15:16 +02:00 |
Gianluca Scacco
|
416115e38f
|
Fixed error compiling testautovariables
|
2009-03-22 12:00:21 +01:00 |
Daniel Marjamäki
|
da06c12925
|
refactoring error messages
|
2009-03-21 18:31:28 +01:00 |
Daniel Marjamäki
|
aee39ae929
|
refactoring - handling the stlOutOfBounds error message the new way
|
2009-03-21 14:20:10 +01:00 |
Daniel Marjamäki
|
bcad5afb26
|
refactoring - fixed the unit tests
|
2009-03-21 14:02:58 +01:00 |
Daniel Marjamäki
|
9f1c3cc535
|
refactoring the rest of the classes
|
2009-03-20 18:16:21 +01:00 |
Daniel Marjamäki
|
21dff96e7b
|
refactoring checkbufferoverrun
|
2009-03-20 17:35:53 +01:00 |
Daniel Marjamäki
|
5914af4481
|
refactoring CheckClass
|
2009-03-20 17:30:24 +01:00 |
Daniel Marjamäki
|
3fab99a5cb
|
astyle formatting
|
2009-03-19 19:35:47 +01:00 |
Daniel Marjamäki
|
75171cae08
|
refactoring: fixed the teststl so it is runnable again
|
2009-03-19 19:35:08 +01:00 |
Daniel Marjamäki
|
09ff4fa35f
|
Merge branch 'master' of git@github.com:danmar/cppcheck
|
2009-03-18 22:41:01 +01:00 |
Daniel Marjamäki
|
a573c62cd5
|
refactoring: first step - started with checkstl
|
2009-03-18 22:40:38 +01:00 |
Nicolas Le Cam
|
2b199ffb9b
|
Fix compilation on 64bit systems
|
2009-03-18 22:13:27 +01:00 |
Daniel Marjamäki
|
f37dd4f143
|
Fixed ticket 184 (Tokenizer - Simplification: Split up variable declarations)
|
2009-03-18 20:32:05 +01:00 |
Reijo Tomperi
|
2fb4c52728
|
Fixed tokenizer: "return - 2 ;" --> "return -2 ;"
|
2009-03-18 20:48:06 +02:00 |
Reijo Tomperi
|
ca055dc830
|
Fix ticket #191 (semicolon after #endif stop tokenizing of function)
http://apps.sourceforge.net/trac/cppcheck/ticket/191
|
2009-03-18 01:10:26 +02:00 |
Reijo Tomperi
|
896abcb569
|
Fixed some memory leaks in test cases
|
2009-03-17 21:59:40 +02:00 |
Daniel Marjamäki
|
9c057c707b
|
tokenize negative numbers into a single token
|
2009-03-17 20:50:06 +01:00 |
Daniel Marjamäki
|
128215d692
|
Added test case for detecting false positive in the STL size handling
|
2009-03-17 18:54:50 +01:00 |
Reijo Tomperi
|
c413c8d4b3
|
Fix ticket #179 (preprocessor issues)
http://apps.sourceforge.net/trac/cppcheck/ticket/179
|
2009-03-16 23:20:55 +02:00 |
Daniel Marjamäki
|
f9b481ae3a
|
Ticket #184 (Tokenizer - Simplification: Split up variable declarations), added testcases
|
2009-03-16 19:03:23 +01:00 |
Daniel Marjamäki
|
0cc7672673
|
Fixed Ticket #82 (detect buffer overrun; dynamic memory)
|
2009-03-16 18:11:09 +01:00 |
Reijo Tomperi
|
1c74978a92
|
test case stringify3 added
|
2009-03-15 23:39:58 +02:00 |
Reijo Tomperi
|
21b687b301
|
Improved tokenizer to handle '#' better. Previously everything after # was combined into a single token,
now # is considered more like an alphabet, with few exceptions, e.g. "##" tokens.
|
2009-03-15 23:09:27 +02:00 |
Daniel Marjamäki
|
a6ad972aad
|
Fix Ticket 180 (Templates: Expanding member functions that are not implemented inline)
|
2009-03-15 20:03:29 +01:00 |
Daniel Marjamäki
|
9b06b22053
|
templates: replace constructor/destructor names when expanding template classes
|
2009-03-15 17:07:05 +01:00 |
Reijo Tomperi
|
b26955b9f8
|
Test case stringify2() added.
|
2009-03-15 16:05:23 +02:00 |
Reijo Tomperi
|
ca7870af33
|
Fix ticket #177 (Tokenizer doesn't add braces around if-scope)
http://apps.sourceforge.net/trac/cppcheck/ticket/177
|
2009-03-15 14:44:57 +02:00 |
Reijo Tomperi
|
bb3316a45b
|
Fix ticket #181 (#pragma causes wrong line numbers)
http://apps.sourceforge.net/trac/cppcheck/ticket/181
|
2009-03-15 14:23:12 +02:00 |
Daniel Marjamäki
|
6eadbaae04
|
templates: better handling of templates with multiple type arguments
|
2009-03-14 21:26:32 +01:00 |
Daniel Marjamäki
|
75d0e8687b
|
Memory leak: handle allocation in deallocation list
|
2009-03-14 20:19:36 +01:00 |
Daniel Marjamäki
|
02df14ec37
|
Memory leaks: Refactoring to use Tokenizer::FindClassFunction. Enabled test case, the memory leak is now detected
|
2009-03-14 18:21:37 +01:00 |
Daniel Marjamäki
|
3b29125d65
|
added testcase for 'Tokenizer::FindClassFunction'
|
2009-03-13 22:38:42 +01:00 |
Daniel Marjamäki
|
0a6a0ae46e
|
TestMemleak: added two testcases for checking for leaks in classes
|
2009-03-13 19:52:01 +01:00 |
Reijo Tomperi
|
3c4704a00c
|
Fix ticket #151 (Handling of namespaces)
http://apps.sourceforge.net/trac/cppcheck/ticket/151
|
2009-03-13 01:07:05 +02:00 |
Daniel Marjamäki
|
4c28882a12
|
expanding template classes
|
2009-03-12 22:17:42 +01:00 |
Daniel Marjamäki
|
f96e2deb1a
|
uninitialized const pointer member variables
|
2009-03-12 21:33:10 +01:00 |