Reijo Tomperi
08b25dc0d4
Refactoring: Global/Static variables, FunctionList, GlobalFunctions and UsedGlobalFunctions are now private members of Tokenizer class.
...
Class GlobalFunction is now private subclass of Tokenizer.
Global functions CheckGlobalFunctionUsage, FillFunctionList and GetFunctionTokenByName are now member functions of Tokenizer.
2008-11-15 22:41:56 +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
8fce5d39e5
Memory leak: Began work for parsing into subfunctions.
2008-11-09 16:34:18 +00:00
Daniel Marjamäki
c2ea705fd7
Memory Leak: Stronger checking. Ignore 'if use ;' and 'if dealloc;'. A leak could occur if it's not executed.
2008-11-09 08:40:57 +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
c220b061dc
Refactoring TOKEN: Changed from struct to class
2008-11-06 18:31:39 +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
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
1c5ed9b1c0
refactoring: made compilation work in codegear
2008-08-20 07:32:07 +00:00
Daniel Marjamäki
0b8f646e0b
CheckMemoryLeak: Small improvements
2008-08-19 04:53:41 +00:00
Daniel Marjamäki
0575781a67
CheckMemoryLeak: Refactoring the check
2008-08-16 12:44:46 +00:00
Daniel Marjamäki
bbd8c03369
CommonCheck: Refactoring. Renamed clGlobalFunction to GlobalFunction
2008-08-07 18:44:05 +00:00
Daniel Marjamäki
7464adfb47
CheckGlobalFunctionUsage: Optimised
2008-05-05 16:58:09 +00:00
Daniel Marjamäki
a938b4ed39
Fixing bug 1935006 - Compile problems on cygwin
2008-04-06 06:26:11 +00:00
Daniel Marjamäki
c56cfb5305
Match: Added matching for []
2008-04-02 09:37:05 +00:00
Daniel Marjamäki
89605c0167
Fixed minor bugs
2008-03-29 17:27:02 +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
b7477cb27f
Combined 'findfunction' and 'FindFunction'. Updated "CheckBufferOverrun"
...
(checking for-loops).
2008-03-24 07:24:49 +00:00
Daniel Marjamäki
4c17dd9499
Buffer overrun in function parameter
2008-03-23 16:18:31 +00:00
Daniel Marjamäki
75debeba37
Reverted 205:207
2008-03-23 13:38:01 +00:00
Daniel Marjamäki
34a2fdfb37
Refactoring
2008-03-23 13:27:34 +00:00
Daniel Marjamäki
3dfc79d3b6
Refactoring: Use 'setindentlevel'
2008-03-23 07:57:27 +00:00
Daniel Marjamäki
0d0f562e90
Refactoring: Added helper function 'setindentlevel'
2008-03-22 20:14:25 +00:00
Daniel Marjamäki
ede402a5ec
Minor refactoring
2008-03-22 17:09:08 +00:00
Daniel Marjamäki
a9524b9207
Added test 'CheckVariableScope'. Increased constness.
2008-03-16 13:17:43 +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
4cb3c7b96b
Unit Testing: Start
2008-02-16 15:46:32 +00:00
Daniel Marjamäki
5b6ab28e0b
For the highest accuracy, don't warn for all memory leaks unless the "-w" is given
2007-07-20 06:20:31 +00:00
Daniel Marjamäki
93b3e2e5aa
Buffer overruns, using string with unknown length
2007-07-18 06:12:16 +00:00
Daniel Marjamäki
909bf7e6cd
CommonCheck: Moved 'IsName' and 'IsNumber' from main.cpp
2007-05-25 06:45:47 +00:00
Daniel Marjamäki
0a57ef44f7
CommonCheck: Common functions used while checking for mistakes
2007-05-24 13:09:23 +00:00