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
|
94923cca1a
|
Refactoring: Prefer ++i; over i++;
|
2009-01-01 22:22:28 +00:00 |
Reijo Tomperi
|
31e9a7e10c
|
preprocessor optimized to handle faster removal of spaces near newline
|
2008-12-27 20:30:54 +00:00 |
Reijo Tomperi
|
3a39d18d19
|
Change one while loop to use stl algorithms and added TODO about slow part of code
|
2008-12-27 00:03:20 +00:00 |
Reijo Tomperi
|
c850901536
|
Added preprocessor a way to retrieve configurations and file content one configuration at time, because large files could consume 500 MB or even more memory.
|
2008-12-26 22:52: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 |
Nicolas Le Cam
|
661068bcd4
|
Formatting: uniformize end of lines.
|
2008-12-13 11:39:36 +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 |
Reijo Tomperi
|
345a7f2c9b
|
Preprocessor: Fixed bug, read() didn't handle correctly string constants like this: "\""
|
2008-12-05 22:18:13 +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
|
125692bc65
|
Refactoring: CommonCheck.* files are removed. Rest of the global functions from there were moved to Tokenizer class
|
2008-11-21 21:14:24 +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 |
Daniel Marjamäki
|
1cd9496039
|
preprocessor: Better warning when illegal character found
|
2008-11-17 18:42:58 +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
|
ab590ce675
|
preprocessor: fixed invalid character
|
2008-11-03 19:36:43 +00:00 |
Daniel Marjamäki
|
c5b26d1a7f
|
preprocessor: simple optimizations
|
2008-11-03 18:56:40 +00:00 |
Daniel Marjamäki
|
b5e55859c4
|
preprocessor: handling the '\' in preprocessor code
|
2008-11-02 17:04:46 +00:00 |
Daniel Marjamäki
|
b1b06209dc
|
preprocessor: Minor typo fix
|
2008-10-31 18:59:57 +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
|
8d2cdbc09f
|
fixed compilation warnings generated by visual c++. Nothing serious
|
2008-10-31 08:29:59 +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
|
18efbaf433
|
preprocessor: Added tests test3, test4, test5 and if1
|
2008-10-29 17:20:56 +00:00 |
Daniel Marjamäki
|
0ffa0b13d8
|
preprocessor: Fixed tests
|
2008-10-29 08:08:46 +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
|
3f80b27c43
|
preprocessor: quick fix to make the TestPreprocessor::test1 work
|
2008-10-26 14:11:21 +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 |