Robert Reif
|
301f83767e
|
replace tok->strAt(0) with tok->str()
|
2011-02-09 07:45:19 -05:00 |
Robert Reif
|
7502cea4d3
|
Fixed #2554 (simplifyTypedef: wrong simplification for sizeof(array))
|
2011-02-08 19:47:14 -05:00 |
Daniel Marjamäki
|
f7dcf2d3b9
|
Tokenizer: Added a comment about sizeof for struct/class. We always assume that the size is 100
|
2011-02-06 09:58:07 +01:00 |
Robert Reif
|
95e917b27f
|
Tokenizer: Replace __null with 0 (gcc constant)
|
2011-02-05 09:03:31 +01:00 |
Robert Reif
|
e9ec4bc3e4
|
Fixed #2536 (cppcheck hangs with 100% cpu load)
|
2011-02-03 07:58:49 +01:00 |
Raphael Geissert
|
c9a0d95e89
|
A few more Token::Match -> ::simpleMatch replacements
|
2011-02-02 13:27:02 -06:00 |
Raphael Geissert
|
f8e2d50e6f
|
Use Token::simpleMatch where no special patterns are needed
|
2011-02-02 13:27:02 -06:00 |
Raphael Geissert
|
8d5863133c
|
Use Token::simpleMatch where no patterns are used
|
2011-02-02 13:27:01 -06:00 |
Raphael Geissert
|
cf2b6f7bc1
|
Remove useless spacing at the end of *Match strings
|
2011-02-02 13:27:01 -06:00 |
Robert Reif
|
8eb92001b3
|
Fixed #2530 (Tokenizer: Remove redundant 'MyClass::' inside MyClass class declaration)
|
2011-02-02 07:40:08 +01:00 |
Daniel Marjamäki
|
defeded4b5
|
Fixed #2529 (False positive: array 'req[3]' index 4 out of bounds)
|
2011-02-01 21:46:07 +01:00 |
Daniel Marjamäki
|
49fc53165c
|
Tokenizer: remove some unhandled macros in the global scope. ticket: #2523
|
2011-01-30 08:34:58 +01:00 |
Daniel Marjamäki
|
a299411a82
|
Tokenizer: Better simplifications of static constants
|
2011-01-29 16:14:09 +01:00 |
Daniel Marjamäki
|
83625d8055
|
Fixed #2505 (Check processing of a preprocessor macro 'FREE')
|
2011-01-28 09:19:30 +01:00 |
Daniel Marjamäki
|
88abeeebba
|
Fixed #2518 (Crash when checking rockbox's firmwire)
|
2011-01-27 21:16:25 +01:00 |
Daniel Marjamäki
|
524498e439
|
Tokenizer: collapse operator function names into a single token. ticket: #2519
|
2011-01-27 18:44:20 +01:00 |
Daniel Marjamäki
|
586cbd5839
|
Tokenizer: Upon createLinks error, report error and bailout
|
2011-01-23 09:38:38 +01:00 |
Daniel Marjamäki
|
b10f0aabd6
|
Fixed #2376 (simplifyTypedef: upx-ucl)
|
2011-01-23 09:04:34 +01:00 |
Daniel Marjamäki
|
5c88129f01
|
Fixed #2484 (false positive because template is not instantiated properly)
|
2011-01-22 12:42:53 +01:00 |
Daniel Marjamäki
|
bc31f317bc
|
Fixed #2491 (Tokenizer::setVarId : wrong handling of function call: 'a(b * c, 1);')
|
2011-01-22 09:27:16 +01:00 |
Robert Reif
|
69eee86ee4
|
Tokenizer: Only create 1 symbol database. ticket: #2468
|
2011-01-22 08:34:24 +01:00 |
Robert Reif
|
d73709a620
|
Symbol database: rename variables. ticket: #2468
|
2011-01-21 07:42:41 +01:00 |
Kimmo Varis
|
b8b2e3fae9
|
Move filelister* to cli.
Ticket #2445 (Move FileLister classes from LIB to CLI).
|
2011-01-18 19:58:49 +02:00 |
Kimmo Varis
|
86ac25456e
|
Move sameFileName() method to Path class.
Ticket #2445 (Move FileLister classes from LIB to CLI). Moving
sameFileName() to Path allows moving FileLister* classes to CLI.
|
2011-01-18 19:58:16 +02:00 |
Robert Reif
|
959e10cee5
|
Symbol database: renamed classes. ticket: #2468
|
2011-01-17 18:29:19 +01:00 |
Robert Reif
|
bf9528558e
|
Symbol database: pulled out classes into global scope. ticket: #2468
|
2011-01-17 07:21:59 +01:00 |
Robert Reif
|
d341b42b0c
|
Symbol database: increased constness. ticket: #2468
|
2011-01-16 18:13:54 +01:00 |
Daniel Marjamäki
|
f72fd6960e
|
Fixed #2449 (segfault in tokenize.cpp, incorrect parsing)
|
2011-01-16 11:54:28 +01:00 |
Raphael Geissert
|
da998fec68
|
Tokenizer: simplify restrict
|
2011-01-16 11:37:03 +01:00 |
Robert Reif
|
beb2db82a2
|
Fixed #980 (false negative: division by zero when using enum)
|
2011-01-16 11:24:58 +01:00 |
Daniel Marjamäki
|
97d0755750
|
Fixed #2454 (Tokenizer::simplifyKnownVariables: problem with float/double variables)
|
2011-01-15 08:48:42 +01:00 |
Daniel Marjamäki
|
5920dbb7e7
|
Fixed #2466 (Tokenizer: simplification of enum)
|
2011-01-15 08:21:06 +01:00 |
Robert Reif
|
8ecba0af90
|
Fixed #2464 (False positive: not initialised/not assigned Static variable in copy constructors.)
|
2011-01-15 08:04:50 +01:00 |
Robert Reif
|
708a75e363
|
Fixed #2452 (syntax error when 'void f(typedef int x)' is used. causes segmentation fault.)
|
2011-01-14 07:41:22 +01:00 |
Daniel Marjamäki
|
79e52a8c45
|
Fixed #2296 (Tokenizer: simplifyKnownVariable doesn't simplify pointer properly 'delete [] p;')
|
2011-01-11 19:34:35 +01:00 |
Reijo Tomperi
|
226b605774
|
Change year 2010 -> 2011 in license texts.
|
2011-01-09 21:33:36 +02:00 |
Daniel Marjamäki
|
88abb32ddf
|
Fixed #2429 (Tokenizer: Wrong simplification of 'sizeof .1250E+04')
|
2011-01-09 10:09:54 +01:00 |
Robert Reif
|
bfc95e01c1
|
Fixed #2426 (### Internal error in Cppcheck. Please report it.)
|
2011-01-07 08:02:47 +01:00 |
Daniel Marjamäki
|
1b3a5ed0be
|
Tokenizer: simplify NULL to 0 in the normal token list
|
2011-01-06 20:16:14 +01:00 |
Daniel Marjamäki
|
616914c1ff
|
Tokenizer: simple refactorings. and added a few comments
|
2011-01-06 12:07:37 +01:00 |
Daniel Marjamäki
|
a0d62e041f
|
Tokenizer: Fixed memory corruption
|
2011-01-05 19:38:22 +01:00 |
Robert Reif
|
157498e694
|
Fixed #2412 (typedef: struct with inheritance)
|
2011-01-05 17:42:55 +01:00 |
Robert Reif
|
ed6f683573
|
typedef: better handling. ticket: #2414
|
2011-01-05 17:39:53 +01:00 |
Daniel Marjamäki
|
d700f25518
|
Fixed #2399 (Tokenizer::simplifyKnownVariables: variables in conditions)
|
2011-01-04 21:35:35 +01:00 |
Daniel Marjamäki
|
63c1ee375e
|
Fixed #2398 (false positive: Uninitialized variable)
|
2011-01-04 19:36:29 +01:00 |
Daniel Marjamäki
|
2c6421d162
|
Merge branch 'master' of https://github.com/rgeissert/cppcheck into rgeissert-realloc
|
2011-01-04 18:21:18 +01:00 |
Robert Reif
|
63208e87d3
|
typedef: delete unhandled typedefs. ticket: #2348
|
2011-01-04 07:43:40 +01:00 |
Robert Reif
|
a782d3ddf7
|
typedef: fix testcase 4. ticket: #2375
|
2011-01-04 07:39:41 +01:00 |
Robert Reif
|
63ad1fbe69
|
Fixed #2400 (Tests crashing in Windows)
|
2011-01-04 07:34:32 +01:00 |
Raphael Geissert
|
3d9550b0bf
|
Simplify "x = realloc (0, n);" to "x = malloc(n);"
|
2011-01-02 17:46:10 -06:00 |