Daniel Marjamäki
|
6b2bab535b
|
CLI,LIB: Added --std setting for GTK
|
2013-06-29 12:55:24 +02:00 |
Daniel Marjamäki
|
ba23b65179
|
Fixed #4885 (FP Uninitialized variable when using comma)
|
2013-06-29 09:33:51 +02:00 |
Daniel Marjamäki
|
6997d38881
|
Uninitialized variables: fixed false positive in while loop
|
2013-06-27 18:28:00 +02:00 |
Daniel Marjamäki
|
6b01d2d5a8
|
Fixed #4747 (Can not find uninitialized variable (variable used in rhs in assignment))
|
2013-06-27 16:53:15 +02:00 |
Daniel Marjamäki
|
da9e3b4f01
|
TestTokenizer: Added test cases for simplifyKnownVariables
|
2013-06-26 21:47:03 +02:00 |
Daniel Marjamäki
|
c389e08353
|
Fixed #4728 (simplify known variables better (%var% & %num%, bitwise and))
|
2013-06-26 18:13:28 +02:00 |
Daniel Marjamäki
|
2265c61734
|
Fixed #4879 (false positive: uninitialized variable in inner for inside while (regression))
|
2013-06-26 17:02:57 +02:00 |
Zachary Blair
|
a381170886
|
Fixed #4874 (Minor spelling corrections)
|
2013-06-26 00:47:02 -07:00 |
Daniel Marjamäki
|
7dd07472c1
|
Fixed #4530 (Tokenizer: improved simplification of strlen in calculation)
|
2013-06-25 20:10:40 +02:00 |
Daniel Marjamäki
|
cfd960d794
|
Fixed #3765 (false negative: unitialized variable)
|
2013-06-25 18:40:41 +02:00 |
Simon Martin
|
75c8dcc664
|
Fixed #4873 (Preprocessor: Cppcheck is unable to scan a file with a single quote in a comment inside assembler section)
|
2013-06-25 06:45:11 +02:00 |
Lucas Manuel Rodriguez
|
d6be4559cd
|
Fixed #4840 (false negative: buffer access out of bounds)
|
2013-06-25 06:37:51 +02:00 |
Alexander Mai
|
5a9975bbdd
|
Fixed #4869 (segmentation fault in Tokenizer::simplifyStructDecl (invalid code))
|
2013-06-22 14:05:49 +02:00 |
Daniel Marjamäki
|
bfc40ffe9f
|
Fixed #4868 (Segmentation fault in Preprocessor::handleIncludes())
|
2013-06-21 20:10:46 +02:00 |
Daniel Marjamäki
|
e4270bab78
|
Fixed #4863 (macros not propagated)
|
2013-06-19 21:29:39 +02:00 |
Andreas Bießmann
|
9b3a8774c5
|
Test case for unreachableCode (#4756)
|
2013-06-18 06:40:43 +02:00 |
Daniel Marjamäki
|
2fb8133e90
|
Fixed #4862 (False positive: Comma is used in return statement (template))
|
2013-06-18 00:13:45 +02:00 |
Alexander Mai
|
0be1892b92
|
Fixed #4806 (Crash in Type::initBaseInfo() in clang testcode)
|
2013-06-16 21:46:01 +02:00 |
Daniel Marjamäki
|
8ac2b4d516
|
Travis: Fixed failing test
|
2013-06-16 16:53:09 +02:00 |
Daniel Marjamäki
|
d3d7808a06
|
Fixed #4834 (FreeType: incorrect array boundary analysis)
|
2013-06-16 15:41:13 +02:00 |
Daniel Marjamäki
|
a9bd6cf3df
|
Fixed #4857 (False Positive: function argument hides enumerator of same type)
|
2013-06-16 08:13:41 +02:00 |
Abhishek Bharadwaj
|
d85c8e6782
|
Fixed #4104 (New check: comma separated statements in return statement from a function)
|
2013-06-15 17:49:10 +02:00 |
Daniel Marjamki
|
03f28e9c65
|
Fixed #4668 (Tokenizer: improve handling of 'if (x) MACRO() { ..')
|
2013-06-15 14:40:05 +02:00 |
Daniel Marjamäki
|
15c92384f4
|
Fixed #4851 (Preprocessor: problem when using #ifndef symbol in the code)
|
2013-06-15 12:08:18 +02:00 |
Daniel Marjamäki
|
722bfe7197
|
Fixed #4553 (Wrong calculation of known values)
|
2013-06-14 18:51:52 +02:00 |
Daniel Marjamäki
|
eac4ebf185
|
astyle formatting
|
2013-06-14 07:22:46 +02:00 |
Daniel Marjamäki
|
ae36472a1b
|
Fixed #4778 (FP: Uninitialized variable: av)
|
2013-06-14 07:21:53 +02:00 |
Robert Reif
|
870d29944b
|
Fixed #4852 (false positive: Member variable 'A::sz' is not initialized in the constructor)
|
2013-06-14 06:32:26 +02:00 |
Daniel Marjamäki
|
cd5e32446f
|
Fixed #4641 (False positive: Address of local auto-variable assigned to a function parameter)
|
2013-06-13 16:19:19 +02:00 |
PKEuS
|
876e9c0039
|
Fixed issue on C++11 right angle brackets (#4832)
|
2013-06-12 13:43:29 -07:00 |
Daniel Marjamäki
|
c4763b9010
|
Fixed #4463 (false positive: (style) Variable 'CHDERR_NOT_OPEN' hides enumerator with same name)
|
2013-06-12 06:45:26 +02:00 |
PKEuS
|
4efccc2c5d
|
Fixed #4420: Prefix increment is only suspicious, if its return value is not used.
|
2013-06-10 13:02:02 -07:00 |
Zachary Blair
|
28c0045f36
|
Fixed #4173: New check: arithmetical usage of inf/nan result
|
2013-06-09 23:13:08 -07:00 |
Daniel Marjamäki
|
4e816e2edf
|
astyle formatting
|
2013-06-09 16:04:59 +02:00 |
Daniel Marjamäki
|
616a693f1f
|
Merge pull request #139 from JustRamires/master
Ticket #4694
|
2013-06-08 07:46:08 -07:00 |
Daniel Marjamki
|
4e09b06bc1
|
Fixed #4827 (allow checking multiple configurations when using -D by also using --max-configs or --force)
|
2013-06-08 16:46:54 +02:00 |
Roman Zaytsev Borisovich
|
4610b135dc
|
Fixed #4694
|
2013-06-07 10:37:33 +04:00 |
Daniel Marjamäki
|
10849e220b
|
Fixed #4809 (Review CheckNullPointer::parseFunctionCall)
|
2013-06-07 06:37:53 +02:00 |
Daniel Marjamäki
|
9eac4489ac
|
Fixed #4838 (False positive for ... seems to be invalid)
|
2013-06-06 12:44:19 +02:00 |
Frank Zingsheim
|
f5a3492e3a
|
astyle formatting
|
2013-06-05 22:19:37 +02:00 |
Frank Zingsheim
|
aa25d1e0af
|
Fixed #4837 (False positive: Assert statement calls a function which may have desired side effects (local variable))
|
2013-06-05 22:10:43 +02:00 |
Daniel Marjamäki
|
dec520c507
|
Tokenizer::simplifyEnum: Fixed false positives
|
2013-06-04 21:18:20 +02:00 |
Daniel Marjamäki
|
8b5792a0f8
|
Tokenizer::simplifyEnum: Fixed internalErrors when building with compiled patterns.
|
2013-06-04 18:57:46 +02:00 |
Daniel Marjamäki
|
fa1fd31667
|
Tokenizer::simplifyEnum: Improved handling of shadow variables
|
2013-06-04 06:51:01 +02:00 |
Daniel Marjamäki
|
8954cc0984
|
Fixed #4280 (Tokenizer::simplifyEnum: don't simplify shadow variables)
|
2013-06-03 19:18:51 +02:00 |
Daniel Marjamäki
|
2d955bb9a6
|
Uninitvar: Added TODO test case for false negatives. Related with #4652
|
2013-06-02 18:26:03 +02:00 |
Daniel Marjamäki
|
a7da65a40b
|
Fixed #4618 (Unmatched suppression: don't show this information message unless --enable=information or --check-cfg is used)
|
2013-05-31 15:20:58 +02:00 |
Daniel Marjamäki
|
065853a59a
|
Fixed #4652 (False positive: variable value tracking into loop body)
|
2013-05-29 16:16:12 +02:00 |
Daniel Marjamäki
|
a861817a01
|
Fixed #4751 (CheckBufferOverrun: better handling when struct member instance doesn't have same varid as struct member declaration)
|
2013-05-28 16:52:23 +02:00 |
Daniel Marjamäki
|
ae7363fe54
|
Fixed #4599 (False positive with fopen/fclose test)
|
2013-05-23 06:34:22 +02:00 |
Daniel Marjamäki
|
1936eb8676
|
astyle formatting
|
2013-05-21 16:59:58 +02:00 |
Robert Reif
|
2c8360c607
|
Fixed #4789 (uninitMemberVar not found when constructor contains default parameters)
|
2013-05-18 18:33:24 +02:00 |
Frank Zingsheim
|
0943fecf03
|
Fixed #4799 (Segmentation fault in K&R simplification inside lambda expression)
|
2013-05-14 20:56:31 +02:00 |
PKEuS
|
b58e1241dc
|
Distinguish between different swprintf overloads. (#4790)
Fixed MSVC warning recently introduced
|
2013-05-14 02:06:16 -07:00 |
PKEuS
|
1903585ea3
|
Fixed bug in handling rvalue references: Scope has to be set everywhere. (#4732)
|
2013-05-14 01:43:32 -07:00 |
Frank Zingsheim
|
511f8a4c1f
|
More general fix to #4187 (False positive: Variable inside a lambda is reported as uninitialized)
|
2013-05-12 10:19:43 +02:00 |
Frank Zingsheim
|
d387e8b770
|
Fixed #4711: (false positive: Consecutive return...)
|
2013-05-11 17:50:59 +02:00 |
Daniel Marjamäki
|
b6bcdf2936
|
Fixed #4520 (segmentation fault of cppcheck (preprocessing))
|
2013-05-09 18:50:24 +02:00 |
PKEuS
|
fb480ebb0a
|
Now really fixed #4604.
|
2013-05-09 15:39:33 +02:00 |
PKEuS
|
881b47e79d
|
Revert "Improved handling of 0 initializations (#4604)"
This reverts commit 1201e417ec .
|
2013-05-09 15:32:02 +02:00 |
PKEuS
|
0a104c40b7
|
Fixed "Improved handling of 0 initializations (#4604)"
This fixes commit 1201e417ec .
|
2013-05-09 15:25:36 +02:00 |
PKEuS
|
982b9491d4
|
Improved handling of 0 initializations (#4604)
|
2013-05-09 06:23:25 -07:00 |
PKEuS
|
c42b89fb88
|
Revert "Improved handling of 0 initializations (#4604)"
This reverts commit 1201e417ec .
|
2013-05-09 15:19:23 +02:00 |
PKEuS
|
1201e417ec
|
Improved handling of 0 initializations (#4604)
|
2013-05-09 06:17:10 -07:00 |
Daniel Marjamäki
|
cbe0a0825c
|
Fixed #4725 (Tokenizer: Replace block declaration (^{}) with asm())
|
2013-05-09 14:47:18 +02:00 |
XhmikosR
|
f32aa89da3
|
run tabspace
|
2013-05-08 18:36:47 +02:00 |
Lena Herscheid
|
e23038c4de
|
Fixed #4775 (Check for assert() with side effects)
|
2013-05-07 21:35:16 +02:00 |
Frank Zingsheim
|
bca751b9f4
|
Fixed #4773 (Regression: wrong detection of unitialized variable)
|
2013-05-06 18:45:00 +02:00 |
Daniel Marjamäki
|
4659745106
|
Fixed #4786 (segfault with one LibreOffice file)
|
2013-05-06 16:56:34 +02:00 |
Daniel Marjamäki
|
3f5a858800
|
dmake: update Makefile
|
2013-05-05 09:22:04 +02:00 |
Daniel Marjamäki
|
ea60c5b14b
|
CheckBufferOverrun: Code cleanup
|
2013-05-05 08:14:19 +02:00 |
Daniel Marjamäki
|
079d22fbee
|
Fixed #4734 (False 'Possible null pointer dereference')
|
2013-05-03 16:18:44 +02:00 |
Zachary Blair
|
de8ee5b042
|
Fixed #4554 (false negative: buffer access out of bounds)
|
2013-05-02 21:50:48 -07:00 |
Daniel Marjamäki
|
bfb1bc50e3
|
Fixed #4760 (false negative: (error) usage of uninitialized variable (struct member))
|
2013-05-02 20:34:15 +02:00 |
Alexander Mai
|
957e0790c6
|
Tokenizer::setVarId: assert that strange code with same type names and variable names work. Ticket: #3990
|
2013-05-01 18:50:35 +02:00 |
Daniel Marjamäki
|
44cb070e13
|
Fixed #4737 (False positive: Uninitialized variable 'do_something(&((char*)&var)[0],1);')
|
2013-05-01 13:52:28 +02:00 |
Frank Zingsheim
|
42068a3d60
|
Fixed #4767 (segmentation fault in expand template)
|
2013-05-01 13:28:01 +02:00 |
Daniel Marjamäki
|
287782a679
|
Fixed #4390 (False alarm 'Object pointed by an auto_ptr is destroyed using operator delete. You should not use auto_ptr for pointers obtained with operator new[].')
|
2013-05-01 11:11:57 +02:00 |
Daniel Marjamäki
|
b2798e929d
|
Improved fix for #4455, no false negatives if variable is used before first memset
|
2013-04-30 16:56:44 +02:00 |
Daniel Marjamäki
|
cf75e2bb28
|
astyle formatting
|
2013-04-30 06:44:50 +02:00 |
Daniel Marjamäki
|
47ef8cf455
|
Fixed #4455 (redundantCopy when precleaning with memset)
|
2013-04-30 06:43:16 +02:00 |
Baris Demiray
|
548dd42aaf
|
Fixed #933 (Leaks with struct members not detected)
|
2013-04-26 16:11:57 +02:00 |
Zachary Blair
|
35668380cf
|
Fixed #4510 (False positive: "Possible null pointer dereference if the default parameter value is used" after init)
|
2013-04-25 00:25:56 -07:00 |
Daniel Marjamäki
|
c3d1274db3
|
Reverted 'simplify NOT' since there are problems related to signedness of numeric values.
|
2013-04-24 06:32:34 +02:00 |
Daniel Marjamäki
|
e1dd14626c
|
Fixed #4735 (FP: Mismatching assignment and comparison)
|
2013-04-23 06:47:15 +02:00 |
Daniel Marjamäki
|
a5b044a6e2
|
Fixed #4754 (False positive: Map literals trigger redundant code warning)
|
2013-04-20 07:51:44 +02:00 |
Daniel Marjamäki
|
9f8ce6f77f
|
Fixed #4729 (Tokenizer::setVarId: Varid not tracked properly after function declaration with 'shadow' parameter name)
|
2013-04-19 18:36:16 +02:00 |
Daniel Marjamäki
|
8d9ad2ae0d
|
TestTokenizer: Renamed test functions so they match the function names used in the Tokenizer (simplifyRoundCurlyParentheses)
|
2013-04-19 06:42:09 +02:00 |
Daniel Marjamäki
|
e3be600479
|
TestTokenizer: Renamed test functions so they match the function names used in the Tokenizer
|
2013-04-18 16:13:58 +02:00 |
Daniel Marjamäki
|
80cb2a9b20
|
Updated TestUninitVar test cases. They should not have unsimplified code.
|
2013-04-17 21:06:19 +02:00 |
Daniel Marjamäki
|
4e65800adf
|
TestRunner: Updated warning message when there is unsimplified code
|
2013-04-16 16:54:19 +02:00 |
Daniel Marjamäki
|
fdac502c39
|
Simplified TestNullPointer test cases
|
2013-04-15 19:00:15 +02:00 |
Daniel Marjamki
|
9007345221
|
Simplified TestOther test cases
|
2013-04-13 20:17:53 +02:00 |
Daniel Marjamäki
|
37a87d2f9d
|
Simplified TestClass test cases
|
2013-04-13 19:11:07 +02:00 |
Daniel Marjamäki
|
dd6a806ada
|
TestBoost: Warn if test case is not simplified properly
|
2013-04-13 18:42:56 +02:00 |
Daniel Marjamäki
|
8c6637c79c
|
TestBool: Warn if test case is not simplified properly
|
2013-04-13 18:41:06 +02:00 |
Daniel Marjamäki
|
25582dbde7
|
Simplify TestAutoVariables test cases
|
2013-04-13 18:38:15 +02:00 |
Daniel Marjamäki
|
b42ec0fe8b
|
Simplify TestAssignIf test cases (else if)
|
2013-04-13 18:23:53 +02:00 |
Daniel Marjamäki
|
393c75af70
|
Simplified remaining TestBufferOverrun test cases
|
2013-04-13 15:49:15 +02:00 |
Daniel Marjamäki
|
cbe2cdafcf
|
Simplify TestBufferOverrun test cases (casts, pointer addition, calculation)
|
2013-04-13 13:58:21 +02:00 |