Commit Graph

13 Commits

Author SHA1 Message Date
Reijo Tomperi 2f27bf09b8 cppcheck and executor, fixed compiling error 2008-12-06 09:27:28 +00:00
Daniel Marjamäki 6d7a0e65b3 refactoring: Increased constness of function parameters 2008-12-06 07:40:13 +00:00
Daniel Marjamäki a07c1745c3 Verbose error message output through '--verbose' 2008-11-30 09:08:07 +00:00
Reijo Tomperi 69ba8ce7f9 Feature added: CppCheck class has now function addFile(string,string) which allows checking of unreal files, by giving just filename and file content as a
parameter.
2008-11-25 20:56:11 +00:00
Reijo Tomperi bf0bf3268d Refactoring: Added missing license texts and some comments 2008-11-24 22:10:48 +00:00
Reijo Tomperi ad5fbe5dc6 Refactoring: CppCheckExecutor class added 2008-11-24 21:50:20 +00:00
Reijo Tomperi 895b1d5561 Refactoring: Started making CppCheck class more generally usable (e.g. as a part of IDE). 2008-11-23 22:01:09 +00:00
Reijo Tomperi 29a1468523 Refactoring: Renamed some member variables: variable -> _variable 2008-11-23 11:08:07 +00:00
Daniel Marjamäki 0c9784fc0c Refactoring: The Tokenizer::FillFunctionList has no use of its parameter. Enabled the CheckFunctionUsage 2008-11-23 06:21:44 +00:00
Daniel Marjamäki 07b5ebe72b Check Function Usage: Removed much of the old checking and made some refactoring 2008-11-22 19:39:12 +00:00
Reijo Tomperi 51e9d98a5f Refactoring: Errors are no longer logged via global functions to a global stream. Instead callback function is used via interface.
ErrorLogger interface was added and taken into use.
2008-11-20 22:19:26 +00:00
Reijo Tomperi 08b25dc0d4 Refactoring: Global/Static variables, FunctionList, GlobalFunctions and UsedGlobalFunctions are now private members of Tokenizer class.
Class GlobalFunction is now private subclass of Tokenizer. 
Global functions CheckGlobalFunctionUsage, FillFunctionList and GetFunctionTokenByName are now member functions of Tokenizer.
2008-11-15 22:41:56 +00:00
Reijo Tomperi 403017de99 Refactoring: New classes CppCheck and Settings. Code from main.cpp was moved to cppcheck.cpp 2008-11-14 22:26:38 +00:00