Commit Graph

102 Commits

Author SHA1 Message Date
Reijo Tomperi e272630604 Copyright and app name changed in each file 2008-12-19 21:15:06 +00:00
Nicolas Le Cam a5fa323a0b Formatting: uniformize end of lines. 2008-12-18 21:28:57 +00:00
Nicolas Le Cam aaabacfe87 Formatting: uniformize end of lines. 2008-12-09 00:49:32 +00:00
Nicolas Le Cam eb80c9786f Revert revisions 627 and 628 2008-12-08 23:41:34 +00:00
Nicolas Le Cam 625b77ec33 Formatting: uniformize end of lines. 2008-12-08 23:06:19 +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 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 1efb4c95a6 Refactoring: Global variable Files is no more. Use tokenizer->getFiles() to get a pointer to it. 2008-11-13 22:39:47 +00:00
Daniel Marjamäki 34507f73ce Added command line option "--errorsonly" 2008-11-13 17:43:55 +00:00
Reijo Tomperi 0b1ee10353 Refactoring: tokens_back and TypeSize are no longer global variables 2008-11-12 22:50:40 +00:00
Reijo Tomperi 134985e410 Refactoring: Tokenizer object given as a parameter to most of the classes 2008-11-12 21:34:47 +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
Reijo Tomperi ef9f472188 Refactoring: Tokenizer class added, functions still mostly static and
using globals
2008-11-09 07:19:53 +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 e798a4a419 Preprocessor: Added elif handling. Check for invalid characters 2008-10-31 18:52:47 +00:00
Daniel Marjamäki a3a4d72082 preprocessor: Use the new preprocessor in cppcheck 2008-10-30 19:42:34 +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 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 5115420809 CheckUnsignedDivision: Made it more accurate and moved it to the
standard checks
2008-10-04 12:12:24 +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 815dd364ed Incomplete statement: Check for statements that begin with a constant 2008-09-20 17:34:37 +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 ae322b5f45 made cppcheck compile with g++ 4.3 2008-08-30 18:29:37 +00:00
Daniel Marjamäki 0e267441de djgpp: Fixed compiler warnings/errors when compiling with DJGPP 2008-08-30 16:38:56 +00:00
Daniel Marjamäki 778410ccbf char variable usage: Added checking 2008-08-28 06:36:30 +00:00
Daniel Marjamäki 219d82e180 CheckStructMemberUsage: Check for unused struct members 2008-05-09 18:29:42 +00:00
Daniel Marjamäki cae2e190da Added check: passing constant function parameter by value instead of by reference/pointer 2008-05-03 07:20:25 +00:00
Daniel Marjamäki 214266c08c Added comments 2008-04-11 06:58:45 +00:00
Daniel Marjamäki 62e06185f8 Minor updates to [232] and [233]. Use __GNUC__ define instead of CYGWIN 2008-04-06 06:45:30 +00:00
Daniel Marjamäki 794710a0bd Addon to [232] 2008-04-06 06:35:53 +00:00
Daniel Marjamäki a938b4ed39 Fixing bug 1935006 - Compile problems on cygwin 2008-04-06 06:26:11 +00:00
Daniel Marjamäki 69d33444d4 Added style checks to check for unused global functions 2008-03-29 09:44:23 +00:00
Daniel Marjamäki f8569f0db4 Refactoring: Removed 'HasErrors'. Better usage of 'Match'. Hid the 'FunctionList' 2008-03-28 17:40:24 +00:00
Daniel Marjamäki 4691999ede Refactoring: Replaced deprecated "match" with the new "Match" 2008-03-28 07:18:03 +00:00
Daniel Marjamäki b1b7593c76 Updates here and there to make it more accurate 2008-03-19 06:03:56 +00:00
Daniel Marjamäki 119e719d52 bug fixes for 'CheckVariableScope' 2008-03-16 17:39:38 +00:00
Daniel Marjamäki a6696d6f7d Removed false positives and also duplicate error messages. 2008-02-22 14:30:43 +00:00
Daniel Marjamäki 6100b19640 sort the files before checking to make the results comparable 2008-02-22 07:25:31 +00:00
Daniel Marjamäki 97003e8064 recursive checking when compiling with gcc 2008-02-21 19:01:24 +00:00
Daniel Marjamäki b6ea2e43ff recursive checking when compiled by borland c++ 2008-02-21 17:56:51 +00:00
Daniel Marjamäki 08b3b2ab63 CheckUnsignedDivision: Added check. Not very accurate yet. 2008-02-20 18:20:59 +00:00
Daniel Marjamäki 72d9e43f92 Made it compilable by borland c++ 2008-02-18 17:11:34 +00:00
Daniel Marjamäki f06c65c071 checking multiple files 2008-02-17 18:28:51 +00:00
Daniel Marjamäki 2dace08aae Unit Testing: Moved 'testmemcheck' 2008-02-16 18:24:13 +00:00
Daniel Marjamäki 4cb3c7b96b Unit Testing: Start 2008-02-16 15:46:32 +00:00