Daniel Marjamäki
|
6bb6506ce2
|
checkZeroDivisionOrUselessCondition: Fixed false positive when function is called and variable is passed to it
|
2013-09-07 16:18:11 +02:00 |
Daniel Marjamäki
|
08556d071e
|
Fixed #5016 (false negative: condition is always true / comparing boolean result with '<' (x > -1 < 5))
|
2013-09-07 11:32:11 +02:00 |
Daniel Marjamäki
|
83c460fc56
|
Fixed #5017 (New check: division by zero, otherwise condition is redundant)
|
2013-09-07 07:40:10 +02:00 |
Daniel Marjamäki
|
40c5924292
|
CheckIO: Handle classes derived from STL
|
2013-09-07 07:20:06 +02:00 |
Robert Reif
|
489a3a6e53
|
Fixed #5015 (strings not being concatinated properly)
|
2013-09-06 05:36:33 +02:00 |
Daniel Marjamäki
|
9000c233fa
|
Fixed #5012 (Hang when there is syntax error 'else }')
|
2013-09-05 06:38:07 +02:00 |
Robert Reif
|
2fe91e290c
|
CheckIo: Improved %d handling
|
2013-09-05 06:04:41 +02:00 |
Robert Reif
|
921a1aaa4f
|
CheckIO: Improved handling of %u
|
2013-09-05 01:46:58 +02:00 |
Daniel Marjamäki
|
3b8e9f5a2a
|
Fixed #4899 (False positive on unused variable)
|
2013-09-03 17:02:46 +02:00 |
PKEuS
|
05af4f82ce
|
Test GetShowErrorMessages in testcmdlineparser.cpp
|
2013-09-03 11:41:16 +02:00 |
PKEuS
|
b36a887608
|
Fixed false positive #5004
|
2013-09-03 10:54:10 +02:00 |
PKEuS
|
6b47ed414a
|
Fixed Function::retDef initialization:
- Move/Copy Constructors and Destructors do not have a return type neither
- Fixed crash in SymbolDatabase::printOut
- Added testing
|
2013-09-03 10:48:01 +02:00 |
Daniel Marjamäki
|
5d7518aa57
|
simplifyCalculations: Improved handling of casts (#4899)
|
2013-09-03 06:27:11 +02:00 |
Robert Reif
|
0dddd424a4
|
CheckIO: Improved handling of function return type
|
2013-09-03 05:50:19 +02:00 |
Daniel Marjamäki
|
6819f5ed18
|
Fixed #4860 (Segfault with another Clucene file)
|
2013-09-02 05:58:55 +02:00 |
Daniel Marjamäki
|
a781a83822
|
Preprocessor: Quicker response for --check-config. No 'normal' code is needed so skip it.
|
2013-09-01 07:13:48 +02:00 |
Robert Reif
|
8790f6d73f
|
Fixed #4999 (Crash with simple code snipped in rev ab30fa3 )
|
2013-08-31 18:58:55 +02:00 |
Robert Reif
|
05f2f0e419
|
CheckIO: improved type info - keep track of original typename.
|
2013-08-31 06:26:39 +02:00 |
Lucas Manuel Rodriguez
|
92b7280d13
|
Fixed #4995 (False positive - Using 'memset' on class that contains a virtual method) - Better fix
|
2013-08-30 22:06:20 -03:00 |
Lucas Manuel Rodriguez
|
c26674dc97
|
Fixed #4995 (False positive - Using 'memset' on class that contains a virtual method)
|
2013-08-30 08:46:33 -03:00 |
Daniel Marjamäki
|
4a1d1ce1a1
|
Fixed #3471 (Unused functions: take __attribute__((constructor)) in to consideration)
|
2013-08-30 06:27:46 +02:00 |
Robert Reif
|
fc435ae9aa
|
CheckIO: fix false negative for a function in a base class not being found, fix false positives and negatives for std::vector operator []
|
2013-08-30 05:41:59 +02:00 |
Lucas Manuel Rodriguez
|
acd65a6829
|
Fixed #4991: False Positive - Dangerous usage of 'arr' (not null-terminated)
|
2013-08-29 08:12:05 -03:00 |
Robert Reif
|
2950eb08cb
|
CheckIO: fix some %I64 related false positives. Ticket: #4964
|
2013-08-29 05:49:16 +02:00 |
Daniel Marjamäki
|
3bd1d53c75
|
Fixed #4941 (segmentation fault (invalid code) in Tokenizer::setVarId)
|
2013-08-28 19:52:41 +02:00 |
Daniel Marjamäki
|
2eca0a93a7
|
Fixed #4733 (defective unusedStructMember warning)
|
2013-08-28 06:46:32 +02:00 |
Robert Reif
|
5c3315db7a
|
CheckIO: improved handling of functions returning pointers. Ticket: #4964
|
2013-08-28 05:57:40 +02:00 |
Daniel Marjamäki
|
5d7ebadf25
|
Fixed ¤4596 (False positive, Variable 'value' is not assigned a value (x = x >> value))
|
2013-08-27 15:57:38 +02:00 |
Daniel Marjamäki
|
4189d7db46
|
test
|
2013-08-27 06:47:06 +02:00 |
Robert Reif
|
228f6b1a87
|
Fixed #4984 (False positive: (warning) %f in format string (no. 1) requires a floating point number given in the argument list.)
|
2013-08-27 05:46:09 +02:00 |
Daniel Marjamäki
|
80093f0a40
|
Fixed #4689 (False positive: Unused private function (used in default argument of constructor))
|
2013-08-26 16:41:23 +02:00 |
Robert Reif
|
a1b9bb0688
|
CheckIO: Fix false positives for functions returning unknown types and false negatives for functions returning record types
|
2013-08-26 06:03:26 +02:00 |
Alexander Mai
|
450442287c
|
Fixed #4974 (CheckBufferOverrun::writeOutsideBufferSize() too strict)
|
2013-08-25 18:46:07 +02:00 |
Daniel Marjamäki
|
acdbbeee44
|
Fixed #4913 (Tokenizer::simplifyKnownVariables: wrong handling of *--p=0;)
|
2013-08-25 08:54:33 +02:00 |
Robert Reif
|
3d9383aabb
|
Fixed #4975 (False positive: (warning) %s in format string (no. 3) requires a char* given in the argument list. (git/column.c))
|
2013-08-25 08:32:10 +02:00 |
Robert Reif
|
3c6ca35e09
|
Fixed #4977 (improve platform type tokenize performance)
|
2013-08-25 08:29:24 +02:00 |
Daniel Marjamäki
|
b20f44cf6a
|
Merge pull request #167 from simartin/ticket_4450
Fix Ticket #4450
|
2013-08-24 14:12:44 -07:00 |
Robert Reif
|
26de3646e9
|
CheckIo: Revised patch that fixes bug in class function return type. Ticket: #4964
|
2013-08-24 22:34:52 +02:00 |
Simon Martin
|
b713a69b30
|
Ticket #4450: Handle comma separated static variable declarations with initializers in brackets.
|
2013-08-24 22:27:54 +02:00 |
Lucas Manuel Rodriguez
|
a70b0cd0f3
|
Fixed FP: Null pointer dereference
|
2013-08-24 16:50:19 -03:00 |
Daniel Marjamäki
|
5ce7189bc0
|
Merge pull request #166 from last5bits/ticket4213
Fixing #4213 arrayIndexThenCheck and adding tests
|
2013-08-23 22:36:30 -07:00 |
Robert Reif
|
01fd156852
|
CheckIO: Start to add checking of function return types. Ticket: #4964
|
2013-08-24 07:25:50 +02:00 |
Alexey Zhikhartsev
|
d24a321ba2
|
Fixing #4213 arrayIndexThenCheck and adding tests
|
2013-08-23 19:04:01 +04:00 |
Daniel Marjamäki
|
9b4f6a6b3d
|
Fixed #4701 (false positive unusedFunction when using templates)
|
2013-08-23 06:47:52 +02:00 |
Robert Reif
|
5ce1933687
|
CheckIo: handle more complex variables
|
2013-08-23 05:35:57 +02:00 |
Alexander Mai
|
7fc6b1344b
|
Added testcases for #4801 (Cppcheck fails to parse Posix (crash in CheckOther::checkPipeParameterSize()))
|
2013-08-22 21:33:02 +02:00 |
Alexander Mai
|
986ec42d79
|
Fixed #4937 (false positive: Assert calls a function which may have desired side effects)
|
2013-08-22 06:38:54 +02:00 |
Daniel Marjamäki
|
c96586b2a9
|
"automatic conversion from iso-8859-1 formatting to utf-8"
|
2013-08-21 19:31:01 +00:00 |
Daniel Marjamäki
|
ef086ee4a9
|
Merge pull request #164 from last5bits/master
Don't include tinyxml from both lib.pri and test.pro
|
2013-08-21 07:24:56 -07:00 |
Daniel Marjamäki
|
f257c62858
|
Fixed #4846 (false positive: (warning) Comparison of a boolean with an integer.)
|
2013-08-21 16:17:19 +02:00 |