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
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
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
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
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
filelister.cpp
filelister.h
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_win32.h
lib.pri Don't use relative paths in lib.pri. 2010-12-18 17:03:46 +02:00
mathlib.cpp
mathlib.h removed the NOLONGLONG handling. it seems unlikely it is needed 2010-12-16 21:53:18 +01:00
path.cpp
path.h
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
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
timer.h
token.cpp
token.h
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