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 |
Daniel Marjamäki
|
03ddfcb5b3
|
testcppcheck: parsing templates is tested in testcmdlineparser.cpp
|
2011-01-16 16:17:53 +01:00 |
Tim Gerundt
|
95e24cf8cb
|
Web: Add recent commits to devinfo page
|
2011-01-16 14:55:32 +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
|
8ef47dc576
|
astyle formatting
|
2011-01-16 09:57:56 +01:00 |
Daniel Marjamäki
|
8fa26fbd28
|
Memory leaks: Optimised and refactored
|
2011-01-16 09:56:04 +01:00 |
Daniel Marjamäki
|
433ae8abf4
|
STL: Optimised checking
|
2011-01-15 22:38:05 +01:00 |
Daniel Marjamäki
|
bb2862bc97
|
fixed unit test
|
2011-01-15 21:04:20 +01:00 |
Daniel Marjamäki
|
94ebb24d3d
|
Optimising: about 5% improvement with Visual Studio executable
|
2011-01-15 20:55:51 +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 |