cppcheck/test
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
..
options.cpp Visual Studio: Fixed compiler error. It seems visual studio 2008 doesn't like 'not'. 2010-10-02 09:42:31 +02:00
options.h Added Doxygen commenting, per kimmov's request. 2010-09-26 19:15:14 +10:00
redirect.h Added Doxygen commenting, per kimmov's request. 2010-09-26 19:15:14 +10:00
test.cxx renamed gui/test.cpp to test/test.cxx 2010-02-19 07:21:16 +01:00
test.pro Revert "Remove the testsuppressions because it doesn't contain any unit tests. A testsuppressions would be nice if it was more specific. Ticket: #2748" 2011-05-03 10:18:05 +00:00
test.vcproj Revert "TestSuppressions: Updated Visual Studio project files" 2011-05-03 10:17:44 +00:00
test.vcxproj Revert "TestSuppressions: Updated Visual Studio project files" 2011-05-03 10:17:44 +00:00
test.vcxproj.filters Revert "TestSuppressions: Updated Visual Studio project files" 2011-05-03 10:17:44 +00:00
testautovariables.cpp fix #2765 (Non local address detected as address of local auto-variable) 2011-05-06 19:26:04 -04:00
testbufferoverrun.cpp Fixed #2841 (False positive: Array index out of bounds, can't compare ints to chars) 2011-06-29 18:44:05 +02:00
testcharvar.cpp Change year 2010 -> 2011 in license texts. 2011-01-09 21:33:36 +02:00
testclass.cpp fix #2878 (derived global class not tokenized properly (class A : ::B { };)) 2011-06-30 07:25:36 -04:00
testcmdlineparser.cpp Add test for --check-config. 2011-05-04 21:07:02 +03:00
testconstructors.cpp fix spelling of initialized in checkclass messages 2011-04-26 20:37:16 -04:00
testcppcheck.cpp Report percentage complete based on file size 2011-04-26 22:26:23 +12:00
testdivision.cpp Fixed #2526 (Make TODO_ASSERT_EQUALS take three arguments (value, to_be, as_is)?... 2011-01-30 23:20:11 +11:00
testerrorlogger.cpp ErrorLogger: Refactoring/fixing the serializer/deserializer for inconclusive messages 2011-04-16 13:42:48 +02:00
testexceptionsafety.cpp Fixed #2388 (Use throw without argument to rethrow exceptions) 2011-02-05 01:11:09 -08:00
testfilelister.cpp FileLister: don't assume that all files have nonzero size in test case 2011-04-27 07:38:53 +12:00
testincompletestatement.cpp Fixed #2655 (false positive: (warning) Redundant code: Found a statement that begins with numeric constant) 2011-03-30 21:57:01 +02:00
testmathlib.cpp scripts: added tabs.pl - in my opinion it is bad to use tabs inside string constants. spaces or \t should be used instead. 2011-02-05 12:53:28 +01:00
testmemleak.cpp Fix #2849, False positive: memory leak (using question mark operator) 2011-06-30 22:04:26 +03:00
testnullpointer.cpp Fix #2840, False positive: Null pointer dereference 2011-06-26 22:46:33 +03:00
testobsoletefunctions.cpp Obsolete functions: Fix messages for gethostbyaddr, gethostbyname 2011-04-07 00:33:54 +02:00
testoptions.cpp Removed static std::string. 2010-09-26 16:52:30 +10:00
testother.cpp fix #2786 (new check: Using sizeof with numeric constant) 2011-05-28 16:40:01 +08:00
testpath.cpp Remove './' at begin of path in Path::simplifyPath. 2011-03-29 20:53:18 +03:00
testpathmatch.cpp Allow to exclude filenames (with paths). 2011-02-03 14:43:42 +02:00
testpostfixoperator.cpp Fix #2847, cppcheck hangs with 100% cpu load 2011-06-22 14:09:42 +03:00
testpreprocessor.cpp Fixed #2782 (Segfault with #asm) 2011-05-11 19:27:19 +02:00
testrunner.cpp Change year 2010 -> 2011 in license texts. 2011-01-09 21:33:36 +02:00
testsettings.cpp Fixed #2797 (Inline suppressions do not handle filenames correctly) 2011-06-29 20:23:39 +02:00
testsimplifytokens.cpp Fix #2849, False positive: memory leak (using question mark operator) 2011-06-30 22:04:26 +03:00
teststl.cpp run astyle 2011-06-20 23:06:18 +02:00
testsuite.cpp Fixed #2526 (Make TODO_ASSERT_EQUALS take three arguments (value, to_be, as_is)?... 2011-01-30 23:20:11 +11:00
testsuite.h Report percentage complete based on file size 2011-04-26 22:26:23 +12:00
testsuppressions.cpp Fix testsuppressions for Windows builds for now, pending further refactoring 2011-05-03 10:41:52 +00:00
testsymboldatabase.cpp fix #2865 (segmentation fault of cppcheck ( char a[1] )) 2011-06-27 07:31:10 -04:00
testthreadexecutor.cpp Remove ErrorLogger::reportStatus() method. 2011-04-27 23:27:02 +03:00
testtoken.cpp Token: Added testcase for matching of %op% 2011-04-10 11:15:57 +02:00
testtokenize.cpp Fix #2849, False positive: memory leak (using question mark operator) 2011-06-30 22:04:26 +03:00
testuninitvar.cpp Fixed #2764 (False positive: Uninitialized variable '&(x[0])') 2011-05-05 21:26:18 +02:00
testunusedfunctions.cpp Change year 2010 -> 2011 in license texts. 2011-01-09 21:33:36 +02:00
testunusedprivfunc.cpp fix #2807 (Wrong handling of function references when prefixed with &) 2011-06-29 07:19:34 -04:00
testunusedvar.cpp Fixed #2805 (false positive: [NotAssigned1.cpp:5]: (style) Variable 'y' is not assigned a value) 2011-06-08 19:54:01 +02:00
testutils.h Change year 2010 -> 2011 in license texts. 2011-01-09 21:33:36 +02:00