Commit Graph

36 Commits

Author SHA1 Message Date
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 a6b4cdb526 Constructors: Fix checking of 'operator=' with test 2008-12-07 16:55:07 +00:00
Daniel Marjamäki 5ea2844b85 Constructors : Refactoring + Added checking of 'operator=' 2008-12-07 08:49:35 +00:00
Daniel Marjamäki f8087b1f3f Constructors : Fixed so the test that kush_eplus added works 2008-12-07 06:58:23 +00:00
Nicolas Le Cam 5a80bcc352 Add a test case that currently fail 2008-12-07 01:47:24 +00:00
Daniel Marjamäki 8a06b71949 Uninitialized member variables : Don't give false positives for private constructors 2008-12-06 19:14:04 +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 ce08224547 Few static variables are now private members. ShowAll etc. global variables are now members of Settings class and given as a
parameter to the classes that need them.
2008-11-16 15:18:50 +00:00
Daniel Marjamäki 8c9c6529b8 Uninitialized Member Variables: Fixed bug 'false positive on multi constructors' 2008-11-15 15:22:10 +00:00
Daniel Marjamäki add2283724 cleanup files 2008-11-15 13:05:58 +00:00
Daniel Marjamäki 9034c8b27e Uninitialized member variable: Added unit test that currently fails for bug 2270353 - Uninitialized variable false positive on multi constructors 2008-11-15 08:53:51 +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 4995c5d4c6 Uninitialized variable: chained assignments 2008-11-13 18:16:36 +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 de3c6f9c1b Testing: DeallocateTokens after each test 2008-11-03 07:54:59 +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 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 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 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 fd4e8b7345 testing: added 'testconstructors' 2008-08-24 06:47:33 +00:00