Reijo Tomperi
|
5be85d71a0
|
Fix ticket #145 (Line numbers are invalid if file is included inside #ifdef)
http://apps.sourceforge.net/trac/cppcheck/ticket/145
|
2009-03-08 09:45:53 +02:00 |
Reijo Tomperi
|
fc8f47145a
|
Copyrights updated
|
2009-03-01 19:52:33 +00:00 |
Leandro Penz
|
de80baeea1
|
Preprocessor: support for ##-comma-eating in variadic macros; passing now fmt2 test.
|
2009-02-13 13:34:24 +00:00 |
Leandro Penz
|
d511863b57
|
Preprocessor: initial variadic macro support; passing now on fmt1 case.
|
2009-02-13 13:31:40 +00:00 |
Reijo Tomperi
|
d48671bdfb
|
Fixed more of ticket #81 (getting rid of compiler warnings)
|
2009-02-07 20:55:25 +00:00 |
Reijo Tomperi
|
b211b8cbe8
|
Fix ticket #84 (unit testing: use "protected" instead of preprocessor)
|
2009-02-07 20:06:00 +00:00 |
Daniel Marjamäki
|
e9d19840d2
|
preprocessor: Added testcase fmt2 that is commented out because it doesn't work yet
|
2009-01-28 20:19:46 +00:00 |
Daniel Marjamäki
|
bada255c80
|
testpreprocessor: removed unused test case
|
2009-01-25 19:18:18 +00:00 |
Daniel Marjamäki
|
9c51729be6
|
preprocessor: stringify macros
|
2009-01-25 13:30:15 +00:00 |
Daniel Marjamäki
|
5acc6aca31
|
preprocessor: insert space. '#if(' => '#if ('
|
2009-01-24 19:28:30 +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 |
Daniel Marjamäki
|
193cffdb0b
|
preprocessor: fixed bug with mixed macros ABC and ABCD
|
2009-01-23 17:14:42 +00:00 |
Daniel Marjamäki
|
67e4ea10c9
|
preprocessor: handle redefinition of macro
|
2009-01-22 20:19:07 +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
|
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 |
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 |
Reijo Tomperi
|
176dd41306
|
Fixed Ticket #40, Check copyright texts in files, now that we have new developers.
|
2009-01-21 20:04:20 +00:00 |
Reijo Tomperi
|
9f63e2227b
|
Added test case multi_character_character
|
2009-01-21 19:12:28 +00:00 |
Daniel Marjamäki
|
76cb2310af
|
preprocessor: handled problem with parsing strings when expanding macros
|
2009-01-21 17:11:24 +00:00 |
Daniel Marjamäki
|
1622922384
|
preprocessor: Added todo test. It crashes when it's used
|
2009-01-21 07:22:44 +00:00 |
Daniel Marjamäki
|
d82314b365
|
preprocessor: Handle ##
|
2009-01-20 18:28:24 +00:00 |
Reijo Tomperi
|
df5adc5f4f
|
Added test case preprocessor_doublesharp, executed ./runastyle for errormessage.h
|
2009-01-19 21:45:59 +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 |
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 |
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
|
ea686a1da9
|
preprocessor: fixed so the TestPreprocessor::preprocessor_undef succeeds
|
2009-01-18 16:37:40 +00:00 |
Daniel Marjamäki
|
4ee4645858
|
Preprocessor: Reverted [1008] - The old expandMacros was readded
|
2009-01-18 10:54:07 +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
|
c1a4e9b000
|
testpreprocessor: commented the "undef" test that doesn't work
|
2009-01-12 19:23:01 +00:00 |
Reijo Tomperi
|
ee54d4da91
|
Added test case which currently fails, #undef is not handled
|
2009-01-12 18:23:53 +00:00 |
Daniel Marjamäki
|
153487d504
|
preprocessor: Style updates
|
2009-01-12 06:43:56 +00:00 |
Daniel Marjamäki
|
eb8675ab76
|
preprocessor: Handle newlines better
|
2009-01-12 06:33:06 +00:00 |
Daniel Marjamäki
|
ea6c48b2bd
|
preprocessor: fixed a small bug when expanding macro without parameter
|
2009-01-11 16:06:37 +00:00 |
Daniel Marjamäki
|
da881fdd0a
|
preprocessor: Fixed bug when expanding macros without parameters
|
2009-01-11 15:51:46 +00:00 |
Daniel Marjamäki
|
ecdfee850d
|
preprocessor: expand macro without parameters
|
2009-01-11 15:07:13 +00:00 |
Daniel Marjamäki
|
e42953bd3b
|
preprocessor: Added a test to see that "<backslash><newline>" is handled correctly inside strings
|
2009-01-11 08:16:15 +00:00 |
Daniel Marjamäki
|
94667320e8
|
preprocessor: Handle "<backslash><newline>" better
|
2009-01-11 07:19:28 +00:00 |
Reijo Tomperi
|
c7730044c7
|
Added test case for preprocessor which currently fails. codeblocks project file updated, tools-files added.
|
2009-01-08 22:28:54 +00:00 |
Reijo Tomperi
|
e435a1f1d6
|
Refactoring: Added src/ and test/ folders. Moved source files to those folders, updated makefile and codeblocks project file.
|
2009-01-06 14:18:36 +00:00 |