cppcheck/lib
Reijo Tomperi 89fd5bacf9 Fix #2849, False positive: memory leak (using question mark operator)
http://sourceforge.net/apps/trac/cppcheck/ticket/2849
Simplify: *d = b ? b : a; into if-else
Simplify { ; { ; } } into { ; }
Removed one memleak test which should be redundant now as question marks
should not get into memleak check.
2011-06-30 22:04:26 +03:00
..
check.h Inconclusive checking: Report inconclusive errors with reportInconclusiveError. It takes the same parameters as reportError. 2011-04-14 18:02:01 +02:00
checkautovariables.cpp fix #2765 (Non local address detected as address of local auto-variable) 2011-05-06 19:26:04 -04:00
checkautovariables.h convert last check in checkautovariables to use the symbol database 2011-04-23 09:50:56 -04:00
checkbufferoverrun.cpp Fixed #2841 (False positive: Array index out of bounds, can't compare ints to chars) 2011-06-29 18:44:05 +02:00
checkbufferoverrun.h start using symbol database array info for buffer overrun checks 2011-06-22 22:44:11 -04:00
checkclass.cpp fix #2807 (Wrong handling of function references when prefixed with &) 2011-06-29 07:19:34 -04:00
checkclass.h change CheckClass::operatorEqToSelf to make better use of the symbol database 2011-03-31 19:53:35 -04:00
checkexceptionsafety.cpp Ticket #2388. Added more detail to the 'exceptRethrowCopy' error message. 2011-02-06 02:01:14 -08:00
checkexceptionsafety.h Ticket #2388. Added more detail to the 'exceptRethrowCopy' error message. 2011-02-06 02:01:14 -08:00
checkmemoryleak.cpp Fixed #2849 (False positive: memory leak (using question mark operator)) 2011-06-30 17:31:22 +02:00
checkmemoryleak.h Fixed #2783 (Improve check: struct member leaks when analysing c file) 2011-05-11 18:19:14 +02:00
checknullpointer.cpp Fix #2840, False positive: Null pointer dereference 2011-06-26 22:46:33 +03:00
checknullpointer.h initialise Check::_name in constructor rather than relying on virtual Check::name() 2011-02-02 22:58:25 +13:00
checkobsoletefunctions.cpp Change year 2010 -> 2011 in license texts. 2011-01-09 21:33:36 +02:00
checkobsoletefunctions.h Obsolete functions: Fix messages for gethostbyaddr, gethostbyname 2011-04-07 00:33:54 +02:00
checkother.cpp Fixed #2805 (false positive: [NotAssigned1.cpp:5]: (style) Variable 'y' is not assigned a value) 2011-06-08 19:54:01 +02:00
checkother.h fix #2786 2011-05-25 01:45:58 +08:00
checkpostfixoperator.cpp Fix #2847, cppcheck hangs with 100% cpu load 2011-06-22 14:09:42 +03:00
checkpostfixoperator.h initialise Check::_name in constructor rather than relying on virtual Check::name() 2011-02-02 22:58:25 +13:00
checkstl.cpp fix 2846 (false positive for auto_ptr check with container element) 2011-06-20 23:02:05 +02:00
checkstl.h fix #747 and #748 (incorrect use of auto_ptr - new check) 2011-06-16 20:26:00 +02:00
checkuninitvar.cpp Fixed #2764 (False positive: Uninitialized variable '&(x[0])') 2011-05-05 21:26:18 +02:00
checkuninitvar.h initialise Check::_name in constructor rather than relying on virtual Check::name() 2011-02-02 22:58:25 +13:00
checkunusedfunctions.cpp Inconclusive checking: Report inconclusive errors with reportInconclusiveError. It takes the same parameters as reportError. 2011-04-14 18:02:01 +02:00
checkunusedfunctions.h initialise Check::_name in constructor rather than relying on virtual Check::name() 2011-02-02 22:58:25 +13:00
cppcheck.cpp 1.49: updated version 2011-06-12 18:24:31 +02:00
cppcheck.h Report percentage complete based on file size 2011-04-26 22:26:23 +12:00
errorlogger.cpp ErrorLogger: Refactoring/fixing the serializer/deserializer for inconclusive messages 2011-04-16 13:42:48 +02:00
errorlogger.h Remove ErrorLogger::reportStatus() method. 2011-04-27 23:27:02 +03:00
executionpath.cpp executionpath: fix memory leak 2011-05-19 19:31:51 +02:00
executionpath.h Change year 2010 -> 2011 in license texts. 2011-01-09 21:33:36 +02:00
lib.pri Change "tinyxml/tinyxml.h" includes into <tinyxml.h> and modify dmake to work with it. 2011-02-10 22:35:48 +02:00
mathlib.cpp Change year 2010 -> 2011 in license texts. 2011-01-09 21:33:36 +02:00
mathlib.h Change year 2010 -> 2011 in license texts. 2011-01-09 21:33:36 +02:00
path.cpp astyle formatting 2011-04-27 18:30:37 +02:00
path.h Document that Path::simplifyPath() needs / as separators. 2011-06-29 21:44:53 +03:00
preprocessor.cpp Preprocessor: Don't report that there are missing system includes unless --debug-warnings has been given. 2011-05-15 09:38:13 +02:00
preprocessor.h Missing includes - normally just report that there are missing includes. The --check-includes can then be used to check what missing includes there are. Ticket: #2719 2011-05-02 14:58:16 +02:00
settings.cpp Fixed #2797 (Inline suppressions do not handle filenames correctly) 2011-06-29 20:23:39 +02:00
settings.h renamed --check-includes to --check-config 2011-05-02 21:28:33 +02:00
symboldatabase.cpp fix symbol database derived template class support 2011-06-29 19:52:07 -04:00
symboldatabase.h add array information to symbol database 2011-06-22 22:41:11 -04:00
timer.cpp Change year 2010 -> 2011 in license texts. 2011-01-09 21:33:36 +02:00
timer.h Change year 2010 -> 2011 in license texts. 2011-01-09 21:33:36 +02:00
token.cpp Fixed #2676 (setVarId: variables with global scope qualification :: don't get varids) 2011-04-18 06:56:39 +02:00
token.h Refactoring: add Token::isAssignmentOp and use it in CheckClass::checkConstFunc 2011-04-09 14:36:05 -04:00
tokenize.cpp Fix #2849, False positive: memory leak (using question mark operator) 2011-06-30 22:04:26 +03:00
tokenize.h fix #2864 (--errorlist missing errors: variableHidingTypedef and Extra qualification) 2011-06-28 21:46:54 -04:00