Daniel Marjamäki
|
4387071eb1
|
Fixed #733 (New check: locking & unlocking mutex and semaphore variables)
|
2009-10-03 21:46:22 +02:00 |
Slava Semushin
|
b0d8b6ca8b
|
Fixed #780 (Tokenizer: replace typedef for pointers to struct)
http://sourceforge.net/apps/trac/cppcheck/ticket/780
|
2009-10-03 22:02:23 +07:00 |
Slava Semushin
|
803748a654
|
Token::Match(): made message about bug more verbose.
|
2009-10-03 21:35:25 +07:00 |
Slava Semushin
|
9a48efec00
|
Fixed #775 (###### If you see this, there is a bug ###### Token::Match() - varid was 0)
http://sourceforge.net/apps/trac/cppcheck/ticket/775
|
2009-10-03 21:27:16 +07:00 |
Slava Semushin
|
8dc9528a74
|
Tokenizer::simplifyVarDecl(): join 2 conditions.
No functional change.
|
2009-10-03 17:11:52 +07:00 |
Slava Semushin
|
9983066f62
|
Fixed #770 (Tokenizer: Var id not set for static variables in some cases)
http://sourceforge.net/apps/trac/cppcheck/ticket/770
|
2009-10-03 17:05:07 +07:00 |
Daniel Marjamäki
|
0448753b13
|
Borland C++: Fixed compiler errors
|
2009-10-03 09:34:38 +02:00 |
Reijo Tomperi
|
70e236bc56
|
Attempt to speed up preprocessing on macro-in-macro situations.
See #762 (version 1.37 of cppcheck runs extremely slowly on windows)
http://sourceforge.net/apps/trac/cppcheck/ticket/762
|
2009-10-02 22:17:20 +03:00 |
Reijo Tomperi
|
6989670e8f
|
Abort comma simplification when ", %num%" is detected.
This increases speed a lot in some rare situations.
|
2009-10-02 15:38:41 +03:00 |
Daniel Marjamäki
|
e894e37131
|
Fixed #679 (False positive: Unused private function produced by exception specification)
|
2009-10-01 19:45:48 +02:00 |
Reijo Tomperi
|
b3ad712b61
|
Fix #421 (Memory leak not found when typeid() is used.)
http://sourceforge.net/apps/trac/cppcheck/ticket/421
|
2009-10-01 11:56:59 +03:00 |
Reijo Tomperi
|
f1e1f9b8f7
|
Trivial refactoring
|
2009-10-01 11:37:15 +03:00 |
Reijo Tomperi
|
4650e513e1
|
Fix #741 (False positive: Buffer overrun with -a when index increased in multiple locations)
http://sourceforge.net/apps/trac/cppcheck/ticket/741
|
2009-10-01 11:33:53 +03:00 |
Reijo Tomperi
|
d4a97eb2b4
|
Fix #419 (missleading buffer overrun)
http://sourceforge.net/apps/trac/cppcheck/ticket/419
|
2009-10-01 10:59:27 +03:00 |
Reijo Tomperi
|
37fb0d8c8a
|
Removed dead code created by previous commit
|
2009-10-01 10:28:30 +03:00 |
Reijo Tomperi
|
39092150e2
|
Fix #763 (Tokenizer: Goto incorrectly simplified)
http://sourceforge.net/apps/trac/cppcheck/ticket/763
|
2009-10-01 10:25:32 +03:00 |
Reijo Tomperi
|
f9871c2d54
|
Fix #745 (false positive: possible null pointer dereference , while)
http://sourceforge.net/apps/trac/cppcheck/ticket/745
|
2009-09-30 21:42:14 +03:00 |
Reijo Tomperi
|
ec44f8f6c7
|
Fix #744 (False positive: (possible error) Array index out of bounds)
http://sourceforge.net/apps/trac/cppcheck/ticket/744
|
2009-09-30 15:51:33 +03:00 |
Reijo Tomperi
|
6ed727564c
|
Fix #759 (Tokenizer: Incorrect var id when two variables with same name)
http://sourceforge.net/apps/trac/cppcheck/ticket/759
|
2009-09-30 14:40:10 +03:00 |
Reijo Tomperi
|
7852d38f54
|
Fix #761 (Tokenizer: typedef inside class is incorrectly simplified)
http://sourceforge.net/apps/trac/cppcheck/ticket/761
|
2009-09-30 14:35:00 +03:00 |
Reijo Tomperi
|
bb1a9a07e4
|
Fix #760 (Tokenizer: Goto not simplified)
http://sourceforge.net/apps/trac/cppcheck/ticket/760
|
2009-09-30 14:30:53 +03:00 |
Reijo Tomperi
|
724c78fb4d
|
Fix #750 (cppcheck wants variable outside do-loop to be only inside loop)
http://sourceforge.net/apps/trac/cppcheck/ticket/750
Fix #758 (False positive on variable scope with boost foreach)
http://sourceforge.net/apps/trac/cppcheck/ticket/758
|
2009-09-30 00:56:43 +03:00 |
Reijo Tomperi
|
9d9d600d43
|
Changed simplifyConditionOperator() to create also {} around if and else
Fixed validate() in tokenizer.
|
2009-09-29 23:27:10 +03:00 |
Reijo Tomperi
|
1b1047a5e4
|
Fix #757 (Change message: (style) The class 'KClass' has no constructor)
http://sourceforge.net/apps/trac/cppcheck/ticket/757
|
2009-09-29 21:27:17 +03:00 |
Slava Semushin
|
88dd9846ae
|
Tokenizer::tokenize(): removed useless const_cast.
No functional change.
|
2009-09-30 00:37:56 +07:00 |
Daniel Marjamäki
|
12b29e35ad
|
Ashim Kapoor: deal with backspace better (#694)
|
2009-09-29 17:02:19 +02:00 |
Reijo Tomperi
|
63523316a2
|
Check nullpointer check is now executed without --style flag
Added TODO test case for nullpointer check
|
2009-09-29 16:38:05 +03:00 |
Reijo Tomperi
|
64f0f3b308
|
Fix #751 (if-condition considered redundant even with else-branch)
http://sourceforge.net/apps/trac/cppcheck/ticket/751
Fix also other issue with if(a.b) delete c.b;
Fix also other issue with if(a.b.c) delete a.b.c;
|
2009-09-29 00:18:40 +03:00 |
Daniel Marjamäki
|
311f6dc92e
|
Fixed #746 (False positive, Memory leak when goto is used)
|
2009-09-28 22:58:06 +02:00 |
Daniel Marjamäki
|
1427f0a2c7
|
memory leaks: fixed a TODO_ASSERT_EQUALS for a false positive
|
2009-09-28 22:41:45 +02:00 |
Reijo Tomperi
|
949ad462c7
|
Fix #739 (Pre-defined output format templates)
http://sourceforge.net/apps/trac/cppcheck/ticket/739
Patch from lanurmi. Slightly modified by me.
|
2009-09-28 22:48:27 +03:00 |
Reijo Tomperi
|
2d4404f030
|
Fix #754 (Tokenizer: transform modifier "signed" to "int")
http://sourceforge.net/apps/trac/cppcheck/ticket/754
Also fix int unsigned -> unsigned int
|
2009-09-28 21:25:05 +03:00 |
Slava Semushin
|
b9237db9a3
|
Fixed #753 (Tokenizer: don't simplify variables inside do {} while loop)
http://sourceforge.net/apps/trac/cppcheck/ticket/753
|
2009-09-28 22:15:31 +07:00 |
Daniel Marjamäki
|
a61abcbbc8
|
Fixed #728 (False positive, resource leak, when released in a loop)
|
2009-09-27 21:49:07 +02:00 |
Slava Semushin
|
342e71803f
|
src/checkbufferoverrun.cpp: fixed regression.
test suite was broken after my
e8c83613e4 commit.
|
2009-09-27 23:03:11 +07:00 |
Slava Semushin
|
e8c83613e4
|
Fixed #740 (False positive, buffer overrun with --all)
Regression since 07f41f4563 commit.
http://sourceforge.net/apps/trac/cppcheck/ticket/740
|
2009-09-27 22:50:59 +07:00 |
Slava Semushin
|
f62e5f1672
|
src/checkbufferoverrun.cpp: removed useless semicolon.
No functional change.
|
2009-09-27 22:14:58 +07:00 |
Slava Semushin
|
661ce78b69
|
Fixed #738 (False Buffer overrun with -a when i is increased by more than 1 inside loop body)
http://sourceforge.net/apps/trac/cppcheck/ticket/738
|
2009-09-27 22:14:51 +07:00 |
Reijo Tomperi
|
fdde2182b9
|
Fix GPL comments in all files. ">." was missing from the end.
|
2009-09-27 18:08:31 +03:00 |
Reijo Tomperi
|
9df2b84233
|
Remove redundant comparison
|
2009-09-27 17:53:09 +03:00 |
Slava Semushin
|
07f41f4563
|
Fixed #714 (False Buffer overrun with -a when i is increased by more than 1 in a loop)
http://sourceforge.net/apps/trac/cppcheck/ticket/714
|
2009-09-27 21:12:46 +07:00 |
Reijo Tomperi
|
d1f3953cce
|
Fix #720 (String length for strings like this "\x61" is calculated wrong)
http://sourceforge.net/apps/trac/cppcheck/ticket/720
|
2009-09-27 17:04:10 +03:00 |
Slava Semushin
|
7e2208b5cc
|
Detects invalid iterator inside for() when postfix form of increment used.
|
2009-09-27 15:10:21 +07:00 |
Slava Semushin
|
5285635354
|
Fixed #735 (Detects invalid iterator after push_back() when iterator declared inside for())
http://sourceforge.net/apps/trac/cppcheck/ticket/735
|
2009-09-27 14:59:19 +07:00 |
Slava Semushin
|
acdbb20c99
|
Detect buffer overruns when ?: use as sprintf() argument.
|
2009-09-27 00:40:58 +07:00 |
Slava Semushin
|
19ed8e9311
|
Fixed #729 (False positive: Buffer overrun when ? is used to select parameter)
http://sourceforge.net/apps/trac/cppcheck/ticket/729
|
2009-09-27 00:06:54 +07:00 |
Slava Semushin
|
50a34b8a37
|
Fixed #731 (False positive, strcpy copying a buffer with a null character)
http://sourceforge.net/apps/trac/cppcheck/ticket/731
|
2009-09-26 22:58:14 +07:00 |
Slava Semushin
|
6d56ab9df6
|
CheckBufferOverrun::count(): commented out debug message.
Added in 3da779725d commit.
|
2009-09-26 21:59:16 +07:00 |
Daniel Marjamäki
|
3da779725d
|
Ashim Kapoor: handle %i,%f,%d,%x,%X better (#694)
|
2009-09-26 16:19:18 +02:00 |
Slava Semushin
|
a919f4541a
|
Fixed #732 (Tokenizer: Incorrect simplification)
Regression since 58a9e05697 commit.
http://sourceforge.net/apps/trac/cppcheck/ticket/732
|
2009-09-26 17:02:13 +07:00 |