Sébastien Debrard
|
53c36f53ef
|
Merge branch 'master' of http://github.com/danmar/cppcheck
|
2011-01-22 10:49:26 +01:00 |
Daniel Marjamäki
|
bc31f317bc
|
Fixed #2491 (Tokenizer::setVarId : wrong handling of function call: 'a(b * c, 1);')
|
2011-01-22 09:27:16 +01:00 |
Sébastien Debrard
|
1eccc2937c
|
Merge branch 'master' of http://github.com/danmar/cppcheck
|
2011-01-22 02:41:42 +01:00 |
Ettl Martin
|
a83aced2ec
|
fixed uninitialized members in tests
|
2011-01-21 23:48:42 +01:00 |
Sébastien Debrard
|
5842a6a403
|
ticket 155
|
2011-01-21 20:16:37 +01:00 |
Robert Reif
|
767e01e24a
|
Fixed #2478 (Crash when trying to analyze files (CheckClass::checkReturnPtrThis))
|
2011-01-21 19:54:41 +01:00 |
Daniel Marjamäki
|
87e3e9e703
|
Fixed #2488 (false positive with updating iterator in a for loop)
|
2011-01-20 20:48:35 +01:00 |
Daniel Marjamäki
|
a21f8eec7c
|
Fixed #2481 (false positive with break: After insert, the iterator '*' may be invalid)
|
2011-01-20 19:26:52 +01:00 |
Daniel Marjamäki
|
70eadb37bd
|
Fixed #2481 (false positive with 'break;': After insert, the iterator '*' may be invalid)
|
2011-01-19 21:00:46 +01:00 |
Daniel Marjamäki
|
b1b8ea6457
|
added unit test for #2482
|
2011-01-19 20:41:46 +01:00 |
Daniel Marjamäki
|
ecac93ebed
|
Fixed #2462 (false positive: (warning) Redundant code: Found a statement that begins with numeric constant)
|
2011-01-19 18:37:33 +01:00 |
Pete Johns
|
94aafa482c
|
Fixed #2480 (false positive on unused private function)
|
2011-01-19 20:32:08 +11:00 |
Kimmo Varis
|
0cacc7fe4d
|
Update Visual Studio project files.
Update Visual Studio 2008/2010 project files after moving filelister*
files from lib/ to cli/.
|
2011-01-18 20:55:17 +02:00 |
Kimmo Varis
|
b8b2e3fae9
|
Move filelister* to cli.
Ticket #2445 (Move FileLister classes from LIB to CLI).
|
2011-01-18 19:58:49 +02:00 |
Pete Johns
|
75767705c7
|
Added testDoesNotIdentifyCallback for #2480
TODO
|
2011-01-18 21:50:22 +11:00 |
Pete Johns
|
0e1bab6dc3
|
Merge branch 'multi_indirection_templates'
|
2011-01-18 21:08:04 +11:00 |
Pete Johns
|
abfd907763
|
Made isVariableDeclarationIdentifiesTemplatedPointerToPointerVariable() pass.
And added isVariableDeclarationIdentifiesTemplatedArrayVariable() (passing) into the bargain.
|
2011-01-18 20:14:12 +11:00 |
Pete Johns
|
69d4db714e
|
Added TODO test cases for template variables with multiple levels of pointer indirection
Following email from Robert Reif
|
2011-01-18 18:29:42 +11:00 |
Robert Reif
|
8631ee65a3
|
Fixed #2474 (false positive: Member variable 'A::m_SemVar' is not initialised in the constructor.)
|
2011-01-18 07:34:11 +01:00 |
Daniel Marjamäki
|
965c1a94fd
|
Fixed #2475 (False positive in structure initialisation: The scope of the variable bits can be reduced)
|
2011-01-17 20:51:15 +01:00 |
Kimmo Varis
|
bd5e9e5309
|
Improve checking -D arguments for command line.
|
2011-01-17 21:19:27 +02:00 |
Kimmo Varis
|
6dd16d3919
|
Fix crash when giving -D without argument.
Fixes ticket #2476 (Crash when -D used without parameters.)
|
2011-01-17 21:03:22 +02:00 |
Daniel Marjamäki
|
b5020468f6
|
Fixed #2467 (false positive: possible nullptr dereference)
|
2011-01-17 19:23:00 +01:00 |
Daniel Marjamäki
|
065e2e277e
|
Fixed #2473 (False positive: Memory leak when there is local struct)
|
2011-01-17 19:00:21 +01:00 |
Robert Reif
|
959e10cee5
|
Symbol database: renamed classes. ticket: #2468
|
2011-01-17 18:29:19 +01:00 |
Robert Reif
|
bf9528558e
|
Symbol database: pulled out classes into global scope. ticket: #2468
|
2011-01-17 07:21:59 +01:00 |
Pete Johns
|
7918c4b804
|
isVariableDeclaration() now detects template variables.
|
2011-01-17 08:36:53 +11:00 |
Pete Johns
|
38c37ad2d8
|
Moved array declaration detection into isVariableDeclaration()
|
2011-01-17 08:36:52 +11:00 |
Daniel Marjamäki
|
e6a1efa13b
|
Fixed #2302 (Duplicate id 'unusedVariable')
|
2011-01-16 18:45:05 +01:00 |
Daniel Marjamäki
|
61aa86f201
|
testcppcheck: check that Cppcheck::getErrorMessages output is not empty
|
2011-01-16 17:07:12 +01:00 |
Daniel Marjamäki
|
f50971a65a
|
testcppcheck: test Cppcheck::getErrorMessages
|
2011-01-16 17:06:07 +01:00 |
Daniel Marjamäki
|
615c92c83b
|
testcppcheck: cleanup
|
2011-01-16 16:45:00 +01:00 |
Daniel Marjamäki
|
483e50d5bc
|
testcppcheck: removed 'parseArgsAndCheck' and 'parseOutputtingArgs'. Such tests belong to testcmdlineparser
|
2011-01-16 16:34:29 +01:00 |
Daniel Marjamäki
|
206565c837
|
testcppcheck: removed nonexistingpath and include tests. The Cppcheck class doesn't handle this.
|
2011-01-16 16:32:05 +01:00 |
Daniel Marjamäki
|
f862b37c71
|
testcppcheck: the xml and template output is tested in testerrorlogger instead
|
2011-01-16 16:26:33 +01:00 |
Daniel Marjamäki
|
e3e32de22e
|
testcppcheck: the testcmdlineparser tests invalid command line arguments
|
2011-01-16 16:22:46 +01:00 |
Daniel Marjamäki
|
4661e38c65
|
testcppcheck: linenumbers are tested in the other tests
|
2011-01-16 16:21:34 +01:00 |
Daniel Marjamäki
|
c841908149
|
testcppcheck: command line parsing of -D is tested in testcmdlineparser.cpp
|
2011-01-16 16:19:40 +01:00 |
Daniel Marjamäki
|
03ddfcb5b3
|
testcppcheck: parsing templates is tested in testcmdlineparser.cpp
|
2011-01-16 16:17:53 +01:00 |
Daniel Marjamäki
|
a97e28491f
|
Fixed #2407 (False positive: unused private function)
|
2011-01-16 12:16:31 +01:00 |
Daniel Marjamäki
|
f72fd6960e
|
Fixed #2449 (segfault in tokenize.cpp, incorrect parsing)
|
2011-01-16 11:54:28 +01:00 |
Raphael Geissert
|
da998fec68
|
Tokenizer: simplify restrict
|
2011-01-16 11:37:03 +01:00 |
Robert Reif
|
beb2db82a2
|
Fixed #980 (false negative: division by zero when using enum)
|
2011-01-16 11:24:58 +01:00 |
Robert Reif
|
0f6644e1ea
|
Symbol database: Refactorings
|
2011-01-16 11:18:12 +01:00 |
Daniel Marjamäki
|
6edf35ebf5
|
Fixed #2463 (false positive: possible nullpointer dereference)
|
2011-01-15 12:09:36 +01:00 |
Daniel Marjamäki
|
97d0755750
|
Fixed #2454 (Tokenizer::simplifyKnownVariables: problem with float/double variables)
|
2011-01-15 08:48:42 +01:00 |
Daniel Marjamäki
|
cf32016444
|
removed old comment
|
2011-01-15 08:30:54 +01:00 |
Daniel Marjamäki
|
5920dbb7e7
|
Fixed #2466 (Tokenizer: simplification of enum)
|
2011-01-15 08:21:06 +01:00 |
Robert Reif
|
8ecba0af90
|
Fixed #2464 (False positive: not initialised/not assigned Static variable in copy constructors.)
|
2011-01-15 08:04:50 +01:00 |
Robert Reif
|
79b9939610
|
Fixed #2465 (False positive: not initialised variable, but there is default constructor for it.)
|
2011-01-15 07:59:37 +01:00 |