cppcheck/lib
Edoardo Prezioso b2f8161862 Rewrite fix of ticket #3415 (Segmentation fault in new check for uninitialized variables):
new simplify: 'code ; ({ some_code ; });' to 'code ; some_code ;';
remove the sanity check in checkunusedvar, so when it crashes again it's easy to spot a bigger problem;
'internal' reported 'Token::Match' with simple pattern.

'Tokenizer::tokenize()' refactorings:
make one loop with many simple simplifications instead of many loops with one simplification.
some style changes.
2011-12-28 16:55:59 +01:00
..
check.h Reverted previous commit. There are testrunner problems when the code is removed. 2011-11-19 15:14:45 +01:00
check64bit.cpp code cleanups and refactorings 2011-11-26 21:15:16 +01:00
check64bit.h Check64BitPortability: Wiki formatting update 2011-12-10 18:41:09 +01:00
checkassignif.cpp Code cleanup 2011-12-09 21:00:57 +01:00
checkassignif.h Fixed Visual Studio compiler warnings 2011-12-01 18:32:14 +01:00
checkautovariables.cpp astyle formatting 2011-12-26 07:58:02 +01:00
checkautovariables.h Remove unnecessary includes 2011-12-23 23:31:48 +02:00
checkboost.cpp Remove unnecessary includes 2011-12-23 23:31:48 +02:00
checkboost.h Fixed #3232 (Check if container is modified inside BOOST_FOREACH) 2011-10-23 13:07:43 +02:00
checkbufferoverrun.cpp Remove unnecessary includes 2011-12-23 23:31:48 +02:00
checkbufferoverrun.h Fixed #3168 (false negative: buffer overflow in subfunction) 2011-12-11 08:16:58 +01:00
checkclass.cpp Remove unnecessary includes 2011-12-23 23:31:48 +02:00
checkclass.h Remove unnecessary includes 2011-12-23 23:31:48 +02:00
checkexceptionsafety.cpp Fixed #3422 (Internal error in exceptRethrowCopy check) 2011-12-17 20:00:15 +01:00
checkexceptionsafety.h changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
checkinternal.cpp Conforming style: always use 'std::' namespace where needed. This removes the mixing style inside the code. 2011-11-07 00:54:00 +01:00
checkinternal.h --doc : don't write internal checks in the doc output 2011-12-10 18:39:25 +01:00
checkmemoryleak.cpp Removed debug variables 2011-12-27 09:27:46 +01:00
checkmemoryleak.h checkmemleak.h: use Tokenizer::isJavaOrCSharp() 2011-12-27 18:01:39 +01:00
checknonreentrantfunctions.cpp checkMathFunctions: Refactoring the check 2011-10-22 12:31:47 +02:00
checknonreentrantfunctions.h Fix #3243 (Improve non reentrant function check) 2011-10-22 11:54:52 +02:00
checknullpointer.cpp CheckNullPointer: Use Tokenizer::IsScopeNoReturn 2011-12-28 08:17:58 +01:00
checknullpointer.h Fixed #3443 (false positives: possible null pointer dereference (calling unknown function)) 2011-12-25 17:01:45 +01:00
checkobsoletefunctions.cpp Change every 'tokAt(1)' to 'next()' and every 'tokAt(-1)' to 'previous()'. 2011-11-20 15:59:37 +01:00
checkobsoletefunctions.h Remove unnecessary includes 2011-12-23 23:31:48 +02:00
checkother.cpp Comparing bool with int: Fixed false positives 2011-12-23 19:11:51 +01:00
checkother.h Fixed #3327 (printf with std::string as parameter) 2011-12-18 19:41:21 +01:00
checkpostfixoperator.cpp Change: 'next()->next()'->'tokAt(2)', 'previous()->previous()'->'tokAt(-2)'. 2011-11-12 22:33:03 +01:00
checkpostfixoperator.h changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
checkstl.cpp STL: Fixed false positive when using string::find 2011-12-27 11:02:43 +01:00
checkstl.h Patch that improves STL checking: Make use of SymbolDatabase, solved TODO (about returning .c_str() value), check for deleting iterators by value. 2011-12-17 11:21:34 +01:00
checkuninitvar.cpp Rewrite fix of ticket #3415 (Segmentation fault in new check for uninitialized variables): 2011-12-28 16:55:59 +01:00
checkuninitvar.h Uninitialized variables: Better handling of variable usage in condition 2011-12-26 18:56:40 +01:00
checkunusedfunctions.cpp Fixed #3336 (False positive: Member function is not used (used by template function)) 2011-12-03 12:19:26 +01:00
checkunusedfunctions.h Fixed #3336 (False positive: Member function is not used (used by template function)) 2011-12-03 12:19:26 +01:00
checkunusedvar.cpp Fixed #3438 (false positive: (style) Variable 'dBuf' is not assigned a value) 2011-12-26 08:12:23 +01:00
checkunusedvar.h Refactorized CheckUnusedVar 2011-12-18 20:15:41 +01:00
cppcheck.cpp 1.52: Updated version 2011-12-10 12:55:40 +01:00
cppcheck.h Remove unnecessary includes 2011-12-23 23:31:48 +02:00
errorlogger.cpp changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
errorlogger.h Remove unnecessary includes 2011-12-23 23:31:48 +02:00
executionpath.cpp Refactorizations for executionpath.cpp (rearranged code, added some else before if) 2011-12-17 11:26:20 +01:00
executionpath.h Add more warnings and fix the ones reported by them. 2011-10-22 15:05:43 +02:00
lib.pri Add check for cppcheck's internal API usage (#3263) 2011-10-28 22:46:07 +02:00
mathlib.cpp Remove unnecessary includes 2011-12-23 23:31:48 +02:00
mathlib.h changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
path.cpp code cleanups and refactorings 2011-11-26 21:02:04 +01:00
path.h code cleanups and refactorings 2011-11-26 21:02:04 +01:00
pcrerules.pri Complete 'disable the rules by default' for other platforms. 2011-10-19 15:14:39 +02:00
preprocessor.cpp Remove unnecessary includes 2011-12-23 23:31:48 +02:00
preprocessor.h Preprocessor: Bailout #include if it is recursive 2011-10-30 19:00:11 +01:00
settings.cpp support any number of --append=<file> options 2011-11-15 19:27:36 +01:00
settings.h Solution for ticket #3353 'Allow explicit undef's for configuration' 2011-11-30 20:24:01 +01:00
standards.h Add newline at end of file! 2011-10-31 15:12:29 +01:00
suppressions.cpp Remove unnecessary includes 2011-12-23 23:31:48 +02:00
suppressions.h changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
symboldatabase.cpp Fixed #3435 (False positive: (warning) Member variable 'A::m_Vec' is not initialized in the constructor.) 2011-12-25 11:05:06 +01:00
symboldatabase.h Improved support for references and pointers in SymbolDatabase 2011-12-17 19:04:03 +01:00
timer.cpp changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
timer.h changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
token.cpp Fixed #3425 (False positive: Null pointer dereference (pointer is checked in macro)) 2011-12-18 13:33:23 +01:00
token.h Fixed #3425 (False positive: Null pointer dereference (pointer is checked in macro)) 2011-12-18 13:33:23 +01:00
tokenize.cpp Rewrite fix of ticket #3415 (Segmentation fault in new check for uninitialized variables): 2011-12-28 16:55:59 +01:00
tokenize.h tokenizer: proper checks for Java and C# 2011-12-27 18:01:39 +01:00