cppcheck/lib
PKEuS 35d94c26d5 Changed creation of SymbolDatabase. Database always created after Tokenizer::tokenize() and Tokenizer::simplifyTokenList() instead of on-demand creation by Tokenizer::getSymbolDatabase.
-> With Token::scope() it is possible to access the symboldatabase without having to call getSymbolDatabase(). The change increases safety because it is guaranteed that the database is available in all checks, even if the specific check doesn't call getSymbolDatabase
- Tokenizer::_symbolDatabase does no longer have to be mutable -> Increased const correctness

The change above required two additional changes:
- A bug causing a debug message was fixed in the symboldatabase that became visible in the test suite by the change above.
- Simplify expressions like "struct struct Foo" which might be result of typedef instanciation.
2012-08-12 03:01:24 -07:00
..
check.h Implemented support for building cppcheck lib into a dll 2012-06-10 05:19:09 -07:00
check64bit.cpp Message refactorization: check64bit.cpp 2012-07-08 02:38:58 -07:00
check64bit.h Refactorizations: 2012-08-02 09:50:48 -07:00
checkassignif.cpp Message refactorization: checkassignif.cpp, checkautovariables.cpp 2012-07-07 11:31:18 -07:00
checkassignif.h Refactorizations: 2012-08-02 09:50:48 -07:00
checkautovariables.cpp Auto variables: Speedup my fix. Use the symbol database instead of Token::findmatch. 2012-07-19 16:42:56 +02:00
checkautovariables.h Refactorizations: 2012-08-02 09:50:48 -07:00
checkboost.cpp Clarified errormessage of checkBoost 2012-08-02 02:40:08 -07:00
checkboost.h Refactorizations: 2012-08-02 09:50:48 -07:00
checkbufferoverrun.cpp Change every C version of 'size_t' to C++ 'std::size_t'. 2012-07-09 13:30:18 +02:00
checkbufferoverrun.h Refactorizations: 2012-08-02 09:50:48 -07:00
checkclass.cpp Refactorizations: 2012-08-02 09:50:48 -07:00
checkclass.h Refactorizations: 2012-08-02 09:50:48 -07:00
checkexceptionsafety.cpp Fixed #3858 (Throw exception in destructor BUT inside a try-catch shouldn't be reported) 2012-06-17 14:33:18 +02:00
checkexceptionsafety.h Refactorizations: 2012-08-02 09:50:48 -07:00
checkinternal.cpp Spelling fixes. 2012-07-21 18:11:20 +02:00
checkinternal.h Refactorizations: 2012-08-02 09:50:48 -07:00
checkio.cpp Fixed false positives on FILE* arrays. (#3965) 2012-07-29 04:04:12 -07:00
checkio.h Refactorizations: 2012-08-02 09:50:48 -07:00
checkleakautovar.cpp Fixed #3954 (Pointer reference memory leak false positive) 2012-07-17 16:28:34 +02:00
checkleakautovar.h Refactorizations: 2012-08-02 09:50:48 -07:00
checkmemoryleak.cpp Fixed #3695 (False positive: memory leak (ptr?free(ptr):0)) 2012-07-27 12:25:20 +02:00
checkmemoryleak.h Refactorizations: 2012-08-02 09:50:48 -07:00
checknonreentrantfunctions.cpp Update year to 2012 2012-01-01 01:05:37 +02:00
checknonreentrantfunctions.h Refactorizations: 2012-08-02 09:50:48 -07:00
checknullpointer.cpp Refactorizations in checknullpointer.cpp: 2012-08-05 02:07:38 -07:00
checknullpointer.h Refactorizations in checknullpointer.cpp: 2012-08-05 02:07:38 -07:00
checkobsoletefunctions.cpp Update year to 2012 2012-01-01 01:05:37 +02:00
checkobsoletefunctions.h Refactorizations: 2012-08-02 09:50:48 -07:00
checkother.cpp More robust template detection in clarifyCondition check based on Token::link. (#3818) 2012-08-02 04:03:01 -07:00
checkother.h Refactorizations: 2012-08-02 09:50:48 -07:00
checkpostfixoperator.cpp Refactorization: 2012-06-08 09:05:02 -07:00
checkpostfixoperator.h Refactorizations: 2012-08-02 09:50:48 -07:00
checkstl.cpp Fixed false positive #4032 2012-08-10 06:26:07 -07:00
checkstl.h Refactorizations: 2012-08-02 09:50:48 -07:00
checkuninitvar.cpp Uninitialized variables: Fixed false positive when there is assignment in condition 2012-07-17 07:03:40 +02:00
checkuninitvar.h Refactorizations: 2012-08-02 09:50:48 -07:00
checkunusedfunctions.cpp Removed bailouts in CheckClass::privateFunctions and CheckUnusedFunctions when checking code with templates (unnecessary after 2c10e9a6ca) 2012-07-29 08:05:54 -07:00
checkunusedfunctions.h Refactorizations: 2012-08-02 09:50:48 -07:00
checkunusedvar.cpp Small refactorizations in checkunusedvar.cpp: 2012-08-10 03:36:08 -07:00
checkunusedvar.h Refactorizations: 2012-08-02 09:50:48 -07:00
config.h Get rid of a warning 2012-06-16 06:34:18 +02:00
cppcheck.cpp Fixed cppcheck messagesa about functions that can be const/static: 2012-08-01 12:04:47 -07:00
cppcheck.h Change every C version of 'size_t' to C++ 'std::size_t'. 2012-07-09 13:30:18 +02:00
cppcheck.vcxproj Renamed target name in VS10 solution for cppcheck lib to cppcheck-core. This fixes the failure when _re_building cppcheck. 2012-07-09 10:21:19 -07:00
cppcheck.vcxproj.filters Implemented support for building cppcheck lib into a dll 2012-06-10 05:19:09 -07:00
errorlogger.cpp Fixed #3442 (unmatchedSuppression can't be suppressed) 2012-07-13 08:29:49 +02:00
errorlogger.h ErrorLogger: Throw InternalError if given severity is not handled 2012-08-10 12:43:53 +02:00
executionpath.cpp Fixed another memory leak in executionpath.cpp 2012-03-31 15:03:11 +02:00
executionpath.h Implemented support for building cppcheck lib into a dll 2012-06-10 05:19:09 -07:00
lib.pri Update Makefile. 2012-06-11 22:16:12 +03:00
mathlib.cpp Fixed #3747 (False 'boolean result in bitwise' message with 'mask' enums) 2012-05-16 18:48:33 +02:00
mathlib.h Implemented support for building cppcheck lib into a dll 2012-06-10 05:19:09 -07:00
path.cpp fixed wrong spelled words in comments. No function change. 2012-05-05 15:21:27 +02:00
path.h Implemented support for building cppcheck lib into a dll 2012-06-10 05:19:09 -07:00
pcrerules.pri Complete 'disable the rules by default' for other platforms. 2011-10-19 15:14:39 +02:00
preprocessor.cpp Preprocessor: Reduce simplifyVarMap usage to make Cppcheck a bit faster 2012-07-27 12:30:43 +02:00
preprocessor.h Fixed #3834 (Preprocessor: -U doesn't work) 2012-07-18 20:57:00 +02:00
settings.cpp Change every C version of 'size_t' to C++ 'std::size_t'. 2012-07-09 13:30:18 +02:00
settings.h Implemented support for building cppcheck lib into a dll 2012-06-10 05:19:09 -07:00
standards.h Fixed #3445 (Problems with lib/standards.h) 2012-01-02 13:36:17 +01:00
suppressions.cpp Refactorizations: 2012-07-24 12:21:05 -07:00
suppressions.h Implemented support for building cppcheck lib into a dll 2012-06-10 05:19:09 -07:00
symboldatabase.cpp Changed creation of SymbolDatabase. Database always created after Tokenizer::tokenize() and Tokenizer::simplifyTokenList() instead of on-demand creation by Tokenizer::getSymbolDatabase. 2012-08-12 03:01:24 -07:00
symboldatabase.h spelling fixes 2012-07-31 23:35:56 +02:00
templatesimplifier.cpp TemplateSimplifier: Improved handling of unknown inner template instantiation inside template instantiation (#3818) 2012-08-09 17:19:36 +02:00
templatesimplifier.h TemplateSimplifier: Removed unused function 2012-07-29 16:14:26 +02:00
timer.cpp Changed the order of some structures in order to improve, even if for a bit, their padding. 2012-05-14 20:49:03 +02:00
timer.h Implemented support for building cppcheck lib into a dll 2012-06-10 05:19:09 -07:00
token.cpp Added Pointer to enclosing scope to class Token (Only available when symboldatabase is created). 2012-08-11 11:47:11 -07:00
token.h Added Pointer to enclosing scope to class Token (Only available when symboldatabase is created). 2012-08-11 11:47:11 -07:00
tokenize.cpp Changed creation of SymbolDatabase. Database always created after Tokenizer::tokenize() and Tokenizer::simplifyTokenList() instead of on-demand creation by Tokenizer::getSymbolDatabase. 2012-08-12 03:01:24 -07:00
tokenize.h Changed creation of SymbolDatabase. Database always created after Tokenizer::tokenize() and Tokenizer::simplifyTokenList() instead of on-demand creation by Tokenizer::getSymbolDatabase. 2012-08-12 03:01:24 -07:00
tokenlist.cpp Refactorizations in ErrorLogger: 2012-05-06 01:17:15 -07:00
tokenlist.h Implemented support for building cppcheck lib into a dll 2012-06-10 05:19:09 -07:00