Robert Reif
|
092ba0b1de
|
fix symbol database bug where function variable type of a nested class was not found
|
2011-09-28 22:05:26 -04:00 |
Robert Reif
|
40009d091d
|
add multi-dimension array support to second checkScope and use it for member arrays
|
2011-09-11 20:42:57 -04:00 |
Robert Reif
|
7cb5c97e7d
|
move member variable lookup code from a check to the symbol database so it can be reused by other checks
|
2011-09-03 12:22:13 -04:00 |
Robert Reif
|
d749e28dc0
|
another partial fix for #3063 (false negative: multi dimensional arrays not well supported)
|
2011-09-02 21:07:29 -04:00 |
Robert Reif
|
7775934492
|
really fix multi-dimensional arrays with undefined size
|
2011-08-28 13:32:42 -04:00 |
Robert Reif
|
cf6d04de74
|
fix #3044 (Symbol database: handle multidim array with unknown dimension 'char a[][4]')
|
2011-08-28 11:40:55 -04:00 |
Robert Reif
|
dfe89f395a
|
fix #3049 (False Positive - Technically the member function 'VideoOutputNull::SetupDeinterlace' can be const.)
|
2011-08-25 19:13:53 -04:00 |
Robert Reif
|
6f3131da8c
|
fix a serious symbol database bug where parts of a function could be skipped
|
2011-08-23 20:12:29 -04:00 |
Robert Reif
|
88019658b4
|
fix #3013 (segmentation fault of cppcheck ( struct x : virtual y ))
|
2011-08-16 19:16:58 -04:00 |
Robert Reif
|
f7b9d4d726
|
fix #2991 (segmentation fault of cppcheck ( ::y(){x} ))
|
2011-08-11 17:57:54 -04:00 |
Robert Reif
|
54141f2e7f
|
fix #2943 (Symbol database: Wrong parsing of std::vector as base class.)
|
2011-07-27 11:23:22 -04:00 |
Robert Reif
|
5e1fd81ea7
|
add support for local variables with constructors to the symbol database
|
2011-07-23 15:12:30 -04:00 |
Robert Reif
|
d447e61b09
|
fix #2884 (Integer overflow warning in 64-bit build)
|
2011-07-01 16:59:17 -04:00 |
Robert Reif
|
c99a15516d
|
fix symbol database derived template class support
|
2011-06-29 19:52:07 -04:00 |
Robert Reif
|
18369ea6ac
|
add global namespace derived class support
|
2011-06-29 19:43:39 -04:00 |
Robert Reif
|
272eb445fb
|
fix #2865 (segmentation fault of cppcheck ( char a[1] ))
|
2011-06-27 07:31:10 -04:00 |
Robert Reif
|
93495613dd
|
replace some pattern matching with variable lookup in checkGlobalAndLocalVariable
|
2011-06-24 08:02:41 -04:00 |
Robert Reif
|
4656eba34c
|
set symbol database array variable dimensions specified by a variable to the maximum size that variable can hold
|
2011-06-23 22:35:15 -04:00 |
Robert Reif
|
0c46f44e3d
|
add array information to symbol database
|
2011-06-22 22:41:11 -04:00 |
Robert Reif
|
e8eb20c6ef
|
fix debug warning for function parameters with template with varid of 0
|
2011-04-28 20:53:31 -04:00 |
Robert Reif
|
6750c7b492
|
don't debug warn about class function definitions without body having missing varid on function parameters
|
2011-04-22 21:41:55 -04:00 |
Greg Hewgill
|
3fc1db51d1
|
Change symbol database such that the typestart token skips over type modifiers (const/static/mutable).
This fixes checking for the case of a memset() on a static variable.
|
2011-04-23 01:13:23 +12:00 |
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 |