Commit Graph

5290 Commits

Author SHA1 Message Date
Daniel Marjamäki b0d1e83c88 TestPreprocessor: Minor update to ensure that extra spaces are filtered out 2008-11-03 07:56:23 +00:00
Daniel Marjamäki de3c6f9c1b Testing: DeallocateTokens after each test 2008-11-03 07:54:59 +00:00
Daniel Marjamäki 375801f51e Tokenizer: Handle '\' in preprocessor lines 2008-11-03 07:53:30 +00:00
Daniel Marjamäki b5e55859c4 preprocessor: handling the '\' in preprocessor code 2008-11-02 17:04:46 +00:00
Daniel Marjamäki ffa8e3d0b6 TestCharVar: Fixed some false positives 2008-11-02 16:29:36 +00:00
Daniel Marjamäki 7d234fd5c2 Class Checking: Fixed AV in FindClassFunction 2008-11-02 12:48:45 +00:00
Daniel Marjamäki f1330c3db0 memleak: fixed false positives for assignment in return statement (bug
2205568)
2008-11-02 10:33:38 +00:00
Daniel Marjamäki d60d133671 Uninitialized Member Variables: Fixed problems with different classes with same name (Bug 2208157) 2008-11-01 18:01:35 +00:00
Daniel Marjamäki e13dfbafe6 man: Added xml for generating man page 2008-11-01 17:16:48 +00:00
Daniel Marjamäki 0185f32bee Makefile: Applied changes suggested by Reijo 2008-11-01 17:12:05 +00:00
Daniel Marjamäki 0dc9235f4f Uninitialized member variables: Removed false positives when using operator= (Bug 2190376) 2008-11-01 17:00:36 +00:00
Daniel Marjamäki c284e7efad Uninitialized Member Variables: Check statements that begin after for example "if (..)" or "else" (Bug 2190290) 2008-11-01 06:41:45 +00:00
Daniel Marjamäki 644b3057ed Unitialized Members Variables: Fixed false positives when using "this"
(Bug 
2190300)
2008-11-01 06:25:42 +00:00
Daniel Marjamäki a7972ad80b testpreprocessor: changed the syntax 2008-10-31 19:02:11 +00:00
Daniel Marjamäki b1b06209dc preprocessor: Minor typo fix 2008-10-31 18:59:57 +00:00
Daniel Marjamäki e798a4a419 Preprocessor: Added elif handling. Check for invalid characters 2008-10-31 18:52:47 +00:00
Daniel Marjamäki 8d2cdbc09f fixed compilation warnings generated by visual c++. Nothing serious 2008-10-31 08:29:59 +00:00
Daniel Marjamäki a3a4d72082 preprocessor: Use the new preprocessor in cppcheck 2008-10-30 19:42:34 +00:00
Daniel Marjamäki 3bf539939f preprocessor: Handling "#if .." better 2008-10-30 17:42:33 +00:00
Daniel Marjamäki a54cd2df44 preprocessor: Minor cleanups and fixes 2008-10-30 16:46:05 +00:00
Daniel Marjamäki 853fea4541 Check that a supported compiler is used to when compiling c++check 2008-10-30 04:45:59 +00:00
Daniel Marjamäki 7657ac27ce preprocessor: Added test if_cond1. It fails currently 2008-10-30 04:23:35 +00:00
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