Ettl Martin
|
a83aced2ec
|
fixed uninitialized members in tests
|
2011-01-21 23:48:42 +01:00 |
Daniel Marjamäki
|
07e097561c
|
dmake and Makefile updates
|
2011-01-21 20:51:01 +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
|
8cec4e6de6
|
Makefile: updated with dmake
|
2011-01-21 07:43:04 +01:00 |
Robert Reif
|
d73709a620
|
Symbol database: rename variables. ticket: #2468
|
2011-01-21 07:42: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
|
10d2909c7c
|
CLI: updated help text for --inline-suppr. Thanks rubicon_hdr for the suggestion
|
2011-01-20 20:29:06 +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 |
Robert Reif
|
9dce0dd75c
|
Symbol database: refactoring of classAndStructTypes parsing. ticket: #2468
|
2011-01-20 18:02: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 |
Daniel Marjamäki
|
856a631f35
|
Fixed #2483 (SymbolDatabase compiler warning (VS2008/VS2010))
|
2011-01-19 07:33:38 +01: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 |
Kimmo Varis
|
86ac25456e
|
Move sameFileName() method to Path class.
Ticket #2445 (Move FileLister classes from LIB to CLI). Moving
sameFileName() to Path allows moving FileLister* classes to CLI.
|
2011-01-18 19:58:16 +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
|
ea01c04108
|
Added parenths to fix build breakage.
|
2011-01-18 21:07:33 +11:00 |
Pete Johns
|
62063aa250
|
Refactored to remove code duplication.
|
2011-01-18 20:51:57 +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 |
Robert Reif
|
c994508c3e
|
Symbol database: Refactor the variables API. ticket: #2468
|
2011-01-18 07:32:06 +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 |
Zachary Blair
|
481907ef14
|
Fixed #2457 (CheckOther::checkIncorrectLogicOperator: hang if variable id is 0)
|
2011-01-16 13:57:29 -08:00 |
Pete Johns
|
9c300813a4
|
Fixed gcc warning.
|
2011-01-17 08:52:26 +11: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
|
93d1313186
|
Refactoring: Check if type is class/struct through symbol database
|
2011-01-16 19:57:29 +01:00 |
Daniel Marjamäki
|
e6a1efa13b
|
Fixed #2302 (Duplicate id 'unusedVariable')
|
2011-01-16 18:45:05 +01:00 |
Robert Reif
|
d341b42b0c
|
Symbol database: increased constness. ticket: #2468
|
2011-01-16 18:13:54 +01:00 |
Daniel Marjamäki
|
657c22d23b
|
cppcheck: output errorlist to stdout
|
2011-01-16 17:18:09 +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 |
Robert Reif
|
66be74a5af
|
Symbol database: Refactorings. Move check-specific code to check. Ticket: #2468
|
2011-01-16 16:37:11 +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 |