Commit Graph

26015 Commits

Author SHA1 Message Date
Daniel Marjamäki cdf9ee4d8a Memory Leaks: Improved the checking of loops. 2008-11-07 07:46:28 +00:00
Daniel Marjamäki 53752c129d Borland C++: Fixed compiler error (couldn't find the function 'free') 2008-11-07 07:45:50 +00:00
Reijo Tomperi a9e1fe5637 FileLister.* and testtokenize.cpp, changed encoding to utf-8 2008-11-06 19:40:49 +00:00
Daniel Marjamäki db6b4b3069 Memory Leak: Fixed bug with strdup in loop. Bug 2225370 2008-11-06 19:16:22 +00:00
Daniel Marjamäki c220b061dc Refactoring TOKEN: Changed from struct to class 2008-11-06 18:31:39 +00:00
Daniel Marjamäki 69a3595f19 cleanup of UTF-8. Updated the Makefile 2008-11-06 00:11:37 +00:00
Daniel Marjamäki 6a3d957366 CheckAlpha: Expanded checking to include 'isupper' and 'islower' 2008-11-06 00:04:52 +00:00
Daniel Marjamäki f8a60ae5c2 CheckClass: Applied patch 2220196 2008-11-06 00:00:38 +00:00
Daniel Marjamäki dfb7b4ed72 todo: A few short updated notes 2008-11-05 23:51:06 +00:00
Daniel Marjamäki 877aea4bf7 tests: Removed this deprecated file 2008-11-05 23:50:40 +00:00
Daniel Marjamäki 9c565d5945 C++ Builder: Updated the testrunner project 2008-11-05 23:50:18 +00:00
Daniel Marjamäki c16c12c70a Buffer overrun: Fixed a false positive 2008-11-05 23:49:46 +00:00
Daniel Marjamäki 8b9e223265 testother: Removed this test. Individual tests will be created instead 2008-11-05 23:48:59 +00:00
Daniel Marjamäki 16b5260824 testincompletestatement: created new test 2008-11-05 23:48:17 +00:00
Daniel Marjamäki b20c233599 TestBufferOverrun: Added a test case that shouldn't generate error. Get address beyond array. 2008-11-05 07:48:07 +00:00
Daniel Marjamäki eb86a0fc34 Tokenizer: Skip inline assembly (Bug 2220727) 2008-11-05 07:28:40 +00:00
Daniel Marjamäki fd4b02e538 CheckClass: Removed false positive "unused private function" for typedef (Bug 2220326) 2008-11-05 07:25:28 +00:00
Daniel Marjamäki 5e4a7fefe5 Tokenize: Changed the array CurrentToken to a std::string 2008-11-04 19:09:31 +00:00
Daniel Marjamäki 80ce75216d Borland C++: Added 'TestTokenize' to the testrunner project 2008-11-04 19:04:07 +00:00
Daniel Marjamäki c90084ee00 testpreprocessor: updated the testing for multiline preprocessor statements 2008-11-03 19:39:09 +00:00
Daniel Marjamäki ab590ce675 preprocessor: fixed invalid character 2008-11-03 19:36:43 +00:00
Daniel Marjamäki 584b6b09fe Updated the Borland C++ project files 2008-11-03 18:57:53 +00:00
Daniel Marjamäki 221517e3cc Added Visual C++ 2008 Express solution and project files 2008-11-03 18:57:18 +00:00
Daniel Marjamäki c5b26d1a7f preprocessor: simple optimizations 2008-11-03 18:56:40 +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 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