Commit Graph

19318 Commits

Author SHA1 Message Date
Daniel Marjamäki 18efbaf433 preprocessor: Added tests test3, test4, test5 and if1 2008-10-29 17:20:56 +00:00
Daniel Marjamäki 0ffa0b13d8 preprocessor: Fixed tests 2008-10-29 08:08:46 +00:00
Daniel Marjamäki c9fa509591 preprocessor: updated the tests. They are now failing. 2008-10-28 19:08:05 +00:00
Daniel Marjamäki ed646d15be cleanup 2008-10-28 04:19:18 +00:00
Daniel Marjamäki 4698ae19c6 preprocessor: refactoring the preprocessor and added TestPreprocessor::if0 2008-10-27 19:02:49 +00:00
Daniel Marjamäki 5e25e706ea preprocessor: Refactoring 2008-10-27 07:47:48 +00:00
Daniel Marjamäki ccab3e3bb4 C++ Builder: Added the preprocessor files to testrunner.cbproj 2008-10-27 07:46:45 +00:00
Daniel Marjamäki 96bea619bf preprocessor: Remove comments 2008-10-26 16:29:12 +00:00
Daniel Marjamäki 6390873a09 preprocessor: refactoring 2008-10-26 15:36:52 +00:00
Daniel Marjamäki 3f80b27c43 preprocessor: quick fix to make the TestPreprocessor::test1 work 2008-10-26 14:11:21 +00:00
Daniel Marjamäki f792bf4a0d preprocessor: Created a simple test. But it fails currently. 2008-10-26 12:19:19 +00:00
Daniel Marjamäki 69e5e09581 Testing: Only run tests in a specified class 2008-10-26 11:11:26 +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 5b9aa96aba Licensing: Using the GPL 3 license 2008-10-26 07:55:15 +00:00
Daniel Marjamäki 4f096f6c07 Usage of Global functions: Only checked if "--all" is given. Show progress. 2008-10-25 17:54:04 +00:00
Daniel Marjamäki 2eb775e536 Reverted [352] it's not a good fix 2008-10-25 17:06:27 +00:00
Daniel Marjamäki de71095e82 CheckMemoryLeak: Fixed bug 2190219 - False positive, Mismatching allocation and deallocation 2008-10-25 16:47:51 +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 bacc402d04 CheckClass: Minor fix to make it compile in Visual c++ 2008-10-21 08:47:26 +00:00
Daniel Marjamäki 69700da5e1 CheckConstructors: Handle recursion better. Don't hang. 2008-10-19 15:21:18 +00:00
Daniel Marjamäki 65da6b3cd7 Memory Leak: Better checking of mismatching alloc and dealloc for gtk 2008-10-19 15:20:31 +00:00
Daniel Marjamäki f4319a865f Memory Leak: Fixed false positive 2008-10-19 07:23:06 +00:00
Daniel Marjamäki 0658d65a7b tokenize: Fixed possible endless loop problem when handling typedefs 2008-10-19 06:21:01 +00:00
Daniel Marjamäki d839fcb5ba Memory Leak: Better checking of memory leaks in gtk applications 2008-10-18 17:43:07 +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 fb5707b73e MemoryLeak: Minor fix to reduce false positives 2008-10-16 16:26:29 +00:00
Daniel Marjamäki 7e18a2f689 MemoryLeak: minor updates 2008-10-15 07:04:32 +00:00
Daniel Marjamäki 1978ac3562 Testing: Added macro 'REGISTER_TEST' 2008-10-15 06:48:18 +00:00
Daniel Marjamäki d330eb197a Testing: Updated the testing to the new test framework 2008-10-13 06:42:40 +00:00
Daniel Marjamäki 26549bf916 testing: Removed MiniCppUnit 2008-10-12 17:32:56 +00:00
Daniel Marjamäki b5706fc546 testing: Added a new unit testing framework 2008-10-12 17:31:04 +00:00
Daniel Marjamäki f01ab43eed testmemleak: preparing to add checks of function calls 2008-10-08 07:01:25 +00:00
Daniel Marjamäki b2b3e48ebc Unsigned division: Checking if negative constant is used 2008-10-06 16:42:42 +00:00
Daniel Marjamäki 3d14bbea56 TestDivision: Added two tests of unsigned division when negative constant is used. 2008-10-06 08:52:46 +00:00
Daniel Marjamäki 5115420809 CheckUnsignedDivision: Made it more accurate and moved it to the
standard checks
2008-10-04 12:12:24 +00:00
Daniel Marjamäki c9fc2594e8 CheckMemoryLeak: Removed false positives about not deleting class instances 2008-09-29 06:38:25 +00:00
Daniel Marjamäki 13f5196e52 cppcheck: removed checking of implementation in header. temporarily
commented out the check for variable scope. These changes were made so 
that fewer warning messages will be produced when running c++check
2008-09-24 14:01:45 +00:00
Daniel Marjamäki 534445951c testunusedvar: Added simple testing for unused variables 2008-09-24 11:28:00 +00:00
Daniel Marjamäki 6881a364a2 CheckOther: Minor updates. Removed false positives for CheckScope 2008-09-23 16:03:39 +00:00
Daniel Marjamäki 815dd364ed Incomplete statement: Check for statements that begin with a constant 2008-09-20 17:34:37 +00:00
Daniel Marjamäki c77b81fddd CheckOther: Minor updates in checking of signed char variables and unsigned division 2008-09-16 05:57:57 +00:00
Daniel Marjamäki 528deafe68 CheckUnsignedDivision: Refactoring 2008-09-15 06:40:26 +00:00
Daniel Marjamäki 259e0ce238 tokenize: Fixed a bug in the tokenizer 2008-09-11 18:37:36 +00:00
Daniel Marjamäki ca0f04b825 visual c++: added "--recursive" support 2008-09-11 18:35:08 +00:00
Daniel Marjamäki 5e9f1010ff compilation: Various cross compilation fixes. The "--recursive" option doesn't work on VC now. 2008-09-11 17:03:58 +00:00
Daniel Marjamäki ffb6e1dc6e compilation: hopefully the program should be compilable on VC now 2008-09-10 18:15:33 +00:00
Daniel Marjamäki d942092ac0 memleak: better handling of switch blocks 2008-09-02 07:54:10 +00:00
Daniel Marjamäki deca59aa86 testmemleak: added checks for class members 2008-09-01 06:38:41 +00:00
Daniel Marjamäki aba1ef0d0e memleak: uncommented and fixed the handling of switch 2008-08-31 07:42:54 +00:00
Daniel Marjamäki b88fd769a7 memleak: commented out the switch handling temporarily. it causes
segmentation faults when checking the linux kernel.
2008-08-30 18:42:26 +00:00