Commit Graph

37 Commits

Author SHA1 Message Date
Daniel Marjamäki dc4497b250 Preprocessor: Improved handling of multiline macros 2009-01-06 08:49:54 +00:00
Daniel Marjamäki 4642fc25aa Preprocessor : Added a few more testcases for the macro expansion 2009-01-05 20:41:34 +00:00
Daniel Marjamäki 3b2827a7ba Preprocessor: Added simple handling for expanding preprocessor macros 2009-01-05 20:30:15 +00:00
Daniel Marjamäki ea1f3f4e85 Style: Updated the coding style with "astyle" 2009-01-05 15:49:57 +00:00
Daniel Marjamäki 7495190312 Preprocessor: Began work on the macro handling 2009-01-05 09:26:00 +00:00
Reijo Tomperi f099796a10 Copyright 2007-2008 -> 2007-2009 2009-01-02 19:02:35 +00:00
Daniel Marjamäki 80e35e7332 Preprocessor : Replace "#if defined(.." with "ifdef .." where possible 2009-01-02 18:27:50 +00:00
Nicolas Le Cam 08cd1894ee Preprocessor: Get rid of an unused parameter 2009-01-02 00:06:27 +00:00
Reijo Tomperi e272630604 Copyright and app name changed in each file 2008-12-19 21:15:06 +00:00
Nicolas Le Cam a5fa323a0b Formatting: uniformize end of lines. 2008-12-18 21:28:57 +00:00
Daniel Marjamäki 2b7338450c preprocessing : Skip special characters. Refactoring. 2008-12-11 18:09:20 +00:00
Nicolas Le Cam aaabacfe87 Formatting: uniformize end of lines. 2008-12-09 00:49:32 +00:00
Nicolas Le Cam eb80c9786f Revert revisions 627 and 628 2008-12-08 23:41:34 +00:00
Nicolas Le Cam e8d2c7cfb3 Formatting: uniformize end of lines (part 2) 2008-12-08 23:10:13 +00:00
Nicolas Le Cam 625b77ec33 Formatting: uniformize end of lines. 2008-12-08 23:06:19 +00:00
Daniel Marjamäki 5ce5c7ab63 Preprocessor: Minor refactoring and improved testing 2008-12-04 07:34:31 +00:00
Daniel Marjamäki d3a2a32a58 preprocessor: fixed handling of tabs and spaces 2008-12-03 18:35:58 +00:00
Reijo Tomperi 51e9d98a5f Refactoring: Errors are no longer logged via global functions to a global stream. Instead callback function is used via interface.
ErrorLogger interface was added and taken into use.
2008-11-20 22:19:26 +00:00
Reijo Tomperi f242c4fddd Refactoring: Following new classes were created:
CheckBufferOverrunClass
CheckClass
CheckHeaders
CheckMemoryLeakClass
CheckOther
Preprocessor
2008-11-11 06:42:09 +00:00
Daniel Marjamäki c90084ee00 testpreprocessor: updated the testing for multiline preprocessor statements 2008-11-03 19:39:09 +00:00
Daniel Marjamäki b0d1e83c88 TestPreprocessor: Minor update to ensure that extra spaces are filtered out 2008-11-03 07:56:23 +00:00
Daniel Marjamäki b5e55859c4 preprocessor: handling the '\' in preprocessor code 2008-11-02 17:04:46 +00:00
Daniel Marjamäki a7972ad80b testpreprocessor: changed the syntax 2008-10-31 19:02:11 +00:00
Daniel Marjamäki e798a4a419 Preprocessor: Added elif handling. Check for invalid characters 2008-10-31 18:52:47 +00:00
Daniel Marjamäki a3a4d72082 preprocessor: Use the new preprocessor in cppcheck 2008-10-30 19:42:34 +00:00
Daniel Marjamäki 3bf539939f preprocessor: Handling "#if .." better 2008-10-30 17:42:33 +00:00
Daniel Marjamäki a54cd2df44 preprocessor: Minor cleanups and fixes 2008-10-30 16:46:05 +00:00
Daniel Marjamäki 7657ac27ce preprocessor: Added test if_cond1. It fails currently 2008-10-30 04:23:35 +00:00
Daniel Marjamäki 18efbaf433 preprocessor: Added tests test3, test4, test5 and if1 2008-10-29 17:20:56 +00:00
Daniel Marjamäki c9fa509591 preprocessor: updated the tests. They are now failing. 2008-10-28 19:08:05 +00:00
Daniel Marjamäki ed646d15be cleanup 2008-10-28 04:19:18 +00:00
Daniel Marjamäki 4698ae19c6 preprocessor: refactoring the preprocessor and added TestPreprocessor::if0 2008-10-27 19:02:49 +00:00
Daniel Marjamäki 5e25e706ea preprocessor: Refactoring 2008-10-27 07:47:48 +00:00
Daniel Marjamäki 96bea619bf preprocessor: Remove comments 2008-10-26 16:29:12 +00:00
Daniel Marjamäki 6390873a09 preprocessor: refactoring 2008-10-26 15:36:52 +00:00
Daniel Marjamäki f792bf4a0d preprocessor: Created a simple test. But it fails currently. 2008-10-26 12:19:19 +00:00
Daniel Marjamäki cde8e89987 preprocessor: Added new preprocessor. Only used in the tests yet. 2008-10-26 10:54:20 +00:00