Commit Graph

37 Commits

Author SHA1 Message Date
Daniel Marjamäki bf98b14b4f unused variable: Fixed false positive when using '|=' assignment 2009-01-04 17:41:59 +00:00
Daniel Marjamäki dcd64a7ce6 Variable usage : Fixed false positives for struct/union member variables 2009-01-04 17:35:19 +00:00
Daniel Marjamäki dcc15d7f22 Variable usage: Fixed false positive with operators ~ and ! 2009-01-04 17:27:32 +00:00
Daniel Marjamäki 9ea852eb0e Variable usage: Fixed false positives (tmp1 ? tmp2 : tmp3) 2009-01-04 17:23:04 +00:00
Daniel Marjamäki 76e2aea0f5 variable usage: added a test case to make sure usage in a if is seen 2009-01-04 17:09:55 +00:00
Daniel Marjamäki 445230f3ae Variable usage : Fixed false positive with modulo 2009-01-04 16:42:10 +00:00
Daniel Marjamäki 53cd729ccc Struct member usage : Check union member variables at the same time 2009-01-04 15:05:00 +00:00
Daniel Marjamäki a4d7ce1620 struct member usage: fixed false positives 2009-01-04 14:55:18 +00:00
Daniel Marjamäki dd914c0089 Function usage : Fixed false positives for inline structs 2009-01-04 08:16:07 +00:00
Daniel Marjamäki 68d08b73b6 Variable usage : Fixed a false positive for ("b = (int)a;" => a is read) 2009-01-04 07:49:41 +00:00
Reijo Tomperi f099796a10 Copyright 2007-2008 -> 2007-2009 2009-01-02 19:02:35 +00:00
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
Reijo Tomperi 3851c0f019 Refactoring: Renamed all files to lower case. Also added testfilelister.cpp which was forgotted from previous commit. 2008-12-14 20:49:55 +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 e8d2c7cfb3 Formatting: uniformize end of lines (part 2) 2008-12-08 23:10:13 +00:00
Nicolas Le Cam 625b77ec33 Formatting: uniformize end of lines. 2008-12-08 23:06:19 +00:00
Nicolas Le Cam 966cb79bde Fix compilation 2008-12-07 20:45:13 +00:00
Daniel Marjamäki ead97b5616 function variable usage : various fixes. but probably more fixes are needed. 2008-12-07 20:29:39 +00:00
Daniel Marjamäki b1ee3c5d31 function variable usage : Added a simple check 2008-12-07 19:17:36 +00:00
Daniel Marjamäki 8845e8bc89 Refactoring: Tokenizer - renaming functions, moved the 'tokenizeCode' to the private section 2008-11-25 18:34:51 +00:00
Reijo Tomperi 29a1468523 Refactoring: Renamed some member variables: variable -> _variable 2008-11-23 11:08:07 +00:00
Daniel Marjamäki 0d3a99adb0 increased constness of member variable _tokenizer in the Check* classes 2008-11-22 20:00:36 +00:00
Daniel Marjamäki 07b5ebe72b Check Function Usage: Removed much of the old checking and made some refactoring 2008-11-22 19:39:12 +00:00
Daniel Marjamäki 2db69e6072 tokenizer: Added DeallocateTokens to the destructor so it's not necessary to cleanup manually 2008-11-22 09:44:02 +00:00
Reijo Tomperi 51e9d98a5f Refactoring: Errors are no longer logged via global functions to a global stream. Instead callback function is used via interface.
ErrorLogger interface was added and taken into use.
2008-11-20 22:19:26 +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
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
Daniel Marjamäki f752b0e375 unused struct member: Added checks 2008-11-10 20:59:18 +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 de3c6f9c1b Testing: DeallocateTokens after each test 2008-11-03 07:54:59 +00:00
Daniel Marjamäki 5b9aa96aba Licensing: Using the GPL 3 license 2008-10-26 07:55:15 +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