cppcheck/test
Pete Johns 502cfe7243 Fixed #2384 ("The function 's::f' can be const" reported for pointer-to-pointer)
Moved check for pointer variables into isVariableDeclaration()

Can now handle multiple scopes and multiple levels of indirection. Simplified check for strucs and unions, too, reducing the size of getVarList().

skipScopeIdentifiers() and skipPointers() should probably be methods on class Token.
2010-12-31 22:12:32 +11: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 Update test.pro for using base path for included pri files. 2010-12-18 17:07:20 +02:00
test.vcproj Visual Studio: updated project files with qmake 2010-12-19 07:51:34 +01:00
test.vcxproj Visual Studio: updated project files with qmake 2010-12-19 07:51:34 +01:00
test.vcxproj.filters Visual Studio: updated project files with qmake 2010-12-19 07:51:34 +01:00
testautovariables.cpp Improving 'Wrong assignment of auto variable' error message. 2010-12-04 09:55:20 +02:00
testbufferoverrun.cpp Fixed #2373 (Using XML2 in --errorlist output) 2010-12-29 12:43:29 +01:00
testcharvar.cpp Tokenizer: add assert(_settings) to Tokenizer to insure the tokenizer always has settings. Ticket: #2219 2010-12-01 18:00:55 +01:00
testclass.cpp Fixed #2384 ("The function 's::f' can be const" reported for pointer-to-pointer) 2010-12-31 22:12:32 +11:00
testcmdlineparser.cpp Add tests for remaining CLI options. 2010-12-04 14:13:44 +02:00
testconstructors.cpp Fixed #2172 (False positive: struct is not initialized in constructor) 2010-12-02 07:35:01 +01:00
testcppcheck.cpp Fixed some spelling mistakes 2010-12-15 18:45:53 +01:00
testdivision.cpp Tokenizer: add assert(_settings) to Tokenizer to insure the tokenizer always has settings. Ticket: #2219 2010-12-01 18:00:55 +01:00
testerrorlogger.cpp Add few tests for ErrorLogger. 2010-12-05 22:23:36 +02:00
testexceptionsafety.cpp Tokenizer: add assert(_settings) to Tokenizer to insure the tokenizer always has settings. Ticket: #2219 2010-12-01 18:00:55 +01:00
testfilelister_unix.cpp astyle formatting 2010-12-26 13:18:23 +01:00
testincompletestatement.cpp Tokenizer: add assert(_settings) to Tokenizer to insure the tokenizer always has settings. Ticket: #2219 2010-12-01 18:00:55 +01:00
testmathlib.cpp Added -Wconversion compiler flag. The ASSERT_EQUALS_DOUBLE was added that can be used when comparing double values. 2010-12-30 22:56:53 +01:00
testmemleak.cpp Fixed #2374 (False 'memory leak' report (assigning to map in subfunction)) 2010-12-29 22:18:23 +01:00
testnullpointer.cpp Fixed #2090 (False negative: null pointer dereference 's=0; strcpy(s,p);') 2010-12-26 19:29:58 +01:00
testobsoletefunctions.cpp Fixed #2334 (Internal class index function (no need to 'strchr')) 2010-12-20 18:13:26 +01:00
testoptions.cpp Removed static std::string. 2010-09-26 16:52:30 +10:00
testother.cpp Fixed #2382 (Catching exceptions by value instead of reference) 2010-12-31 03:01:38 -08:00
testpath.cpp Update tests after moving simplifyPath method to Path class. 2010-10-29 22:45:47 +03:00
testpostfixoperator.cpp Fixed #2321 (false positive: (performance) Prefer prefix ++/-- operators for non-primitive types.) 2010-12-30 14:27:32 +01:00
testpreprocessor.cpp test:testpreprocessor.cpp; fixed broken unit test due to wrong charcter encoding 2010-12-15 21:34:31 +01:00
testrunner.cpp Added `check` target. 2010-09-26 13:29:23 +10:00
testsettings.cpp Fixed #1919 (option '--suppressions file' can not work when filename includes colon) 2010-08-03 17:52:03 +02:00
testsimplifytokens.cpp Tokenizer: Better handling of duplicate enums. Ticket: #2381 2010-12-30 20:55:23 +01:00
teststl.cpp Improve message for container type range check. 2010-12-26 23:44:02 +02:00
testsuite.cpp Added -Wconversion compiler flag. The ASSERT_EQUALS_DOUBLE was added that can be used when comparing double values. 2010-12-30 22:56:53 +01:00
testsuite.h Added -Wconversion compiler flag. The ASSERT_EQUALS_DOUBLE was added that can be used when comparing double values. 2010-12-30 22:56:53 +01:00
testsymboldatabase.cpp Fixed #2384 ("The function 's::f' can be const" reported for pointer-to-pointer) 2010-12-31 22:12:32 +11:00
testthreadexecutor.cpp Fixed #1487 (fix gcc compiler warnings) 2010-08-06 21:02:43 +02:00
testtoken.cpp Refactoring following #2377 (Technically the member function xxx can be const) 2010-12-30 19:46:44 +11:00
testtokenize.cpp Fixed #2368 (assigned a value that is never used) 2010-12-27 20:49:07 +01:00
testuninitvar.cpp Uninitialized variables: typeof doesn't dereference. Ticket: #2367 2010-12-30 21:30:46 +01:00
testunusedfunctions.cpp Tokenizer: add assert(_settings) to Tokenizer to insure the tokenizer always has settings. Ticket: #2219 2010-12-01 18:00:55 +01:00
testunusedprivfunc.cpp Tokenizer: add assert(_settings) to Tokenizer to insure the tokenizer always has settings. Ticket: #2219 2010-12-01 18:00:55 +01:00
testunusedvar.cpp Fixed #2368 (assigned a value that is never used) 2010-12-27 20:49:07 +01:00
testutils.h Refactoring following #2377 (Technically the member function xxx can be const) 2010-12-30 19:46:44 +11:00