Daniel Marjamäki
|
cba11e623e
|
Use ValueType in astIsIntegral()
|
2015-10-11 14:11:11 +02:00 |
Daniel Marjamäki
|
be7bca385d
|
avoid some fixes for noisy signedness warnings
|
2015-10-11 12:50:46 +02:00 |
Daniel Marjamäki
|
40fffddb83
|
avoid some fixes for noisy signedness warnings
|
2015-10-11 12:36:23 +02:00 |
Daniel Marjamäki
|
0aad8af9ae
|
avoid fix for noisy signedness warning
|
2015-10-11 12:22:37 +02:00 |
Daniel Marjamäki
|
ac9cb87e04
|
ValueType: Handle bit operations, sizeof better. Use ValueType in astIsFloat().
|
2015-10-11 12:20:40 +02:00 |
Daniel Marjamäki
|
5b082aa799
|
ValueType: struct member
|
2015-10-11 10:48:08 +02:00 |
Daniel Marjamäki
|
9738cc66eb
|
ValueType: function return type
|
2015-10-11 08:42:31 +02:00 |
Daniel Marjamäki
|
cf179f82b6
|
ValueType: Better handling of wide strings
|
2015-10-11 08:13:30 +02:00 |
Daniel Marjamäki
|
37d9a95ef1
|
CheckIO: Refactoring. Split out CheckIO::checkFormatString() from CheckIO::checkWrongPrintfScanfArguments().
|
2015-10-10 20:08:15 +02:00 |
Daniel Marjamäki
|
0849ad4707
|
ValueType: Better handling of const
|
2015-10-10 08:32:45 +02:00 |
Daniel Marjamäki
|
6545172d8c
|
Revert "Add a dynamic rule enable/disable system"
This reverts commit 231b486e49 .
There was regressions reported in tools/generate_and_run_more_tests.sh.
|
2015-10-09 21:56:19 +02:00 |
Albert Aribaud
|
231b486e49
|
Add a dynamic rule enable/disable system
|
2015-10-09 19:57:05 +02:00 |
PKEuS
|
2eb8492993
|
Fixed crash on garbage code #7034
|
2015-10-09 13:49:17 +02:00 |
PKEuS
|
7d624f2e21
|
Fixed crash on garbage code #7033
|
2015-10-09 13:06:52 +02:00 |
Daniel Marjamäki
|
6d256b01b6
|
CheckIO: Use ValueType::Type::LONGDOUBLE type also
|
2015-10-08 19:52:24 +02:00 |
Daniel Marjamäki
|
a500f6f703
|
Improved handling of 'long double' and address-of in ValueType. Removed Tokenizer::simplifyFloatCasts() to handle float casts better.
|
2015-10-08 19:50:10 +02:00 |
PKEuS
|
3645e3c16b
|
Fixed two TODO unit tests by delaying arraySize simpification until createLink2 is executed
|
2015-10-08 12:52:28 +02:00 |
Daniel Marjamäki
|
be72b7413a
|
ValueType: Handling of originalTypeName
|
2015-10-07 20:24:17 +02:00 |
Daniel Marjamäki
|
c461b58421
|
astyle formatting
[ci skip]
|
2015-10-07 19:50:50 +02:00 |
Daniel Marjamäki
|
604a9acb48
|
ValueType: Handling constness
|
2015-10-07 19:08:26 +02:00 |
PKEuS
|
b7f2f826a4
|
Refactorization: Removed some redundant code
|
2015-10-07 18:40:04 +02:00 |
Daniel Marjamäki
|
db31e22316
|
ValueType: Improved signedness
|
2015-10-07 18:10:48 +02:00 |
PKEuS
|
2e510c8733
|
Added missing include to valueflow.h
|
2015-10-07 14:42:10 +02:00 |
PKEuS
|
50ed47c725
|
Fixed crash on garbage code (#7022)
|
2015-10-07 13:52:06 +02:00 |
PKEuS
|
b634a76fcb
|
Added CPPCHECKLIB to two clases and reverted 30a942af0b
|
2015-10-07 13:38:34 +02:00 |
Daniel Marjamäki
|
f5d9ba9cf3
|
Rewrote the charvar checker. It now uses valueflow also to limit false negatives.
|
2015-10-06 17:30:51 +02:00 |
amai2012
|
88b3d90505
|
#7023 segmentation fault (invalid code) in astIsIntegral. Avoid crash, unfortunately there is no syntax error yet detected.
|
2015-10-06 11:21:31 +02:00 |
Matthias Krüger
|
e99b4319c9
|
astutils: remove unused functions isSignedChar and isChar.
|
2015-10-06 08:27:47 +02:00 |
Daniel Marjamäki
|
2034706033
|
AST: Use AST type in astIsSignedChar
|
2015-10-06 07:13:41 +02:00 |
Daniel Marjamäki
|
b77203a277
|
CheckIO: Handle AST pointer type better
|
2015-10-05 19:59:15 +02:00 |
Daniel Marjamäki
|
b9036c2ca8
|
AST types: Fix for 'long long' handling
|
2015-10-05 19:20:42 +02:00 |
Daniel Marjamäki
|
bc8f1b972e
|
CheckIO: Early return
|
2015-10-05 19:04:29 +02:00 |
Daniel Marjamäki
|
8f6bd7fd0d
|
Fixed #7014 (False positive for printf("%c", "hello"[0]))
|
2015-10-05 10:12:30 +02:00 |
Daniel Marjamäki
|
f35c24d4af
|
SymbolDatabase: Better handling of valuetypes in AST
|
2015-10-04 23:27:58 +02:00 |
Daniel Marjamäki
|
30a942af0b
|
VS: Attempt to fix build problem with VS
|
2015-10-04 22:58:00 +02:00 |
Daniel Marjamäki
|
399cd0c07b
|
SymbolDatabase: Refactoring AST type information
|
2015-10-04 20:32:16 +02:00 |
Daniel Marjamäki
|
9b253612ca
|
SymbolDatabase: Add type information in AST
|
2015-10-04 19:42:58 +02:00 |
Frank Zingsheim
|
3bc21b8138
|
Fixed #6996 (ValueFlow: known and possible values)
|
2015-10-04 10:33:43 +02:00 |
Daniel Marjamäki
|
f5bd00f153
|
Library: return true from Library::isnullargbad() for format string arguments. Related with #7012.
|
2015-10-03 20:51:45 +02:00 |
Daniel Marjamäki
|
28e3c266b3
|
Fixed #7012 (False positive uninitvar - first argument to snprintf)
|
2015-10-03 18:35:16 +02:00 |
Daniel Marjamäki
|
a574fda8a9
|
Fixed #6935 (Wrong duplicate expression)
|
2015-10-03 14:56:24 +02:00 |
Alexander Mai
|
27f72d7ae0
|
#7020 segmentation fault (invalid code) in Tokenizer::simplifyTypedef. #7021 segmentation fault (invalid code) in Tokenizer::simplifyEnum
|
2015-10-03 10:47:23 +02:00 |
Simon Martin
|
0f7e20c11d
|
Ticket #7017: Properly interpret operator= return type for template classes in CheckClass::operatorEq.
|
2015-10-02 23:23:44 +02:00 |
amai2012
|
fde59242bb
|
#7018 segmentation fault (invalid code) in Tokenizer::simplifyEnum
|
2015-10-02 15:33:23 +02:00 |
PKEuS
|
e6467703b2
|
Support cast to ** in Tokenizer::simplifyCasts() (#7005)
|
2015-09-28 16:08:14 +02:00 |
PKEuS
|
590f1f1d66
|
Fixed handling of __asm...__endasm (#6970)
|
2015-09-28 15:43:48 +02:00 |
Thomas Otto
|
7ba69cfd0a
|
sizeofCalculation: skip if void-casted inside a macro (#6888)
|
2015-09-28 14:33:29 +02:00 |
Daniel Marjamäki
|
bd243a4748
|
Fixed #6903 (ValueFlow: Fix FP in ?:)
|
2015-09-27 13:29:28 +02:00 |
Dmitry-Me
|
6304a4dddb
|
Fix FP for members of temporaries
|
2015-09-25 13:57:11 +03:00 |
Dmitry-Me
|
da15efb3f6
|
Fix FN for distinct structs with identical members
|
2015-09-24 18:29:08 +02:00 |