Daniel Marjamäki
|
3d61334a8c
|
errmsg: Moved 'function parameter parname is passed by value' to the style checks
|
2009-01-26 18:32:00 +00:00 |
Daniel Marjamäki
|
068b1458c2
|
memleak: class function usage (fixing #63)
|
2009-01-26 18:15:44 +00:00 |
Daniel Marjamäki
|
ca0f007ca4
|
tokenizer: simplify redundant paranthesis
|
2009-01-26 16:38:08 +00:00 |
Leandro Penz
|
9fb11bbfcc
|
memleak: strcat_result_assignment fixed by checking some functions for "x = func(x[),]".
|
2009-01-25 20:57:34 +00:00 |
Daniel Marjamäki
|
7037a3b4f6
|
testmemleak: removed the test case that was added in [1105]. It has been moved to the TestTokenizer instead
|
2009-01-25 19:40:29 +00:00 |
Daniel Marjamäki
|
4bb43e7e4d
|
testtokenize: Added test case for simplifying '((x))' to '(x)'
|
2009-01-25 19:39:05 +00:00 |
Daniel Marjamäki
|
bada255c80
|
testpreprocessor: removed unused test case
|
2009-01-25 19:18:18 +00:00 |
Reijo Tomperi
|
da63428961
|
Added test case complex_free
|
2009-01-25 16:29:51 +00:00 |
Reijo Tomperi
|
7631b0b339
|
Test case added: strcat_result_assignment
|
2009-01-25 15:56:19 +00:00 |
Daniel Marjamäki
|
9c51729be6
|
preprocessor: stringify macros
|
2009-01-25 13:30:15 +00:00 |
Reijo Tomperi
|
ed2758b082
|
Updated comments in code
|
2009-01-25 11:11:18 +00:00 |
Reijo Tomperi
|
17eee5e4d7
|
Fix ticket #58 (If given path is empty it is assumed that it wasn't given)
|
2009-01-25 11:05:51 +00:00 |
Reijo Tomperi
|
22593adeac
|
Fix ticket #57 (wrong path in error message)
|
2009-01-24 20:34:16 +00:00 |
Daniel Marjamäki
|
5acc6aca31
|
preprocessor: insert space. '#if(' => '#if ('
|
2009-01-24 19:28:30 +00:00 |
Leandro Penz
|
04faae2882
|
memleak: *x=malloc(); func(&x) is no longer reported as a leak (eliminated &use2).
|
2009-01-24 18:55:56 +00:00 |
Leandro Penz
|
835a749026
|
snprintf: more tests.
|
2009-01-24 18:55:07 +00:00 |
Reijo Tomperi
|
98d7f02ebc
|
Added test case preprocessor_and_operation for ticket #55 (also fixed style from previous commit)
|
2009-01-24 18:50:09 +00:00 |
Kimmo Varis
|
a0886e693e
|
Fix two overly long lines in command line help.
|
2009-01-24 18:24:04 +00:00 |
Daniel Marjamäki
|
8e7ff3bace
|
testtokenize: updated 'TestTokenize::simplify_function_parameters'
|
2009-01-24 18:21:16 +00:00 |
Kimmo Varis
|
37ddf6a0a8
|
Visual Studio: add resource.h into VS project.
|
2009-01-24 18:12:10 +00:00 |
Kimmo Varis
|
4fd689eeb5
|
Ticket #34: Windows installer: Add cppcheck folder to system path.
|
2009-01-24 18:07:51 +00:00 |
Daniel Marjamäki
|
0b95fdafb7
|
tokenizer: Added guard in case the preprocessor is mismatching
|
2009-01-24 17:15:38 +00:00 |
Daniel Marjamäki
|
fa070ac73c
|
cppcheck: printing preprocessed file to 'temp.txt'
|
2009-01-24 13:53:53 +00:00 |
Reijo Tomperi
|
d89f804d91
|
Fixed ticket #54 (Make cppcheck print status e.g. 4/20 files checked)
|
2009-01-24 08:06:40 +00:00 |
Reijo Tomperi
|
67f30376e1
|
Added test case simplify_function_parameters
|
2009-01-24 07:56:47 +00:00 |
Daniel Marjamäki
|
9d29de02d3
|
removed windows encodings
|
2009-01-23 21:34:03 +00:00 |
Daniel Marjamäki
|
42e56153a4
|
borland and visual c++ fixes
|
2009-01-23 21:28:45 +00:00 |
Daniel Marjamäki
|
d9b9368238
|
reverted [1084] it can be fixed better
|
2009-01-23 21:14:41 +00:00 |
Daniel Marjamäki
|
f33675288e
|
borland: the strtol is found in <stdlib.h>
|
2009-01-23 21:08:51 +00:00 |
Daniel Marjamäki
|
6f40ed9796
|
include: Had to include <cstring> in a few places to be able to compile cppcheck
|
2009-01-23 20:55:06 +00:00 |
Reijo Tomperi
|
c9133fb85d
|
Add additional checking to avoid ethernal loops when someone is using incorrect different case for the same file.
It should be unlikely that anyone would actually use different files in the same project and separate them only by
casing of some letters.
|
2009-01-23 20:36:43 +00:00 |
Reijo Tomperi
|
8d6f41397a
|
Fixing ticket #35 (Get rid of #ifdefs in our code where possible)
|
2009-01-23 20:25:13 +00:00 |
Daniel Marjamäki
|
ca56520c29
|
memory leak: don't give false positive when deallocating member variable this->i (#53)
|
2009-01-23 19:24:52 +00:00 |
Daniel Marjamäki
|
f31bd86a05
|
removed compiler warning
|
2009-01-23 18:55:40 +00:00 |
Daniel Marjamäki
|
9c94e66382
|
better fix to get rid of compiler warning is to comment the function parameter
|
2009-01-23 18:37:28 +00:00 |
Reijo Tomperi
|
6a523f2730
|
Fixed Ticket #52, Cppcheck hangs when checking VLC's source code
|
2009-01-23 18:27:04 +00:00 |
Daniel Marjamäki
|
193cffdb0b
|
preprocessor: fixed bug with mixed macros ABC and ABCD
|
2009-01-23 17:14:42 +00:00 |
Daniel Marjamäki
|
9af881d548
|
removed bam coding
|
2009-01-23 16:51:45 +00:00 |
Daniel Marjamäki
|
89f4a84c37
|
preprocessor: The stdlib.h is needed for the exit function
|
2009-01-23 11:34:19 +00:00 |
Daniel Marjamäki
|
de2675b46f
|
cppcheck: The '&&' should be '||' when checking if a check should be called
|
2009-01-22 21:20:40 +00:00 |
Daniel Marjamäki
|
e691ade8e6
|
Build: Enabled the Wextra flag when building cppcheck
|
2009-01-22 21:16:50 +00:00 |
Reijo Tomperi
|
5de5eab9fe
|
Fix Ticket #46, invalid commandline. (Also added -h and --help parameters)
|
2009-01-22 20:26:04 +00:00 |
Daniel Marjamäki
|
67e4ea10c9
|
preprocessor: handle redefinition of macro
|
2009-01-22 20:19:07 +00:00 |
Reijo Tomperi
|
e897637c7a
|
Fix Ticket #30, Need a way to specify include file folders (-I parameter was added)
|
2009-01-22 19:59:50 +00:00 |
Daniel Marjamäki
|
a9e84c5cd5
|
preprocessor: handle include guards by not checking for configurations in header files
|
2009-01-22 18:19:17 +00:00 |
Nicolas Le Cam
|
f9191539a8
|
Code cleanup.
|
2009-01-21 22:07:22 +00:00 |
Reijo Tomperi
|
1ef2c5caf5
|
Fixed style
|
2009-01-21 21:58:06 +00:00 |
Nicolas Le Cam
|
b7e4f1319c
|
Fix Preprocessor::read to handle char constant of more than one char, fixing issue #45; Fix the test that handle the case.
|
2009-01-21 21:45:17 +00:00 |
Nicolas Le Cam
|
42c608b6f0
|
Remove checks that are already covered well by most compilers (Unreachable Code; Assignment in Condition; Unused Variable).
|
2009-01-21 21:31:47 +00:00 |
Reijo Tomperi
|
53d02c0804
|
Fix Ticket #43, preprocessor: include file doesn't work so good in subfolders (note, because of other issues, checking will be very slow now
that this is fixed)
|
2009-01-21 21:03:46 +00:00 |