cppcheck/lib
Pete Johns 2e61736c73 Refactoring following #2377 (Technically the member function xxx can be const)
symboldatabase now recognises variables with arbitrarily many scopes.

Extracted method isVariableDeclaration()

Added unit tests for isVariableDeclaration in new file testsymboldatabase.cpp

Extracted givenACodeSampleToTokenize helper class into testutils.h to reduce duplication.
2010-12-30 19:46:44 +11:00
..
check.h Fixed #2373 (Using XML2 in --errorlist output) 2010-12-29 12:43:29 +01:00
checkautovariables.cpp Improving 'Wrong assignment of auto variable' error message. 2010-12-04 09:55:20 +02:00
checkautovariables.h Fixed #2373 (Using XML2 in --errorlist output) 2010-12-29 12:43:29 +01:00
checkbufferoverrun.cpp Fixed #2370 (false negative: Buffer access out-of-bounds (for with if, no break)) 2010-12-28 20:46:31 +01:00
checkbufferoverrun.h Fixed #2373 (Using XML2 in --errorlist output) 2010-12-29 12:43:29 +01:00
checkclass.cpp Improve the message about const function. 2010-12-26 23:44:03 +02:00
checkclass.h Fixed #2373 (Using XML2 in --errorlist output) 2010-12-29 12:43:29 +01:00
checkexceptionsafety.cpp Exception safety: Removed the noisy checks and keep the useful checks 2010-08-31 22:22:59 +02:00
checkexceptionsafety.h Fixed #2373 (Using XML2 in --errorlist output) 2010-12-29 12:43:29 +01:00
checkmemoryleak.cpp Fixed #2374 (False 'memory leak' report (assigning to map in subfunction)) 2010-12-29 22:18:23 +01:00
checkmemoryleak.h Fixed #2373 (Using XML2 in --errorlist output) 2010-12-29 12:43:29 +01:00
checknullpointer.cpp Fixed #2090 (False negative: null pointer dereference 's=0; strcpy(s,p);') 2010-12-26 19:29:58 +01:00
checknullpointer.h Fixed #2373 (Using XML2 in --errorlist output) 2010-12-29 12:43:29 +01:00
checkobsoletefunctions.cpp Tokenizer: Added function for checking if code is Java/C# 2010-10-28 18:51:55 +02:00
checkobsoletefunctions.h Fixed #2373 (Using XML2 in --errorlist output) 2010-12-29 12:43:29 +01:00
checkother.cpp Fixed #2372 (internal error in logicaloperator check (varid=0)) 2010-12-29 10:07:28 +01:00
checkother.h Fixed #2373 (Using XML2 in --errorlist output) 2010-12-29 12:43:29 +01:00
checkpostfixoperator.cpp Remove extra space from error message. 2010-11-27 20:54:02 +02:00
checkpostfixoperator.h Fixed #2373 (Using XML2 in --errorlist output) 2010-12-29 12:43:29 +01:00
checkstl.cpp Improve message for container type range check. 2010-12-26 23:44:02 +02:00
checkstl.h Fixed #2373 (Using XML2 in --errorlist output) 2010-12-29 12:43:29 +01:00
checkuninitvar.cpp Fixed #2367 (false positive: (error) Uninitialized variable: s) 2010-12-27 21:19:10 +01:00
checkuninitvar.h Fixed #2373 (Using XML2 in --errorlist output) 2010-12-29 12:43:29 +01:00
checkunusedfunctions.cpp Fixed some spelling mistakes 2010-12-15 18:45:53 +01:00
checkunusedfunctions.h Fixed #2373 (Using XML2 in --errorlist output) 2010-12-29 12:43:29 +01:00
cppcheck.cpp Fixed #2373 (Using XML2 in --errorlist output) 2010-12-29 12:43:29 +01:00
cppcheck.h Fixed some spelling mistakes 2010-12-15 18:45:53 +01:00
errorlogger.cpp Fixed #2349 (Empty 'msg' in output when using '-j') 2010-12-24 11:13:57 +01:00
errorlogger.h Information: Added new severity 2010-12-22 19:53:17 +01:00
executionpath.cpp Fixed #2350 (false positive: possible null pointer dereference) 2010-12-26 13:38:16 +01:00
executionpath.h Fixed #2125 (uninitialized variable: better handling of for loops) 2010-10-24 18:12:48 +02:00
filelister.cpp Fixed #2181 (How can I select the extension of the files to check?) 2010-11-09 19:20:31 +01:00
filelister.h FileLister: minor cleanup 2010-11-09 19:11:43 +01:00
filelister_unix.cpp Fixed Linux build. 2010-12-26 23:08:51 +11:00
filelister_unix.h Fixed #2344 (FileLister Unix: Don't convert to absolute paths) 2010-12-22 21:01:51 +01:00
filelister_win32.cpp FileLister: fixed compiler errors in win32. accept all files given by user. 2010-11-09 19:32:11 +01:00
filelister_win32.h FileLister: minor cleanup 2010-11-09 19:11:43 +01:00
lib.pri Don't use relative paths in lib.pri. 2010-12-18 17:03:46 +02:00
mathlib.cpp gcc: fixed compiler warnings 2010-11-21 11:06:28 +01:00
mathlib.h removed the NOLONGLONG handling. it seems unlikely it is needed 2010-12-16 21:53:18 +01:00
path.cpp Move simplifyPath method from FileLister to Path class. 2010-10-29 22:21:27 +03:00
path.h Move simplifyPath method from FileLister to Path class. 2010-10-29 22:21:27 +03:00
preprocessor.cpp Fixed #2373 (Using XML2 in --errorlist output) 2010-12-29 12:43:29 +01:00
preprocessor.h Fixed #2373 (Using XML2 in --errorlist output) 2010-12-29 12:43:29 +01:00
settings.cpp xml2: replace --xml2 with --xmlver=2. Ticket: #2106 2010-12-02 17:32:51 +01:00
settings.h Fixed some spelling mistakes 2010-12-15 18:45:53 +01:00
symboldatabase.cpp Refactoring following #2377 (Technically the member function xxx can be const) 2010-12-30 19:46:44 +11:00
symboldatabase.h Refactoring following #2377 (Technically the member function xxx can be const) 2010-12-30 19:46:44 +11:00
timer.cpp Set encoding to UTF-8 for some files. 2010-09-06 22:39:02 +03:00
timer.h Move timer code to own cpp/h files. 2010-08-31 23:18:07 +03:00
token.cpp Fixed #2105 (Incorrect operator: mutual exclusion over ||) 2010-10-24 18:14:21 -07:00
token.h Fixed #2105 (Incorrect operator: mutual exclusion over ||) 2010-10-24 18:14:21 -07:00
tokenize.cpp simplifyTypedef: Better handling of 'typedef int RexxFunctionHandler();'. Ticket: #2348 2010-12-29 20:25:47 +01:00
tokenize.h Fixed #2373 (Using XML2 in --errorlist output) 2010-12-29 12:43:29 +01:00