Commit Graph

1120 Commits

Author SHA1 Message Date
Daniel Marjamäki bb1691c65f codeblocks : added testmemleakmp 2008-12-20 19:07:20 +00:00
Daniel Marjamäki bf37a1153c memory leak : Added experimental functionality for multipass checking of memory leaks. Only added in the unit tests yet. 2008-12-20 17:52:15 +00:00
Daniel Marjamäki 0a73591c5c Refactoring : Removed the function 'findtoken' 2008-12-20 16:33:14 +00:00
Daniel Marjamäki e0e84d53ac Refactoring : Replaced findtoken with findmatch 2008-12-20 16:30:24 +00:00
Daniel Marjamäki 46631089aa refactoring : Replaced 'findtoken' with 'findmatch' 2008-12-20 16:16:51 +00:00
Daniel Marjamäki 37e8019230 buffer overrun : Refactoring 2008-12-20 16:09:01 +00:00
Daniel Marjamäki 7301709699 buffer overruns : renamed functions + minor simplification 2008-12-20 08:53:42 +00:00
Daniel Marjamäki 6b06df766b Class checking : Renamed the check functions 2008-12-20 08:48:52 +00:00
Reijo Tomperi fe94c577bc Man page updated 2008-12-19 22:27:51 +00:00
Reijo Tomperi cebd1af11a Project file updated 2008-12-19 22:02:52 +00:00
Reijo Tomperi 57d45a89ce Updated app name and copyright to this new file also 2008-12-19 21:18:29 +00:00
Reijo Tomperi ee5513e3ca Updated author names to man page 2008-12-19 21:16:28 +00:00
Daniel Marjamäki 11f05fe7e9 Redundant condition: Added a test case when a condition is not redundant 2008-12-19 21:15:18 +00:00
Reijo Tomperi e272630604 Copyright and app name changed in each file 2008-12-19 21:15:06 +00:00
Reijo Tomperi 36b820491f Fixed bug, checking single file was not possible. Few new tests added also 2008-12-19 20:30:33 +00:00
Reijo Tomperi a86b07ed17 Don't use keyword "this" in constructor 2008-12-19 19:31:12 +00:00
Reijo Tomperi 347068b672 Update man page and readme to reflect the new syntax 2008-12-19 19:19:26 +00:00
Reijo Tomperi cd405f4089 Interface: Tags -a, -q, -s and -v added. 2008-12-19 18:47:31 +00:00
Reijo Tomperi ddcab63b9e Interface: New version of interface and help texts, --errorsonly changed to --quiet 2008-12-19 18:38:22 +00:00
Reijo Tomperi c0ef901a56 Interface: Removed --recursive option, made it default. Changed help texts. 2008-12-19 18:18:29 +00:00
Daniel Marjamäki 0f5ad537d5 visual c++: updated the project file 2008-12-19 10:33:16 +00:00
Nicolas Le Cam a5fa323a0b Formatting: uniformize end of lines. 2008-12-18 21:28:57 +00:00
Daniel Marjamäki c56779c9ae variable id : set variable ids for struct members 2008-12-18 18:56:25 +00:00
Daniel Marjamäki 744c4928c4 token : if setstr is used clear the variable id 2008-12-18 07:21:06 +00:00
Daniel Marjamäki 8d6f77deed Memory leaks : Remove "if break|continue ;" that may otherwise cause false positives 2008-12-18 07:20:31 +00:00
Daniel Marjamäki 69137597f5 tokenizer : using the simplifyKnownVariables 2008-12-18 07:19:35 +00:00
Daniel Marjamäki 612d0e56f2 virtual destructors : no errormessage if the derived class has no destructor or empty destructor 2008-12-17 20:38:09 +00:00
Daniel Marjamäki ee5e20ed1f memory leak : fixed 2 bugs related to the testcases TestMemleak::if7 and TestMemleak::simple9 2008-12-17 19:21:39 +00:00
Daniel Marjamäki dd853f0d59 token : fixed so that TOKEN::_previous is updated when deleting tokens 2008-12-17 19:20:11 +00:00
Daniel Marjamäki a19b938665 testsuite : make it possible to run a specific testcase 2008-12-17 19:18:39 +00:00
Daniel Marjamäki fc325ac98a Memory leak : Added a test case for future checking of struct members 2008-12-16 19:16:52 +00:00
Daniel Marjamäki b145bf3650 Memory leak : Fixed issue 2429936 - false positive reported on the break in the code "loop { dealloc ; alloc ; if break ; }" 2008-12-16 19:01:15 +00:00
Daniel Marjamäki 87de37bcb4 Memory leaks : Added test case for bug 2429936 2008-12-16 17:27:52 +00:00
Daniel Marjamäki a8661baac5 Memory leak : Fixed bug described in issue 2432631. False positive on something like this.. "alloc ; if(!var) alloc;" 2008-12-16 17:06:59 +00:00
Daniel Marjamäki e853f28912 token : minor refactoring to TOKEN::insertToken. Give the linenr and fileIndex the same values as this token. It's better than nothing 2008-12-16 17:05:43 +00:00
Nicolas Le Cam 40f3ef61c9 Removes WarningIs(Alpha|Digit) checks as this can introduce more problems than fixes. 2008-12-15 23:03:04 +00:00
Daniel Marjamäki d74dc759a2 tasks : Added task for optimising TOKEN::Match 2008-12-15 18:54:04 +00:00
Daniel Marjamäki 0d36de4018 Redundant condition : fixed the checking 2008-12-15 18:49:34 +00:00
Daniel Marjamäki 707a406dab Redundant condition : Added a check 2008-12-15 07:29:55 +00:00
Nicolas Le Cam 883282ba16 Fix compilation 2008-12-14 23:06:37 +00:00
Reijo Tomperi 06b8cc48e8 Refactoring and fix to previous commits by me, forgot to actually rename the files before ... 2008-12-14 22:36:34 +00:00
Nicolas Le Cam 24c978d5d2 Formatting: uniformize end of lines. 2008-12-14 22:03:49 +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
Reijo Tomperi a15381dcbe Fixed bug, paths like "/path/../index.h" created duplicate warnings with files like "/index.h". Relative paths are now simplified to
look a like. Test cases added.
2008-12-14 19:03:34 +00:00
Nicolas Le Cam fec777057d Formatting: uniformize end of lines. 2008-12-14 17:05:21 +00:00
Nicolas Le Cam 8882ff9509 Add something I want to work on 2008-12-14 16:36:35 +00:00
Nicolas Le Cam 81185af7f9 Add the last c++ cast operator 2008-12-14 16:35:51 +00:00
Daniel Marjamäki 8b82ae1ac0 tasks : things that can be done 2008-12-14 15:30:38 +00:00
Reijo Tomperi 9c9740821f Old TODO comment removed 2008-12-13 20:45:48 +00:00
Reijo Tomperi 1d401905b0 More tests added for simplifyKnownVariables() 2008-12-13 20:43:54 +00:00