Reijo Tomperi
|
6db663f6de
|
Fix #1322 (Add cppcheckError and unusedFunction to --errorlist, give out internal errors in xml)
http://sourceforge.net/apps/trac/cppcheck/ticket/1322
|
2010-04-04 23:55:28 +03:00 |
Daniel Marjamäki
|
abceff497b
|
Refactoring: some refactoring of ExecutionPath. The foundError was removed. No automatic bailout of all checks are made when errors are found.
|
2010-04-04 11:24:52 +02:00 |
Daniel Marjamäki
|
78852b08ab
|
Fixed #1566 (false negative: uninitialized variable)
|
2010-04-04 09:17:53 +02:00 |
Daniel Marjamäki
|
849be383e6
|
Tokenizer: tokenize 1E-2 into a single token
|
2010-04-04 08:01:05 +02:00 |
Reijo Tomperi
|
be598757a1
|
Fix segmentation fault when calling with --errorlist and add a testcase for it.
|
2010-04-03 22:53:06 +03:00 |
Daniel Marjamäki
|
a8f566bfcd
|
Cleanup: Removed redundant simplification in checkmemoryleak.cpp
|
2010-04-03 20:47:38 +02:00 |
Daniel Marjamäki
|
6acb304ef2
|
Cleanup: Removed unfinnished checking of std::find
|
2010-04-03 15:33:13 +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
|
f8367da1fd
|
Refactoring: broke out copy/pasted code
|
2010-04-03 09:17:16 +02:00 |
Daniel Marjamäki
|
5f9e14e242
|
Borland C++: Fixed compiler error
|
2010-04-03 07:51:40 +02:00 |
Reijo Tomperi
|
38d64d0520
|
astyle fix
|
2010-04-02 23:44:24 +03:00 |
Martin Ettl
|
622663b8db
|
added a helper function to mathlib::isNullValue(), it checks wheter a string has a null representation or not and returns a boolian result; extended nullchecks in testmathlib.cpp
|
2010-04-02 22:41:54 +02:00 |
Daniel Marjamäki
|
427d155644
|
Fixed #1527 (Function can't be const if it has non-const operator overload call)
|
2010-04-02 22:03:07 +02:00 |
Reijo Tomperi
|
93d4851040
|
astyle fix
|
2010-04-02 22:17:09 +03:00 |
Martin Ettl
|
f36af278d0
|
#ticket #1513 added asin() support
|
2010-04-02 21:02:39 +02:00 |
Martin Ettl
|
0c2f4831d8
|
#ticket #1513 added asin() support
|
2010-04-02 20:59:39 +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 |
Reijo Tomperi
|
a1d0defbc0
|
astyle fix
|
2010-04-02 21:42:06 +03:00 |
Martin Ettl
|
5a21fe7ae8
|
Merge branch 'master' of git@github.com:danmar/cppcheck
|
2010-04-02 20:24:04 +02:00 |
Daniel Marjamäki
|
1d1d79a1e5
|
Cleanup: Removed unused %name% cmd for patterns
|
2010-04-02 20:25:13 +02:00 |
Martin Ettl
|
c391a03db6
|
added acos() check to ticket #1513; added testcases for MathLib::toDoubleNumber(), now double conversion of zeros is handled correctly; changed assertEquals() function of testsuite parameters from unsigned int to double. This is needed to avoid overflow of unsigned int by comparing negative floating point values.
|
2010-04-02 20:23:37 +02:00 |
Daniel Marjamäki
|
c6bbc9d739
|
Fixed #1565 (False positive: Uninitialized variable 'B::j'. There are 2 classes with the name 'B')
|
2010-04-02 19:29:54 +02:00 |
Martin Ettl
|
9788333ee9
|
added log10() check, for checking about parameters passed to mathfunctions that do not make sense
|
2010-04-02 19:17:41 +02:00 |
Robert Reif
|
805c683c1a
|
Cleanup: Removed unneeded code
|
2010-04-02 18:55:27 +02:00 |
Daniel Marjamäki
|
734b10e650
|
Fixed #1479 (false positive: unintialized variable when using goto)
|
2010-04-02 08:35:05 +02:00 |
Robert Reif
|
3507b06e0b
|
Fixed #1563 (false positive: function can be const (assignment to static))
|
2010-04-02 08:02:47 +02:00 |
Robert Reif
|
1dcbf02bd8
|
Fixed #1553 (false positive : uninitialized variable for struct timeval from <sys/time>)
|
2010-04-02 07:36:18 +02:00 |
Daniel Marjamäki
|
8b5aae9adb
|
astyle formatting
|
2010-04-02 07:32:03 +02:00 |
Daniel Marjamäki
|
0cad22314e
|
Reverted 'astyle fix'. Those changes are not in sync with my astyle configuration/setup.
|
2010-04-02 07:30:58 +02:00 |
Martin Ettl
|
193aa7d1d3
|
astyle fix
|
2010-04-02 02:21:53 +02:00 |
Martin Ettl
|
b5fb01c202
|
ticket #1513 new check: Detecting obviously wrong math call arguments passed to math functions)
|
2010-04-02 02:19:38 +02:00 |
Reijo Tomperi
|
c7d36b73ed
|
Fix #1548 (False positive: array index out of bounds in for-loop)
http://sourceforge.net/apps/trac/cppcheck/ticket/1548
|
2010-04-01 22:35:36 +03:00 |
Robert Reif
|
2825773918
|
Fixed #1552 (false positive: function can be const (array of struct))
|
2010-04-01 17:01:52 +02:00 |
Robert Reif
|
2c5fb55c3b
|
Fixed #1551 (false positive: The function 'A::vSet' can be const)
|
2010-04-01 16:59:35 +02:00 |
Robert Reif
|
a8c9aa1f8d
|
Fixed #1550 (Improve check: Assignment to self)
|
2010-04-01 16:40:12 +02:00 |
Reijo Tomperi
|
c460c16cee
|
Fix cross compiling in Linux
Change: #include "fileLister_win32.h" -> #include "filelister_win32.h"
|
2010-03-31 22:54:35 +03:00 |
Daniel Marjamäki
|
a68d8dbc77
|
Fixed #1549 (false positive: uninitialized variable)
|
2010-03-31 20:20:51 +02:00 |
Robert Reif
|
78e54e17f2
|
Unit testing: Added test case for memset. Ticket: #1538
|
2010-03-31 19:53:53 +02:00 |
Robert Reif
|
ef57d01f7a
|
Fixed #1492 (false negatives: array index out of bounds)
|
2010-03-31 17:14:49 +02:00 |
Robert Reif
|
7fb5b9b67b
|
Better checking for assignment to self. Ticket: #1550
|
2010-03-31 17:09:59 +02:00 |
Robert Reif
|
32e597e343
|
Fixed #1539 (False positive: possible error Array index out of bounds)
|
2010-03-30 17:33:17 +02:00 |
Daniel Marjamäki
|
c213227133
|
Fixed #1535 (False positive: member variable not initialized, struct with constructor)
|
2010-03-29 20:34:47 +02:00 |
Robert Reif
|
0bddd1977f
|
Fixed #1536 (###### If you see this, there is a bug ###### Token::Match() - varid was 0)
|
2010-03-29 17:25:38 +02:00 |
Daniel Marjamäki
|
c3edc5fd89
|
Fixed #1148 (improve check: usage of uninitialized variables)
|
2010-03-28 21:27:06 +02:00 |
Daniel Marjamäki
|
9656379ffb
|
Merge branch 'master' of git@github.com:danmar/cppcheck
|
2010-03-28 15:56:38 +02:00 |
Robert Reif
|
62d2845014
|
Fixed #1492 (false negatives: array index out of bounds)
|
2010-03-28 15:56:13 +02:00 |
Reijo Tomperi
|
417f14fccf
|
Fix #1534 (False positive with #elif (defined NAME))
http://sourceforge.net/apps/trac/cppcheck/ticket/1534
|
2010-03-28 15:15:25 +03:00 |
Robert Reif
|
2dc4222c9a
|
Refactoring: Added CheckClass::isMemberFunc
|
2010-03-28 11:46:42 +02:00 |
Daniel Marjamäki
|
16124ce646
|
Fixed #1516 (C++Builder properties mistaken for uninitialized variables)
|
2010-03-28 10:58:03 +02:00 |