Commit Graph

533 Commits

Author SHA1 Message Date
Reijo Tomperi 237dc98ea5 Added test file for TOKEN class 2008-12-09 18:13:38 +00:00
Daniel Marjamäki 1a5d694834 testclass : Added a new unit testing file 2008-12-06 18:31:26 +00:00
Reijo Tomperi ad5fbe5dc6 Refactoring: CppCheckExecutor class added 2008-11-24 21:50:20 +00:00
Reijo Tomperi beee37c86b Refactoring: Updated makefile to be more up-to-date after big refactoring changes. 2008-11-23 20:12:43 +00:00
Daniel Marjamäki ce14eb6590 Function Usage: Make sure it's detected that func is used in code such as 'if ( func() ) { ..' 2008-11-23 11:40:41 +00:00
Reijo Tomperi 3ba83b6620 Refactoring: token.* files added, Some functions from Tokenizer moved under TOKEN. Renamed few functions, like gettok() -> at(), combineWithNext() and deleteNext() are also new
names for old functions. Usage was gettok( tok, 2 ), but now it is tok->at( 2 ).
2008-11-22 22:49:14 +00:00
Daniel Marjamäki 6687bc7b9a Function Usage: Added a new class for checking function usage 2008-11-22 18:51:01 +00:00
Reijo Tomperi 125692bc65 Refactoring: CommonCheck.* files are removed. Rest of the global functions from there were moved to Tokenizer class 2008-11-21 21:14:24 +00:00
Daniel Marjamäki 1801f25bce Simplify Tokens: Replace NULL with 0 and '(char *)0' with '0' 2008-11-15 16:27:09 +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
Reijo Tomperi 1c9bf8cabd Make: New improved makefile 2008-11-13 20:48:25 +00:00
Reijo Tomperi f242c4fddd Refactoring: Following new classes were created:
CheckBufferOverrunClass
CheckClass
CheckHeaders
CheckMemoryLeakClass
CheckOther
Preprocessor
2008-11-11 06:42:09 +00:00
Daniel Marjamäki 15e9f4ae25 Unused private function: Added test 2008-11-08 13:14:16 +00:00
Daniel Marjamäki 69a3595f19 cleanup of UTF-8. Updated the Makefile 2008-11-06 00:11:37 +00:00
Daniel Marjamäki f25de185b4 File Listing: New handling of listing files. (Bug 2194949) 2008-11-03 18:52:39 +00:00
Daniel Marjamäki 0185f32bee Makefile: Applied changes suggested by Reijo 2008-11-01 17:12:05 +00:00
Daniel Marjamäki cde8e89987 preprocessor: Added new preprocessor. Only used in the tests yet. 2008-10-26 10:54:20 +00:00
Daniel Marjamäki 30e1d5c06e CheckIncompleteStatement: Fixed false positive generated by CheckIncompleteStatement (bug 2187837) 2008-10-23 17:45:24 +00:00
Daniel Marjamäki b235c373a5 testing: Various fixes to make the tests compile without warnings/errors 2008-10-16 17:22:26 +00:00
Daniel Marjamäki 534445951c testunusedvar: Added simple testing for unused variables 2008-09-24 11:28:00 +00:00
Daniel Marjamäki 778410ccbf char variable usage: Added checking 2008-08-28 06:36:30 +00:00
Daniel Marjamäki fd4e8b7345 testing: added 'testconstructors' 2008-08-24 06:47:33 +00:00
Daniel Marjamäki 47d796519a test: Added 'testdivision' 2008-08-23 16:40:53 +00:00
Daniel Marjamäki 8c901694b8 testing: Added 'testbufferoverrun' 2008-08-23 14:12:08 +00:00
Daniel Marjamäki 61242571dd testing: Started using the MiniCppUnit framework 2008-08-21 17:32:34 +00:00
Daniel Marjamäki 72a1f746b8 Makefile: Removed Statements 2008-04-06 09:47:25 +00:00
Daniel Marjamäki 4cb3c7b96b Unit Testing: Start 2008-02-16 15:46:32 +00:00
Daniel Marjamäki ade2265ed2 Minor modifications to make it compile on linux 2007-07-18 06:37:37 +00:00
Daniel Marjamäki 7ea6e10f1f Minor updates to make it easier to port to Linux 2007-07-17 06:39:34 +00:00
Daniel Marjamäki ba13ad5e3c Minor updates to make it portable to Linux. 2007-07-17 06:15:50 +00:00
Daniel Marjamäki 7b7650ad97 Makefile: Updated because the program has been split up into several files. 2007-05-26 06:42:31 +00:00
Daniel Marjamäki 8ccc97a22e Updated the Makefile. The name of this project has changed from 'codecheck' to 'cppcheck' 2007-05-15 11:19:22 +00:00
Daniel Marjamäki 507c9f9f64 Added files from local repository. 2007-05-07 17:31:35 +00:00