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 |
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 |