Daniel Marjamäki
|
9021f0f180
|
Tokenizer::simplifyTemplates: Broke out the functionality that handles default template arguments
|
2011-02-12 20:27:44 +01:00 |
Daniel Marjamäki
|
00bdf618f2
|
Tokenizer::simplifyTemplates: Broke out the functionality that extract a list of template instantiations
|
2011-02-12 20:17:58 +01:00 |
Daniel Marjamäki
|
25d6bfe3c4
|
Tokenizer::simplifyTemplates: broke out the functionality that extract a list of template declarations
|
2011-02-12 20:12:07 +01:00 |
Daniel Marjamäki
|
654116af61
|
Tokenizer::simplifyTemplates: Broke out handling for 'template<>..'
|
2011-02-12 19:43:33 +01:00 |
Daniel Marjamäki
|
63ade3e4f6
|
Tokenizer::simplifyKnownVariables: Split up the function into smaller functions. Broke out ..GetData function that extracts info about assigned variable before the simplification is made.
|
2011-02-12 09:24:20 +01:00 |
Robert Reif
|
78b5361ec8
|
fix #2568 (False positive: (style) Union 'A_t' hides typedef with same name (forward declaration))
|
2011-02-11 19:09:24 -05:00 |
Daniel Marjamäki
|
951a81d0d2
|
Tokenizer::simplifyKnownVariables: Broke out the simplification into a separate function
|
2011-02-11 20:12:51 +01:00 |
Robert Reif
|
e6848aef98
|
Tokenizer: refactor duplicated token copy code info function
|
2011-02-09 22:02:17 -05: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
|
49fc53165c
|
Tokenizer: remove some unhandled macros in the global scope. ticket: #2523
|
2011-01-30 08:34:58 +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
|
d341b42b0c
|
Symbol database: increased constness. ticket: #2468
|
2011-01-16 18:13:54 +01:00 |
Reijo Tomperi
|
226b605774
|
Change year 2010 -> 2011 in license texts.
|
2011-01-09 21:33:36 +02:00 |
Robert Reif
|
63208e87d3
|
typedef: delete unhandled typedefs. ticket: #2348
|
2011-01-04 07:43:40 +01:00 |
Daniel Marjamäki
|
e385323b65
|
Tokenizer: Added doxygen comments
|
2011-01-01 11:26:48 +01:00 |
Daniel Marjamäki
|
71acf78c64
|
Tokenizer: added doxygen comments
|
2011-01-01 09:26:24 +01:00 |
Daniel Marjamäki
|
d005245188
|
fixed doxygen warnings
|
2010-12-30 22:13:31 +01:00 |
Daniel Marjamäki
|
38e7209d26
|
Fixed #2373 (Using XML2 in --errorlist output)
|
2010-12-29 12:43:29 +01:00 |
vBm
|
46a11183a5
|
Fixed some spelling mistakes
|
2010-12-15 18:45:53 +01:00 |
Robert Reif
|
b6acfa809b
|
Symbol database: creates a single symbol database within Tokenizer on demand and changes all checks to use it
|
2010-12-07 07:08:49 +01:00 |
Daniel Marjamäki
|
ab336b9088
|
Tokenizer: Added a few comments
|
2010-12-04 15:49:25 +01:00 |
Robert Reif
|
eda4bcae29
|
Fixed #2271 (Tokenizer: simplify Qt signals and slots)
|
2010-12-02 17:41:49 +01:00 |
Robert Reif
|
f12c0c7ada
|
Tokenizer: add assert(_settings) to Tokenizer to insure the tokenizer always has settings. Ticket: #2219
|
2010-12-01 18:00:55 +01:00 |
Robert Reif
|
1842a122da
|
reuse symbol database in checkmemoryleak.cpp. ticket: #2219
|
2010-11-23 18:41:07 +01:00 |
Daniel Marjamäki
|
23d3fd3a5a
|
Fixed #2147 (uninitialized variable: false negative for 'x += y;')
|
2010-10-31 08:47:13 +01:00 |
Daniel Marjamäki
|
9435fde551
|
Tokenizer: Added function for checking if code is Java/C#
|
2010-10-28 18:51:55 +02:00 |
Pete Johns
|
8022baec2a
|
Removed unnecessary code duplication.
|
2010-10-27 19:34:06 +11:00 |
Daniel Marjamäki
|
e0ba626351
|
ClassInfo: Removed unused functionality
|
2010-10-08 19:43:41 +02:00 |
Daniel Marjamäki
|
6eeed00888
|
Fixed #2067 (Template methods do not 'use' private ones)
|
2010-09-30 21:22:49 +02:00 |
Daniel Marjamäki
|
929a54e1b0
|
Fixed #2038 (memleak false positive with assignment expression in arguments)
|
2010-09-09 19:40:36 +02:00 |
Daniel Marjamäki
|
427c0f4bfd
|
Fixed #1975 (segmentation fault of cppcheck)
|
2010-09-02 23:01:12 +02:00 |
Daniel Marjamäki
|
eb74bfc15a
|
Fixed #2007 (False positive: member variable not initialized (Borland C++ property))
|
2010-09-01 18:10:12 +02:00 |
Robert Reif
|
499a12c896
|
Tokenizer::simplifyTypedef: Report about unhandled typedefs. Ticket: #1821
|
2010-08-26 20:44:13 +02:00 |
Daniel Marjamäki
|
cfa7b4906e
|
Symbol database: bug fixes. Ticket: #1895
|
2010-08-18 22:42:04 +02:00 |
Daniel Marjamäki
|
fe482785aa
|
Variable Id: Fixed various bugs related to templates and bitfields. Ticket: #1928
|
2010-08-15 11:54:28 +02:00 |
Daniel Marjamäki
|
7fb44d1995
|
gcc: fixed some compiler warnings when using -Wsign-conversion
|
2010-08-06 18:32:31 +02:00 |
Daniel Marjamäki
|
6346e1aa90
|
Borland C++: Fixed compiler errors
|
2010-08-06 17:44:26 +02:00 |
Daniel Marjamäki
|
a274cb1015
|
cleanup headers
|
2010-07-31 08:52:28 +02:00 |
Daniel Marjamäki
|
0c65796984
|
Refactoring: Cleanup headers using checkheaders
|
2010-07-24 22:12:56 +02:00 |
Daniel Marjamäki
|
f69109fbf6
|
Fixed #1828 (### Internal error in Cppcheck. Please report it.)
|
2010-07-22 19:57:48 +02:00 |
Robert Reif
|
b33fb48618
|
Fixed #1816 (Tokenizer: remove restrict keyword)
|
2010-06-30 08:10:39 +02:00 |
Daniel Marjamäki
|
83c62eca9c
|
Tokenizer: simplify loops that continue while errno is EINTR
|
2010-05-30 12:49:39 +02:00 |
Robert Reif
|
dc34a1b3ff
|
Fixed #1711 (Wrong typedef name shown when struct declared with __attribute__)
|
2010-05-27 18:15:42 +02:00 |
Daniel Marjamäki
|
78255fdfc5
|
Tokenizer: Removed the Tokenizer::simplifyNamespaces. Ticket: #1700
|
2010-05-23 13:51:41 +02:00 |
Robert Reif
|
f8cceface5
|
Fixed #1677 (False positive: (style) Variable 'xxx' is assigned a value that is never used)
|
2010-05-13 13:59:41 +02:00 |
Slava Semushin
|
f50d182750
|
Fixed #1574 (chain assignments could be simplified)
http://sourceforge.net/apps/trac/cppcheck/ticket/1574
|
2010-05-01 15:28:35 +07:00 |
Robert Reif
|
99a7755218
|
tokenizer improvements: remove calling convention (#1619)
|
2010-04-24 09:40:05 +02:00 |
Robert Reif
|
90541386da
|
Fixed #1619 (tokenizer: remove calling convention)
|
2010-04-21 21:08:47 +02:00 |
Robert Reif
|
3bbb2e1d7f
|
Fixed #1601 (change simplifyInitVar to split declaration from initialization)
|
2010-04-14 19:04:16 +02:00 |
Reijo Tomperi
|
35d2a27b9c
|
Update copyright year in all source files
|
2010-04-13 22:23:17 +03:00 |
Robert Reif
|
67fafd4028
|
Fixed #1588 (typedef struct incorrectly simplified)
|
2010-04-12 19:05:31 +02:00 |
Daniel Marjamäki
|
8a8547e6b7
|
astyle formatting
|
2010-04-03 14:28:32 +02:00 |
Daniel Marjamäki
|
a4144b9d18
|
Refactoring: Moved copy/paste code in Tokenizer
|
2010-04-03 09:54:10 +02:00 |
Daniel Marjamäki
|
ff38bbf468
|
Cleanup: The Tokenizer doesn't need to handle UTF in code nor multiline string. That is handled in the Preprocessor.
|
2010-04-02 20:48:32 +02:00 |
Robert Reif
|
ef57d01f7a
|
Fixed #1492 (false negatives: array index out of bounds)
|
2010-03-31 17:14:49 +02:00 |
Robert Reif
|
62d2845014
|
Fixed #1492 (false negatives: array index out of bounds)
|
2010-03-28 15:56:13 +02:00 |
Robert Reif
|
5ea7e32bf9
|
Partial fix for #1493 (false positives: function can be const and struct or union member is never used)
|
2010-03-18 18:14:52 +01:00 |
Daniel Marjamäki
|
e911d1f1df
|
doxygen updates
|
2010-03-17 22:16:18 +01:00 |
Daniel Marjamäki
|
89719b023e
|
unit testing: made Tokenizer functions public so they can be unit tested
|
2010-03-17 22:08:02 +01:00 |
Daniel Marjamäki
|
12c45a1aba
|
Fixed #1476 (false positive: Uninitialized variable)
|
2010-03-16 19:53:09 +01:00 |
Daniel Marjamäki
|
772aa95c8a
|
Fixed #1477 (false positive: Uninitialized variable when pointer given to struct)
|
2010-03-13 11:52:48 +01:00 |
Reijo Tomperi
|
b88126a669
|
Fix #1469 (False positive: Resource leak when fclose() is inside while)
http://sourceforge.net/apps/trac/cppcheck/ticket/1469
|
2010-03-06 16:28:52 +02:00 |
Daniel Marjamäki
|
459a3bac50
|
Fixed #1396 (false positive: Resource leak)
|
2010-02-21 09:47:41 +01:00 |
Daniel Marjamäki
|
7a72932078
|
Tokenizer: simple simplification of array sizes
|
2010-02-20 18:13:09 +01:00 |
Robert Reif
|
24628013f1
|
Fixed #1427 (new check: check for typedef name hiding)
|
2010-02-20 09:07:29 +01:00 |
Robert Reif
|
f15c408f13
|
Fixed #1388 (enum token/template parameter confusion - False positive)
|
2010-02-16 07:33:23 +01:00 |
Daniel Marjamäki
|
9394816fcf
|
Refactoring: Use std::string instead of const char *
|
2010-02-14 19:58:17 +01:00 |
Reijo Tomperi
|
17b8d025a3
|
Fix operator= warning from our own code.
|
2010-02-12 22:38:17 +02:00 |
Daniel Marjamäki
|
1375a60e3f
|
Fixed #1004 (improve check: Unintialized variable not detected when using a reference (&))
|
2010-01-31 16:29:12 +01:00 |
Daniel Marjamäki
|
e15a16eb15
|
Tokenizer: Remove redundant assignments and variables
|
2010-01-31 09:33:57 +01:00 |
Daniel Marjamäki
|
3b08712930
|
Fixed #1005 (improve check: nullpointer dereference not found when it is initialized with NULL-cast)
|
2010-01-30 09:33:16 +01:00 |
Reijo Tomperi
|
1d5ba4e320
|
Improved updateClassList(), but not yet took it into use.
findClassFunction is now non-static.
updateClassList usage is currently commented out as it doesn't handle class inside a function
|
2010-01-29 23:22:18 +02:00 |
Reijo Tomperi
|
24052c16b4
|
Fix some style errors found from our own code.
|
2010-01-23 23:44:08 +02:00 |
Reijo Tomperi
|
7817d5b142
|
Fix #1279 (Change error message: Invalid number of character ({). Can't process file.)
http://sourceforge.net/apps/trac/cppcheck/ticket/1279
|
2010-01-23 23:18:11 +02:00 |
Daniel Marjamäki
|
1552c0f7f2
|
Fixed #1276 (False Uninitialized variable when using goto)
|
2010-01-22 20:20:43 +01:00 |
Daniel Marjamäki
|
96359b14ff
|
Simplify function pointers
|
2010-01-20 21:19:06 +01:00 |
Daniel Marjamäki
|
f3e25a5244
|
Fixed doxygen error messages
|
2010-01-17 16:38:28 +01:00 |
Daniel Marjamäki
|
2358c51694
|
Tokenizer: some cleanup of std::
|
2010-01-12 21:25:31 +01:00 |
Robert Reif
|
13f627d0d5
|
Fixed #1215 (are enums processed properly?)
|
2010-01-04 17:22:06 +01:00 |
Robert Reif
|
bcafb30d0d
|
Fixed #1211 (add struct support for constructor checks)
|
2010-01-02 17:29:55 +01:00 |
Daniel Marjamäki
|
197bcf17ba
|
Tokenizer: Simplify 'while (0)' better
|
2009-12-28 08:37:34 +01:00 |
Reijo Tomperi
|
54629ff221
|
Fix #1037 (tokenizing a nested do while, while loop fails)
http://sourceforge.net/apps/trac/cppcheck/ticket/1037
|
2009-12-04 00:06:03 +02:00 |
Reijo Tomperi
|
57aac9270a
|
validator bugs are now printed using the errorlogger
|
2009-11-28 23:08:43 +02:00 |
Reijo Tomperi
|
2ff6ac9768
|
Fix #1003 (Compiler warning: is there a reason for Tokenizer::getErrorMessages to be virtual?)
Destructor is now virtual.
http://sourceforge.net/apps/trac/cppcheck/ticket/1003
|
2009-11-22 16:06:33 +02:00 |
Daniel Marjamäki
|
092f64b77a
|
Fixed #982 (Preprocessor: detects and remove conditions which always true)
|
2009-11-21 19:53:07 +01:00 |
Reijo Tomperi
|
c4244ac9e8
|
Fix #945 (Array index out of bounds not detected, because of "int const")
http://sourceforge.net/apps/trac/cppcheck/ticket/945
|
2009-11-12 23:49:39 +02:00 |
Reijo Tomperi
|
4372b3aa92
|
Use validate after tokenize and simplifyTokenlist calls. Disabled until known problems fixed.
|
2009-11-10 23:10:56 +02:00 |
Reijo Tomperi
|
de4ca924b5
|
Fixed #896 (False positive with --all when return value of open() is positive in a loop)
http://sourceforge.net/apps/trac/cppcheck/ticket/896
|
2009-11-05 00:58:15 +02:00 |
Daniel Marjamäki
|
09859c1019
|
refactoring the folder structure
|
2009-10-25 12:49:06 +01:00 |