Daniel Marjamäki
|
58dbbb0cab
|
Inconclusive checking: Report inconclusive errors with reportInconclusiveError. It takes the same parameters as reportError.
|
2011-04-14 18:02:01 +02:00 |
Robert Reif
|
64fa7bf8d4
|
symbol database: add support for anonymous struct and union
|
2011-03-31 20:54:23 -04:00 |
Robert Reif
|
faaff942d2
|
symbol database: improve function argument count and default argument count
|
2011-03-30 21:59:43 -04:00 |
Robert Reif
|
d17a204096
|
symbol database: get function argument count using argument list size rather than counting commas
|
2011-03-30 21:14:24 -04:00 |
Robert Reif
|
ce934f03a4
|
symbol database: handle default values for function arguments properly
|
2011-03-29 23:16:13 -04:00 |
Robert Reif
|
9612573d8e
|
add support for array of unnamed struct and union to symbol database
|
2011-03-29 19:48:12 -04:00 |
Robert Reif
|
b31da161a7
|
more support for anonymous struct to symbol database
|
2011-03-29 07:47:39 -04:00 |
Robert Reif
|
678486f0db
|
add support for anonymous struct to symbol database
|
2011-03-29 07:08:59 -04:00 |
Robert Reif
|
31f8ff723b
|
skip nested anonymous unions when searching for variables in symbol database
|
2011-03-27 18:37:31 -04:00 |
Robert Reif
|
20853fe273
|
add anonymous union support to the symbol database
|
2011-03-27 13:48:41 -04:00 |
Robert Reif
|
d643918761
|
symbol database: add a link from a Function to its Function Scope namd make function parameters belong to Function Scope
|
2011-03-24 22:08:18 -04:00 |
Robert Reif
|
15fc071514
|
add virtual base class support to symbol database
|
2011-03-21 20:03:41 -04:00 |
Robert Reif
|
41d80b5c8d
|
fix #2664 (False negative: function can be const (using type from another namespace))
|
2011-03-20 12:53:37 -04:00 |
Robert Reif
|
1de35c168d
|
fix #2657 (segmentation fault of cppcheck ( gcc-testsuite: return f(){} ))
|
2011-03-17 20:10:56 -04:00 |
Robert Reif
|
47531dd99c
|
fix #2637 (segmentation fault of cppcheck ( {} const const ))
|
2011-03-15 22:33:14 -04:00 |
Robert Reif
|
3babf6a9eb
|
look for function prototypes but don't save them in the symbol database yet
|
2011-03-13 22:59:25 -04:00 |
Robert Reif
|
47a90851f1
|
save pointer to Function info in function scope in symboldatabase
|
2011-03-13 21:18:49 -04:00 |
Robert Reif
|
836fadcb6a
|
save location of using directive (not used yet)
|
2011-03-13 21:01:33 -04:00 |
Robert Reif
|
51662eeedd
|
save start parentheses of global functions
|
2011-03-12 20:35:52 -05:00 |
Robert Reif
|
79f0fe7d1c
|
refactor symbol database and checks to use list of Scope rather than list of Scope pointers
|
2011-03-10 19:43:29 -05:00 |
Robert Reif
|
c457179ce6
|
fix null pointer dereference found by clang++ --analyze
|
2011-03-08 20:14:46 -05:00 |
Daniel Marjamäki
|
e26a7819d3
|
Symbol database: variable fix. ticket: #2629
|
2011-03-06 21:21:42 +01:00 |
Robert Reif
|
c9b2ab3c26
|
add debug message for function argument missing varid
|
2011-03-02 21:08:27 -05:00 |
Robert Reif
|
3db0e7ef8f
|
fix symbol database bug where delete can be considered a variable declaration
|
2011-02-27 10:35:59 -05:00 |
Robert Reif
|
962183f964
|
add an array flag to symbol database Variable class
|
2011-02-27 10:21:14 -05:00 |
Robert Reif
|
0872f1291e
|
fix a symbol database bug where a return statement could be considered a variable declaration
|
2011-02-27 10:13:40 -05:00 |
Daniel Marjamäki
|
e3f779a41c
|
Symbol database: Fixed debug warnings for true/false. true/false doesn't have varId.
|
2011-02-26 23:58:02 -08:00 |
Robert Reif
|
2b03bfaf38
|
fix a bug in symbol database while scope processing
|
2011-02-26 23:00:06 -05:00 |
Robert Reif
|
8152cbbd1b
|
add a varId to Variable lookup table and fill it in with all variables
|
2011-02-26 15:57:16 -05:00 |
Robert Reif
|
7638a4554e
|
add local scopes to the symbol database
|
2011-02-26 15:53:57 -05:00 |
Robert Reif
|
eda25f6502
|
add a list of function arguments to symbol database Function class
|
2011-02-26 15:51:12 -05:00 |
Robert Reif
|
abbd37d380
|
extend symbol database Variable with more information
|
2011-02-26 09:08:59 -05:00 |
Robert Reif
|
c283bc414d
|
fix symboldatabase global variable detection
|
2011-02-25 07:17:55 -05:00 |
Robert Reif
|
5f84272a52
|
fix segfault: #2591 (cppcheck hangs with 100% cpu load ( class A : ))
|
2011-02-21 14:25:35 -05:00 |
Robert Reif
|
597aea9f15
|
save start of function '{' and start of variable declaration in symbol database so checks don't have to find them
|
2011-02-20 08:25:42 -05:00 |
Robert Reif
|
e6eb160395
|
fix [B#2589 (segmentation fault of cppcheck (struct B : A))
|
2011-02-19 14:38:00 -05:00 |
Robert Reif
|
f9b1505115
|
fix Scope::findInNestedListRecursive to check all children
|
2011-02-19 13:40:02 -05:00 |
Robert Reif
|
218464df89
|
fix #2580 (false postive with Unused private function)
|
2011-02-14 19:50:13 -05:00 |
Robert Reif
|
2aefa5deb5
|
fix #2577 (segmentation fault of cppcheck)
|
2011-02-12 15:35:48 -05:00 |
Robert Reif
|
2900d44ff0
|
#2560 (False positive: The class 'Altren' does not have a constructor, because base class is in namespace.)
|
2011-02-10 07:37:55 -05:00 |
Robert Reif
|
c592ccd35d
|
Fixed #2547 (segmentation fault of cppcheck)
|
2011-02-05 08:59:59 +01:00 |
Robert Reif
|
f87056fca3
|
Fixed #2539 (segmentation fault of cppcheck)
|
2011-02-04 20:19:49 +01:00 |
Robert Reif
|
8288c28b3f
|
Fixed #2537 (segmentation fault of cppcheck)
|
2011-02-03 07:57:10 +01:00 |
Raphael Geissert
|
f8e2d50e6f
|
Use Token::simpleMatch where no special patterns are needed
|
2011-02-02 13:27:02 -06:00 |
Raphael Geissert
|
cf2b6f7bc1
|
Remove useless spacing at the end of *Match strings
|
2011-02-02 13:27:01 -06:00 |
Robert Reif
|
79862573ba
|
Symbol database: better unit testing. ticket: #2468
|
2011-01-28 08:33:02 +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 |
Robert Reif
|
f5b26222ff
|
Symbol database: better handling of functions returning function pointer. ticket: #2468
|
2011-01-23 22:31:35 +01:00 |
Robert Reif
|
2a3cce5001
|
Symbol database: fixed corruptions. ticket: #2468
|
2011-01-23 08:41:31 +01:00 |
Robert Reif
|
8abae6f1e5
|
Symbol database: match copy-constructor better. ticket: #2484
|
2011-01-22 17:43:36 +01:00 |