Reijo Tomperi
|
df5adc5f4f
|
Added test case preprocessor_doublesharp, executed ./runastyle for errormessage.h
|
2009-01-19 21:45:59 +00:00 |
Nicolas Le Cam
|
2b2152919f
|
Update errormessage.h and code using it.
|
2009-01-19 19:50:59 +00:00 |
Nicolas Le Cam
|
cec57b76d3
|
errmsg: Don't create unused parameters
|
2009-01-19 19:50:00 +00:00 |
Reijo Tomperi
|
3b638289f4
|
codeblocks project file changed to use make target testrunner, instead of test
|
2009-01-19 19:45:05 +00:00 |
Reijo Tomperi
|
4d0e3dac45
|
Added a test case and fixed bug. If #include was inside a string, cppcheck hanged in preprocessor.
|
2009-01-19 19:24:41 +00:00 |
Reijo Tomperi
|
adc116d0ef
|
Changed output of the program to print out the file name before
preprocessor.
|
2009-01-19 19:00:36 +00:00 |
Reijo Tomperi
|
de28502bb1
|
Fixed bug in line numbers and enabled test case that spots it.
|
2009-01-19 18:51:27 +00:00 |
Daniel Marjamäki
|
7b90246198
|
testtokenize: Added test "file1". It currently fails.
|
2009-01-19 18:40:24 +00:00 |
Daniel Marjamäki
|
e90857ce0d
|
tokenizer: activated the handling of #file and #endfile
|
2009-01-19 17:49:44 +00:00 |
Daniel Marjamäki
|
af87fececa
|
preprocessor: Activated the include handling
|
2009-01-19 17:47:43 +00:00 |
Daniel Marjamäki
|
835fa1f007
|
testtokenize: Removed unneeded test case "define1"
|
2009-01-19 17:47:12 +00:00 |
Daniel Marjamäki
|
a9851f44c1
|
testpreprocessor: Removed test that doesn't work now that the preprocessor handles includes
|
2009-01-19 16:42:20 +00:00 |
Kimmo Varis
|
0b2bd09b24
|
Visual Studio: Fix building resource file with Visual Studio Express.
|
2009-01-19 06:40:59 +00:00 |
Nicolas Le Cam
|
60a194f620
|
Add bugtraq:url and bugtraq:logregex properties
|
2009-01-18 23:58:06 +00:00 |
Nicolas Le Cam
|
45478a7178
|
FileLister: Fix bug that prevent a file passed by with paths to be checked; Add the possibility to use \ as a directory separator on Windows closing issue #22
|
2009-01-18 23:51:31 +00:00 |
Reijo Tomperi
|
3cb51d6946
|
Fixing crash, not sure about side effects. Ticket #37
|
2009-01-18 23:03:28 +00:00 |
Reijo Tomperi
|
50d9a085da
|
Added temporary bailout code, cppcheck crashes when string checking leaks out. This needs a better fix, this is just to
see the problem more easily.
|
2009-01-18 22:46:48 +00:00 |
Nicolas Le Cam
|
f6d121443e
|
unreachableCode: Moved warning of a break statement following a return in --style; Added a test case; Minor optimization.
|
2009-01-18 21:19:02 +00:00 |
Leandro Penz
|
e930525aa4
|
functionVariableUsage: no longer SIGSEGVs on unfinished struct. Fixes Ticket #31.
|
2009-01-18 19:45:43 +00:00 |
Reijo Tomperi
|
45c1b3c3ca
|
More work for includes, still commented out. Uncomment from tokenize.cpp and
preprocessor.cpp to take into use.
|
2009-01-18 18:59:58 +00:00 |
Reijo Tomperi
|
3f98024215
|
More work for includes, still commented out. Tokenizer needs #file handling
|
2009-01-18 18:01:56 +00:00 |
Daniel Marjamäki
|
0177f77505
|
code style fix
|
2009-01-18 17:47:40 +00:00 |
Daniel Marjamäki
|
f409861492
|
strPlusChar: Fixed false positives
|
2009-01-18 17:42:41 +00:00 |
Reijo Tomperi
|
b1250e1750
|
Some work for the include support (commented out for now)
|
2009-01-18 17:13:05 +00:00 |
Daniel Marjamäki
|
c7311b4b3c
|
preprocessor: make sure macros are not expanded when they are found in strings
|
2009-01-18 16:58:57 +00:00 |
Daniel Marjamäki
|
965daabe60
|
preprocessor: Make sure that "#define ABC (a+b+c)" is expanded correctly
|
2009-01-18 16:56:12 +00:00 |
Daniel Marjamäki
|
8785483878
|
preprocessor: Reactivated the expandMacros. This time it's done after the #if #else #endif has been
processed
|
2009-01-18 16:42:15 +00:00 |
Daniel Marjamäki
|
ea686a1da9
|
preprocessor: fixed so the TestPreprocessor::preprocessor_undef succeeds
|
2009-01-18 16:37:40 +00:00 |
Kimmo Varis
|
9ac05af78a
|
Improve the Windows installer readme text.
|
2009-01-18 13:53:48 +00:00 |
Daniel Marjamäki
|
73630c4640
|
style updated
|
2009-01-18 12:19:48 +00:00 |
Daniel Marjamäki
|
6cb6e163cd
|
preprocessor: Refactoring. Broke out some functionality of expandMacros into a class Macro
|
2009-01-18 12:17:26 +00:00 |
Reijo Tomperi
|
d31e0ae8a1
|
Fix compile warning signed-unsigned
|
2009-01-18 11:14:35 +00:00 |
Reijo Tomperi
|
8155b9272f
|
Refactoring: Style applied
|
2009-01-18 11:13:25 +00:00 |
Daniel Marjamäki
|
4ee4645858
|
Preprocessor: Reverted [1008] - The old expandMacros was readded
|
2009-01-18 10:54:07 +00:00 |
Kimmo Varis
|
9bf6383c4e
|
Fix VS build broken due to tripled version resource info.
|
2009-01-18 09:38:42 +00:00 |
Daniel Marjamäki
|
e315595c36
|
Tokenizer: Added unit test to check that define is tokenized correctly
|
2009-01-18 08:52:20 +00:00 |
Daniel Marjamäki
|
a269cfc8d9
|
tokenizer: The tokenizer shouldn't handle comments nor preprocessor directives. The preprocessor will take care of
that
|
2009-01-18 08:38:25 +00:00 |
Daniel Marjamäki
|
86c95c27d2
|
Preprocessor: Removed "Preprocessor::expandMacros" and commented all its tests
|
2009-01-18 07:32:06 +00:00 |
Daniel Marjamäki
|
0a027a55ef
|
preprocessor: Don't use the "expandMacros" from cppcheck
|
2009-01-18 07:22:17 +00:00 |
Reijo Tomperi
|
58b398a4a8
|
Fix Ticket #32 False positive with --style: Uninitialized member variable (when stream is used)
|
2009-01-17 20:17:57 +00:00 |
Kimmo Varis
|
bfc82f29eb
|
Does not understand . as current folder (Trac #4)
|
2009-01-17 19:34:11 +00:00 |
Reijo Tomperi
|
f6452e3613
|
Test case for Ticket #32
|
2009-01-17 19:26:58 +00:00 |
Daniel Marjamäki
|
b9b250f4cc
|
unused var: fixed false positives when using shift operator
|
2009-01-17 14:32:02 +00:00 |
Reijo Tomperi
|
673fb25e4d
|
Removed tasks.txt, most of it is moved to Track, some general issues were not
|
2009-01-17 13:27:57 +00:00 |
Daniel Marjamäki
|
8780fbf8bb
|
bounds checking: Added error message "snprintf size is out of bounds"
|
2009-01-17 13:09:02 +00:00 |
Reijo Tomperi
|
9298caa809
|
Patch [ 2508549 ] Add Windows version resource
|
2009-01-17 12:08:20 +00:00 |
Reijo Tomperi
|
046222ba57
|
patch [ 2508523 ] Windows installer (with readme.txt based on patch comments)
|
2009-01-17 11:49:12 +00:00 |
Daniel Marjamäki
|
a5e2787f72
|
errmsg: added varname to the message "deallocating a deallocated pointer"
|
2009-01-17 11:15:46 +00:00 |
Daniel Marjamäki
|
121c0ee58f
|
unused variable: reading the value of variable in a for loop.. "for(;a;)" see ticket #18
|
2009-01-17 11:12:15 +00:00 |
Daniel Marjamäki
|
f562f588fb
|
memory leak: detect memory leak (#6)
|
2009-01-17 07:55:40 +00:00 |