Daniel Marjamäki
|
c3b9b3dfd5
|
simplifyIfAddBraces : Fixed a segmentation fault
|
2008-12-22 19:26:23 +00:00 |
Daniel Marjamäki
|
78f46c5848
|
simplifyIfAddBraces : Fixed minor bug that caused the closing brace to be put on the wrong place
|
2008-12-22 18:32:04 +00:00 |
Daniel Marjamäki
|
3a4e113f64
|
TestTokenizer : Split the test TestTokenizer::simplifyKnownVariables into 5 separate tests
|
2008-12-22 18:08:32 +00:00 |
Daniel Marjamäki
|
7a3fd268e1
|
TestTokenizer : Broke up TestTokenizer::ifAddBraces into a few separate tests
|
2008-12-22 18:05:22 +00:00 |
Daniel Marjamäki
|
30c86f7107
|
simplifyIfAddBraces : Fixed segmentation fault
|
2008-12-22 18:00:54 +00:00 |
Daniel Marjamäki
|
a148e67168
|
Memory leaks : Reduce "if { dealloc ; return ; } if return ;" to "if return ;". Related with bug 2458532
|
2008-12-22 14:42:54 +00:00 |
Daniel Marjamäki
|
a69ebc6664
|
Tokenizer : Added function 'simplifyIfAddBraces'
|
2008-12-22 09:20:46 +00:00 |
Nicolas Le Cam
|
ad73e517a4
|
Fix simpleMatch when pattern only contain one word
|
2008-12-22 08:20:25 +00:00 |
Nicolas Le Cam
|
3234322758
|
Implement simpleMatch that should be use when pattern contains no flags
|
2008-12-21 23:28:09 +00:00 |
Reijo Tomperi
|
85e6ab5226
|
More improvement to removeReduntantConditions() and few tests for it also
|
2008-12-21 21:04:58 +00:00 |
Reijo Tomperi
|
496b09a377
|
Remove reduntant if sentences that are never executed.
|
2008-12-21 19:24:21 +00:00 |
Nicolas Le Cam
|
615095fca2
|
Optimization: Speed up typedef simplification.
|
2008-12-21 18:26:06 +00:00 |
Nicolas Le Cam
|
1c281662da
|
Fix signed/unsigned warning (thanks Aggro)
|
2008-12-21 17:51:07 +00:00 |
Nicolas Le Cam
|
1f68dfa57e
|
Refactoring: strdup also exists in MSVS
|
2008-12-21 17:45:05 +00:00 |
Nicolas Le Cam
|
1f141e4dc0
|
Opimization: Remove combineWithNext Member, use an array instead
|
2008-12-21 17:35:33 +00:00 |
Reijo Tomperi
|
56c1a91e67
|
Few tests added for checking simplify of if sentences
|
2008-12-21 15:10:44 +00:00 |
Reijo Tomperi
|
bb198aed5e
|
Fixed bug, varid was not assigned properly when bool use = false; was splitted into two statements in simplify code.
|
2008-12-21 14:27:07 +00:00 |
Reijo Tomperi
|
b7db651ee2
|
Improving simplifyKnownVariables() to simplify bool variables used inside if() like int values are simplified.
|
2008-12-21 13:58:56 +00:00 |
Reijo Tomperi
|
aec3584fce
|
Fixed one compiler (gcc) warning.
|
2008-12-21 12:59:38 +00:00 |
Nicolas Le Cam
|
12aceca138
|
Fix bug I introduced in rv727
|
2008-12-21 12:22:30 +00:00 |
Nicolas Le Cam
|
cbf9067de0
|
Minor optimizations and fixes
|
2008-12-21 11:43:05 +00:00 |
Daniel Marjamäki
|
d44523144a
|
simplifyKnownVariables: fixed a segmentation fault
|
2008-12-21 09:12:00 +00:00 |
Reijo Tomperi
|
7c3fbd7060
|
Fixed bug with redundant condition: http://sourceforge.net/forum/forum.php?thread_id=2711792&forum_id=693501
|
2008-12-20 22:24:11 +00:00 |
Daniel Marjamäki
|
a0cee01d35
|
Memory leak : Updated the multipass checking a little
|
2008-12-20 21:52:40 +00:00 |
Reijo Tomperi
|
2888db49a9
|
Updated the test to reflect change in previous commit
|
2008-12-20 21:09:28 +00:00 |
Reijo Tomperi
|
8af4efb1df
|
Improved the error message related to virtual destructors
|
2008-12-20 20:52:15 +00:00 |
Daniel Marjamäki
|
92c1914951
|
refactoring : Replaced "aaaa" with "str"
|
2008-12-20 19:57:03 +00:00 |
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 |