Daniel Marjamäki
|
2b48c7624c
|
Auto Variables: Reverted fix for #1514 because my idea was wrong. See ticket: #2944
|
2011-07-27 10:43:44 +02:00 |
Robert Reif
|
527c1aae33
|
fix #2931 (another false negative in auto variables checking when function parameter is a struct)
|
2011-07-22 08:31:31 -04:00 |
Robert Reif
|
84ca1902a5
|
fix #1514 (Improve CheckAutoVariables: assign autovariable address to effective parameter)
|
2011-07-21 22:37:36 -04:00 |
Robert Reif
|
4e64d35462
|
fix #2926 (false negative in auto variables checking when function parameter is a struct)
|
2011-07-21 22:26:42 -04:00 |
Robert Reif
|
cc1ecccd01
|
fix #2928 (False positive (static variable misinterpreted as auto variable))
|
2011-07-21 18:20:19 -04:00 |
Robert Reif
|
32f94a47cc
|
fix #2925 (False negative: auto variables - assigning address of array to function parameter)
|
2011-07-20 19:02:54 -04:00 |
Robert Reif
|
bb5dfa58a1
|
fix #2765 (Non local address detected as address of local auto-variable)
|
2011-05-06 19:26:04 -04:00 |
Robert Reif
|
ccb831d375
|
fix regression #1819 (False positive: auto variable assignment (unseen typedef))
|
2011-05-06 18:18:48 -04:00 |
Robert Reif
|
29c73e0571
|
fix false positive introduced in CheckAutoVariables::autoVariables conversion to use symbol database
|
2011-04-26 20:16:09 -04:00 |
Robert Reif
|
55898c0dfc
|
convert last check in checkautovariables to use the symbol database
|
2011-04-23 09:50:56 -04:00 |
Robert Reif
|
cd64d8476c
|
fixed #2614 (missing varid on function parameter)
|
2011-04-23 09:37:50 -04:00 |
Martin Exner
|
2b08744b97
|
Fixed #2676 (setVarId: variables with global scope qualification :: don't get varids)
|
2011-04-18 06:56:39 +02:00 |
Robert Reif
|
c9b2ab3c26
|
add debug message for function argument missing varid
|
2011-03-02 21:08:27 -05:00 |
Daniel Marjamäki
|
7507f64ee7
|
Fixed #2558 (false positive: (error) Returning reference to auto variable)
|
2011-02-12 15:39:26 +01:00 |
Robert Reif
|
1e0d538273
|
checkautovariables: refactor to use the symbol database
|
2011-02-07 19:26:34 -05:00 |
Reijo Tomperi
|
226b605774
|
Change year 2010 -> 2011 in license texts.
|
2011-01-09 21:33:36 +02:00 |
Kimmo Varis
|
8369d0ddd6
|
Improving 'Wrong assignment of auto variable' error message.
Improving the error message as discussed at dev-forum:
https://sourceforge.net/apps/phpbb/cppcheck/viewtopic.php?f=3&t=192&start=0
|
2010-12-04 09:55:20 +02:00 |
Robert Reif
|
f12c0c7ada
|
Tokenizer: add assert(_settings) to Tokenizer to insure the tokenizer always has settings. Ticket: #2219
|
2010-12-01 18:00:55 +01:00 |
Daniel Marjamäki
|
3d195f2326
|
Auto variables: improved the check for 'return retval.c_str()'. Ticket: #2191
|
2010-11-13 15:38:21 +01:00 |
Daniel Marjamäki
|
cd94fa89e0
|
Tokenizer: More specific bail outs in simplifyKnownVariables
|
2010-11-07 11:07:56 +01:00 |
Daniel Marjamäki
|
c907acf767
|
Fixed #1819 (False positive: auto variable assignment (unseen typedef))
|
2010-10-22 21:12:56 +02:00 |
Reijo Tomperi
|
35d2a27b9c
|
Update copyright year in all source files
|
2010-04-13 22:23:17 +03:00 |
Daniel Marjamäki
|
1c84dc814c
|
Auto variables: Improved handling of temporaries
|
2010-01-27 19:16:32 +01:00 |
Daniel Marjamäki
|
32fcb8fe18
|
Auto variables: returning pointer to temporary .c_str() data
|
2010-01-26 22:11:34 +01:00 |
Daniel Marjamäki
|
f62466493b
|
New Check: Detect return of invalid reference
|
2010-01-23 20:39:12 +01:00 |
Slava Semushin
|
82ae064218
|
Fixed #1013 (autovariables: detect when assigning parameter **par)
http://sourceforge.net/apps/trac/cppcheck/ticket/1013
|
2010-01-02 03:53:34 +06:00 |
Reijo Tomperi
|
db30c5b0d2
|
Fix #1069 (Minor spelling mistake across cppcheck)
http://sourceforge.net/apps/trac/cppcheck/ticket/1069
|
2009-12-08 20:10:08 +02:00 |
Daniel Marjamäki
|
09859c1019
|
refactoring the folder structure
|
2009-10-25 12:49:06 +01:00 |
Reijo Tomperi
|
fdde2182b9
|
Fix GPL comments in all files. ">." was missing from the end.
|
2009-09-27 18:08:31 +03:00 |
Slava Semushin
|
be89be8c30
|
Fixed #590 (False positive: Invalid deallocation when variables have same name)
http://sourceforge.net/apps/trac/cppcheck/ticket/590
|
2009-08-16 15:27:40 +07:00 |
Slava Semushin
|
4c32057180
|
Fixed ticket #541 (Wrong testcases produce unlogged error at Tokenizer::syntaxError)
http://sourceforge.net/apps/trac/cppcheck/ticket/541
|
2009-08-12 02:06:41 +07:00 |
Gianluca Scacco
|
ba4754a784
|
Added new test for invalid deallocation
|
2009-08-09 15:43:00 +02:00 |
Slava Semushin
|
37fe631639
|
test/testautovariables.cpp: renamed some testcases.
Make it readable.
No functional change.
|
2009-07-28 00:36:56 +07:00 |
Slava Semushin
|
82ae0e305b
|
checkautovariables: added newlines to make code more readable.
No code change.
|
2009-07-28 00:34:17 +07:00 |
Slava Semushin
|
bb4b2b707c
|
Fixed ticket #517 (False positive for extern variables: return of the address of an auto-variable)
http://sourceforge.net/apps/trac/cppcheck/ticket/517
|
2009-07-28 00:32:01 +07:00 |
Daniel Marjamäki
|
a71d260308
|
Refactoring: Moved CheckOther::returnPointerToLocalVariable to CheckAutoVariables
|
2009-06-09 19:45:58 +02:00 |
Daniel Marjamäki
|
5747133fa8
|
Fix #370 (Assign auto variable to parameter false positive)
|
2009-06-06 21:25:41 +02:00 |
Slava Semushin
|
e5c0383594
|
Strip redundant std::string usage from tests.
Done by command:
git grep -l ASSERT_EQUALS | xargs sed -i 's|ASSERT_EQUALS(std::string(\(".\+"\)),|ASSERT_EQUALS(\1,|'
Should be no functional change.
|
2009-06-01 02:50:25 +07:00 |
Reijo Tomperi
|
58eda6e978
|
Fix ticket #325 (Replace developer names in source files with AUTHORS file)
http://apps.sourceforge.net/trac/cppcheck/ticket/325
|
2009-05-30 08:48:12 +03:00 |
Slava Semushin
|
3a40c33d7b
|
Updated wrong comments (looks like after copy&paste).
No code change.
|
2009-05-22 21:13:01 +07:00 |
Reijo Tomperi
|
dd8b738f7f
|
Initial fix for ticket #283 (segmentation fault when checking xterm sources)
http://apps.sourceforge.net/trac/cppcheck/ticket/283
It should print out error message now instead of crashing. Cleanup is needed.
|
2009-05-07 23:17:29 +03:00 |
Gianluca Scacco
|
f5104d6d0a
|
Added new test to autovariable
|
2009-03-28 21:54:12 +01:00 |
Gianluca Scacco
|
c88a362893
|
Fixed ticket #228: false positive with usage of an auto-variable
|
2009-03-28 21:47:38 +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 |