Alexander Mai
|
98d4c944e3
|
#6163 False nullPointer for strtok(NULL, ...). Correct std.cfg
|
2014-09-15 20:57:34 +02:00 |
Daniel Marjamäki
|
bbbe2c1b94
|
Fixed #6169 (False positive: passing uninitialized struct buffer member to strncpy)
|
2014-09-15 15:58:21 +02:00 |
PKEuS
|
cafddcb109
|
Fixed wrong function log10 being recommended instead of log1p
|
2014-09-14 13:36:12 +02:00 |
Daniel Marjamäki
|
d354cdc02c
|
Fixed #6168 (False positive: sign conversion for inner calculation)
|
2014-09-14 10:29:58 +02:00 |
Daniel Marjamäki
|
865a252c89
|
astyle formatting
[ci skip]
|
2014-09-14 10:29:12 +02:00 |
Simon Martin
|
4b750997cb
|
Ticket #6121: Report a syntax error for invalid enum initializers.
|
2014-09-13 20:46:53 +02:00 |
Simon Martin
|
01cf008792
|
Ticket #6134: Improve the mechanism differentiating template declarations from template definitions.
|
2014-09-13 16:44:05 +02:00 |
Dmitry-Me
|
1e298a31cf
|
Refactoring tests. Use utility function to warn about unsimplified code in tests.
|
2014-09-13 12:59:32 +02:00 |
Simon Martin
|
bf3a8686ec
|
Ticket #6164: Added test case that now works (failed in 1.66).
|
2014-09-12 21:56:13 +02:00 |
Daniel Marjamäki
|
8cbd013d7f
|
checkSignConversion: dont warn for + and -
|
2014-09-12 18:58:31 +02:00 |
Daniel Marjamäki
|
0e55f12140
|
Fixed #6165 (Remove old checkUnsignedDivision checker that uses neither AST nor ValueFlow. The CheckType::checkSignConversion should be much more accurate)
|
2014-09-12 16:59:16 +02:00 |
Daniel Marjamäki
|
d60cf16eb8
|
Sign conversion: Improved check. When its not explicit that 'int' variable is signed but it can have negative values, assume its signed
|
2014-09-12 16:18:42 +02:00 |
PKEuS
|
0b7281803e
|
Merge pull request #428 from Dmitry-Me/detectArrowAccessesViaUninitPtrs
Detect -> accesses on uninitialized pointers
|
2014-09-12 09:19:59 +02:00 |
Dmitry-Me
|
a2b30c7801
|
Detect -> accesses on uninitialized pointers
|
2014-09-12 10:19:00 +04:00 |
Daniel Marjamäki
|
7119550dde
|
Too big shift: fix FP when cast is used
|
2014-09-12 06:45:45 +02:00 |
Daniel Marjamäki
|
0ab7abded1
|
AST: fixed cast for 'return (long long)c << 40;'
|
2014-09-12 06:43:52 +02:00 |
PKEuS
|
6f92557478
|
Use information about pure/leak-ignore from library to improve accuracy of several bailouts
|
2014-09-11 20:27:07 +02:00 |
PKEuS
|
fb0d145b34
|
Don't show inconclusive message redundantCopyLocalConst if --inconclusive is not set.
Ran AStyle
|
2014-09-11 19:45:52 +02:00 |
PKEuS
|
87e6a3501a
|
Added checktype.cpp to VS solution; Fixed MSVC warning about signed/unsigned mismatch
|
2014-09-11 18:47:28 +02:00 |
Daniel Marjamäki
|
7847263451
|
Fixed #6158 (New check: dangerous sign conversion)
|
2014-09-11 18:10:19 +02:00 |
PKEuS
|
865fc9aa67
|
Fixed #6154: Don't suggest to reduce scope if inner scope is a lambda.
|
2014-09-10 20:56:34 +02:00 |
PKEuS
|
0a416910c4
|
Improved speed of testrunner: Avoid repeated loading of the same library
|
2014-09-10 20:29:44 +02:00 |
Daniel Marjamäki
|
974c8688c3
|
Fixed #1751 (Undefined Behavior: Signed integer overflow)
|
2014-09-10 17:02:18 +02:00 |
Daniel Marjamäki
|
f111a89639
|
Fixed #1757 (Undefined Behavior: Shift too many bits)
|
2014-09-09 07:24:59 +02:00 |
Dmitry-Me
|
f7824bfd00
|
CheckNullPointer::isPointerDeRef: Improve handling of static member variables and functions
|
2014-09-09 05:36:09 +02:00 |
Frank Zingsheim
|
8c5013adda
|
Fixed #6073
|
2014-09-07 21:53:32 +02:00 |
PKEuS
|
ff4fc6a234
|
New check: Recommend expm1, log1p, erfc (#5392)
|
2014-09-07 11:38:49 +02:00 |
PKEuS
|
4859b55ce6
|
Merge pull request #422 from simartin/ticket_6023
Ticket #6023: Properly handle template'd default template parameter values
|
2014-09-06 22:55:45 +02:00 |
Simon Martin
|
6e10603227
|
Ticket #6023: Properly handle template'd default template parameter values.
|
2014-09-06 20:39:04 +02:00 |
PKEuS
|
35b00a5e05
|
Support rValue references in typedef (#1823)
|
2014-09-06 19:00:26 +02:00 |
Alexander Mai
|
efab840b50
|
#5230 Explicit reinterpret_cast should not give a warning. Lower all invalidPointerCast messages to 'portability'
|
2014-09-06 13:09:02 +02:00 |
Alexander Mai
|
29b46cb505
|
#6132 crash: daca: kvirc CheckOther::checkRedundantAssignment()
|
2014-09-05 20:03:34 +02:00 |
PKEuS
|
e8f7279039
|
Refactorization: Moved detection of STL strings to SymbolDatabase
|
2014-09-05 12:03:08 +02:00 |
Simon Martin
|
eeeb816db9
|
Ticket #6103: Simplify "new (type)" constructs into "new type" to avoid confusion upon certain input.
|
2014-09-05 08:02:18 +02:00 |
amai2012
|
36e53369cb
|
Merge pull request #418 from Dmitry-Me/moreTestsForPointerSign
More test cases for pointer sign detection
|
2014-09-04 22:38:31 +02:00 |
PKEuS
|
8c24553229
|
Support inherited member variables in setVarId (#4101)
|
2014-09-04 22:22:09 +02:00 |
Alexander Mai
|
5a96413220
|
#6127 crash on patch(?)-".c" file. Avoid segfault.
|
2014-09-04 21:28:18 +02:00 |
Daniel Marjamäki
|
05617d7285
|
Fixed #6118 (False positive: divide by zero - if condition not evaluated properly)
|
2014-09-04 17:52:14 +02:00 |
Dmitry-Me
|
7d9342d16a
|
More test cases for pointer sign detection
|
2014-09-04 15:51:18 +04:00 |
Dmitry-Me
|
01529f79ac
|
Better bracing and variable name
|
2014-09-04 12:18:26 +04:00 |
Alexander Mai
|
270f59e76a
|
Fix doxygen warning and astyle formatting
|
2014-09-03 20:38:41 +02:00 |
PKEuS
|
6d27ca6c9a
|
Fixed SymbolDatabase if unnamed struct is casted and returned (#6125)
|
2014-09-03 11:15:05 +02:00 |
Alexander Mai
|
a632f68345
|
#6122 segmentation fault (invalid code) in in valueFlowForLoop2. Simple fix and testcase.
|
2014-09-02 19:41:50 +02:00 |
PKEuS
|
4e9b145727
|
Added unit test for #3392
|
2014-09-02 12:03:05 +02:00 |
PKEuS
|
3e65cb446e
|
Remove "auto" keyword (storage class specifier) from C++03 and C code (#4990).
|
2014-09-02 11:21:47 +02:00 |
PKEuS
|
2d608890a5
|
Improved message 'mismatchSize' (#4167)
|
2014-09-02 09:38:40 +02:00 |
PKEuS
|
ddc19febb5
|
Merge pull request #413 from Dmitry-Me/improveCStyleCastsDetection
Improve C style casts detection
|
2014-09-02 08:07:53 +02:00 |
PKEuS
|
00044aabb0
|
Handle ternary operator in redundantAssignment check (#5964)
|
2014-09-01 23:16:52 +02:00 |
Alexander Mai
|
f94e208862
|
#6116 False positive uninitvar - first argument to wcstombs(). Correct stf.cfg
|
2014-09-01 19:53:24 +02:00 |
Alexander Mai
|
a4ff30301a
|
#5805 'Passing value -1.0 to sqrt() leads to undefined result' is incorrect. Degrade wrongmathcall from error to warning, since it deals with implementation-defined behaviour
|
2014-09-01 19:31:32 +02:00 |