Daniel Marjamäki
|
8e94e2261b
|
Comparing bool with int: Fixed false positives
|
2011-12-23 19:11:51 +01:00 |
PKEuS
|
8213a15b2a
|
improving checkSizeofForStrncmpSize
|
2011-12-23 18:11:34 +01:00 |
Daniel Marjamäki
|
e9d697b636
|
Fixed #3419 (false positive: (style) Same expression on both sides of '&'.)
|
2011-12-23 16:08:53 +01:00 |
PKEuS
|
409364747c
|
Fixed #3441 (segmentation fault of cppcheck (%: return ; ()))
|
2011-12-23 12:46:59 +01:00 |
Daniel Marjamäki
|
df8504f0ea
|
Clarify calculation: Fixed false positives when there are various function calls
|
2011-12-23 12:13:39 +01:00 |
Daniel Marjamäki
|
ba5558748d
|
Uninitialized variables: Fixed false 'dangerous usage of strncpy' positive when resulting string is used by strncpy
|
2011-12-23 08:44:28 +01:00 |
Reijo Tomperi
|
70c4bb54b4
|
Refactoring: Split long function in tokenizer.
simplifyTemplatesInstantiate()
|
2011-12-22 23:13:45 +02:00 |
Reijo Tomperi
|
1c12d04d0d
|
Refactoring: Make a 300 line function a little smaller.
simplifyTemplatesInstantiate()
|
2011-12-22 22:39:15 +02:00 |
Marek Zmysłowski
|
4b4f201b79
|
Fixed #3437 (segmentation fault of cppcheck)
|
2011-12-22 07:28:28 +01:00 |
Daniel Marjamäki
|
deccb1df06
|
Fixed #3433 (False positive: Same iterator is used with both myVector and myMap)
|
2011-12-21 06:16:06 +01:00 |
Daniel Marjamäki
|
fd0d9c8694
|
CheckOther: Added line break to make the code more readable
|
2011-12-20 20:54:14 +01:00 |
Daniel Marjamäki
|
f8181df340
|
Fixed #3410 (Comparing bool against bool produces false positive)
|
2011-12-20 06:38:05 +01:00 |
PKEuS
|
6dc2a6e7ab
|
Refactorized CheckUnusedVar
|
2011-12-18 20:15:41 +01:00 |
PKEuS
|
b6b97fa43d
|
Fixed #3427 (False positive: (error) Dangerous usage of c_str(). The returned value by c_str() is invalid after this call.)
|
2011-12-18 19:44:38 +01:00 |
PKEuS
|
0205582161
|
Fixed #3327 (printf with std::string as parameter)
|
2011-12-18 19:41:21 +01:00 |
Daniel Marjamäki
|
1ba1be4b8d
|
Fixed #3428 (false negative: array bounds errors not found when duplicate class names present)
|
2011-12-18 16:35:51 +01:00 |
Daniel Marjamäki
|
2bb5de4c89
|
Fixed #3425 (False positive: Null pointer dereference (pointer is checked in macro))
|
2011-12-18 13:33:23 +01:00 |
Daniel Marjamäki
|
772b8cc37d
|
Array index out of bounds: Avoid false positives when there are duplicate names for structs
|
2011-12-18 08:12:42 +01:00 |
Daniel Marjamäki
|
83cdf734fe
|
Tokenizer: The tokenizer didn't handle '0x0E-7' correctly
|
2011-12-18 07:37:20 +01:00 |
Daniel Marjamäki
|
5f712cc213
|
Array index out of bounds: Fixed false positive when taking address beyond array using calculated array index
|
2011-12-17 21:35:12 +01:00 |
OGAWA KenIchi
|
3e9d8e6ae1
|
Fixed #3422 (Internal error in exceptRethrowCopy check)
|
2011-12-17 20:00:15 +01:00 |
Daniel Marjamäki
|
d21ca7881c
|
Fixed #3424 (Tokenizer: doesn't tokenize if-if-else-else correctly)
|
2011-12-17 19:05:14 +01:00 |
PKEuS
|
f306246c7f
|
Improved support for references and pointers in SymbolDatabase
Replaced several isPointer functions by Variable::isPointer function
Refactorizations & Make use of symbolDatabase more often
|
2011-12-17 19:04:03 +01:00 |
Daniel Marjamäki
|
f09a5b408b
|
Uninitialized variables: Fixed false positives when sizeof is used in condition. Ticket: #3369
|
2011-12-17 16:08:55 +01:00 |
Daniel Marjamäki
|
322f46c761
|
Fixed #3426 ((error) Invalid number of character ({) when these macros are defined:)
|
2011-12-17 15:23:55 +01:00 |
Daniel Marjamäki
|
95123854ba
|
Array index out of bounds: Fixed false positive when size is not known.
|
2011-12-17 13:20:42 +01:00 |
Daniel Marjamäki
|
e008a0508b
|
Null pointers: Fixed false positive when sizeof without parentheses are used
|
2011-12-17 12:44:11 +01:00 |
PKEuS
|
4abee3a345
|
Refactorings. Use reportError instead of reportInconclusiveError.
|
2011-12-17 11:39:20 +01:00 |
PKEuS
|
009471f4ee
|
Refactorizations for executionpath.cpp (rearranged code, added some else before if)
|
2011-12-17 11:26:20 +01:00 |
PKEuS
|
2fa0168e55
|
Patch that improves STL checking: Make use of SymbolDatabase, solved TODO (about returning .c_str() value), check for deleting iterators by value.
|
2011-12-17 11:21:34 +01:00 |
Daniel Marjamäki
|
fe8393aafc
|
Uninitialized variables: Fixed false positives in sizeof. Ticket: #3369
|
2011-12-17 09:51:45 +01:00 |
Daniel Marjamäki
|
dfedb920f8
|
Uninitialized variables: Fixed false positive when address of variable is taken inside = { .. }. Ticket: #3369
|
2011-12-17 07:56:46 +01:00 |
Daniel Marjamäki
|
0572321572
|
Fixed #3423 (Uninitialized variable in operator>>)
|
2011-12-16 20:34:44 +01:00 |
Daniel Marjamäki
|
5f1fadec7b
|
Uninitialized variables: Fixed false positives when many 'if' are used. Ticket: #3369
|
2011-12-16 19:56:32 +01:00 |
PKEuS
|
a311904a0f
|
Patch that fixes some bailouts for isEnabled('style') in both directions. Improved checkSizeofForNumericParameter's error message, made it 'warning', made it non-experimental.
|
2011-12-16 19:21:14 +01:00 |
Daniel Marjamäki
|
1f329d7b41
|
Uninitialized variables: Fixed false positive for x 'a[x=1]'. Ticket: #3369
|
2011-12-16 18:12:47 +01:00 |
Daniel Marjamäki
|
e723ef0569
|
Uninitialized variables: Fix false positives for '= { .. }'. Ticket: #3369
|
2011-12-16 18:04:10 +01:00 |
Daniel Marjamäki
|
d2d7e25f3f
|
Uninitialized variables: Fixed false positive in for condition. Ticket: #3369
|
2011-12-15 20:48:26 +01:00 |
Daniel Marjamäki
|
40f2f4f7f6
|
Uninitialized variables: Fixed false positives when there are assembler code. Ticket: #3369
|
2011-12-15 20:29:57 +01:00 |
PKEuS
|
e5427fe487
|
Fixed #3048, further improvements to const correctness check.
|
2011-12-15 20:18:52 +01:00 |
Daniel Marjamäki
|
167530bf60
|
Uninitialized variable: Fixed test failure. Ticket: #3369
|
2011-12-15 20:15:37 +01:00 |
Daniel Marjamäki
|
f797307edc
|
Uninitialized variables: Fix false positive if variable is used after return (goto). Ticket: #3369
|
2011-12-15 20:05:11 +01:00 |
Daniel Marjamäki
|
10228881c7
|
Uninitialized variables: Fixed false positives when taking address. Ticket: #3369
|
2011-12-15 19:38:06 +01:00 |
Daniel Marjamäki
|
fd78816181
|
Fixed #3418 (preprocessor define assignment not propagated)
|
2011-12-15 18:49:35 +01:00 |
Daniel Marjamäki
|
6221145be8
|
Fixed #3414 (false positive: (error) Uninitialized variable: SOutput)
|
2011-12-15 18:30:59 +01:00 |
Daniel Marjamäki
|
005b1cff61
|
Fixed #3417 (False positive: Uninitialized variable when conditionally set)
|
2011-12-15 18:15:58 +01:00 |
Daniel Marjamäki
|
9e54714894
|
CheckNullPointer::isPointerDeref: better checking if pointer is not dereferenced
|
2011-12-15 17:01:39 +01:00 |
Daniel Marjamäki
|
3a432fa959
|
Uninitialized variables: better handling of initialization with >>. Ticket: #3369
|
2011-12-15 16:55:55 +01:00 |
Daniel Marjamäki
|
b3c35d4b32
|
Fixed #3415 (Segmentation fault in new check for uninitialized variables)
|
2011-12-15 16:49:14 +01:00 |
PKEuS
|
00d6a0e877
|
refactorizations for CheckClass and for less false negatives related to derived classes
|
2011-12-14 21:11:40 +01:00 |